refactoring volgens skill
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
racket/contract
|
||||
rkt-web-player
|
||||
rkt-web-player/player-agent
|
||||
rkt-web-player/set-user
|
||||
rkt-web-player/users))
|
||||
|
||||
@title{RKT Web Player}
|
||||
@@ -77,6 +78,15 @@ Creates a salted Argon2id password hash suitable for a value in the INI
|
||||
Checks a password against an encoded Argon2id hash.
|
||||
}
|
||||
|
||||
@defmodule[rkt-web-player/set-user]
|
||||
|
||||
@defproc[(set-user) void?] {
|
||||
|
||||
Interactively reads a username and password and writes the corresponding
|
||||
Argon2id hash to the @tt{[users]} section of @filepath{rkt-web-player.ini} in
|
||||
the current directory. The password must contain at least twelve characters.
|
||||
}
|
||||
|
||||
@defmodule[rkt-web-player/player-agent]
|
||||
|
||||
@defproc[(run-player-agent) any/c] {
|
||||
@@ -87,8 +97,10 @@ configured RKT Web Player server, downloads assigned tracks over HTTP, and
|
||||
plays them with @tt{racket-audio}. Its configured display name is authoritative
|
||||
and is followed by the server. Importing the module does not start the GUI; the
|
||||
function must be called explicitly.
|
||||
The GUI and optional tray support the same ten languages based on the
|
||||
operating-system language, with English as fallback.
|
||||
The GUI and its @tt{racket-tray} system tray support the same ten languages
|
||||
based on the operating-system language, with English as fallback. Closing or
|
||||
minimizing the window hides it in the tray. The tray menu restores the window
|
||||
or shuts down the agent; no SDL3 runtime is required.
|
||||
}
|
||||
|
||||
@defproc[(run-player-agent-cli [#:server-url server-url
|
||||
|
||||
Reference in New Issue
Block a user