2 Files and playback
procedure
(dlna-player-play! player file) → void?
player : dlna-player? file : path-string?
Reads the file with TagLib, publishes it through the internal HTTP server,
generates matching DIDL-Lite, installs the URI, and starts playback. Missing
titles fall back to the file name. Other missing tags are omitted.
procedure
(dlna-player-set-next-file! player file) → void?
player : dlna-player? file : path-string?
Publishes and preloads the file with SetNextAVTransportURI. Replacing the
next file removes the previous next-file publication.
procedure
(dlna-player-pause! player) → void?
player : dlna-player?
procedure
(dlna-player-resume! player) → void?
player : dlna-player?
procedure
(dlna-player-stop! player) → void?
player : dlna-player?
procedure
(dlna-player-seek! player seconds) → void?
player : dlna-player? seconds : (and/c rational? (not/c negative?))
Seeks using the AVTransport REL_TIME unit.
procedure
(dlna-player-seek-percentage! player percentage) → void? player : dlna-player? percentage : real?
Converts the clamped percentage to seconds using the cached track duration and
then seeks with dlna-player-seek!.