ini file support and cover art
This commit is contained in:
@@ -16,13 +16,19 @@ with UPnP and Sonos discovery and playback through
|
||||
browser by Racket's web server.
|
||||
|
||||
@defproc[(run-web-player
|
||||
[music-paths (listof path-string?)]
|
||||
[music-paths (listof (or/c path-string?
|
||||
(list/c string? path-string?)))]
|
||||
[#:allowed-agent-ids allowed-agent-ids (listof string?) null]
|
||||
[#:listen-ip listen-ip string? "127.0.0.1"]
|
||||
[#:port port exact-positive-integer? 8080]
|
||||
[#:dlna-port dlna-port exact-positive-integer? 8734]
|
||||
[#:launch-browser? launch-browser? boolean? #t]) any/c] {
|
||||
|
||||
Treats every entry in @racket[music-paths] as a separate music library and
|
||||
Treats every entry in @racket[music-paths] as a separate music library. A
|
||||
two-element list supplies an explicit display name and path. The
|
||||
@racket[allowed-agent-ids] list contains the 64-character application IDs that
|
||||
may register as polling playback agents. All agents are denied when it is empty.
|
||||
The function
|
||||
starts the web interface on @racket[listen-ip] and @racket[port]. Directory
|
||||
contents are browsed one level at a time. Metadata and recursive contents are
|
||||
only read when the user adds or plays a selected item.
|
||||
|
||||
Reference in New Issue
Block a user