information about this package can be found in the README. here is a html-version of the README:
don't know, haven't tried using it in a while. probably needs quite some work. don't expect it to work.
playfs - maintain play list and play audio files
typically mounted under /mnt/play.
/ctl
write commands to, such as "play", "stop", "pause", "next",
"previous", "rewind" "repeat", "norepeat", "random",
"norandom"
/events
read events from, such as "done", "playing $path", "error
$path $error" "stopped" "started"
/list
the playlist. read the entire list from it (each line
contains a path). open with truncate to clear the list,
write to it to add to the list. read back in the order the
elements were written
/status
current status of player: started, stopped, paused, or
playing $path
/offset
offset (in line numbers) in playlist, starts at 0. index
to orderlist. readable and writable.
/orderlist
playlist in order of being played. when playing in "norandom"
order, this will be the same as the contents of /list. when
playing random, this is the shuffled list. note that only
/list is writable, /orderlist is read-only.
make sure you have $ROOT set, now "mk" to compile and "mk install" to install the files.
when building from within inferno, insert SYSHOST=Inferno and ROOT= in the mk invocations to override the values in the mkconfig.
this code is in the public domain, written by mechiel lukkien, reachable at mechiel@ueber.net or mechiel@xs4all.nl.
to clone & pull:
hg clone http://www.ueber.net/hgsrv/playfs/
hg clone static-http://www.ueber.net/who/mjl/hg/playfs/
download a snapshot of the latest version: playfs-11.tgz.
the files in the latest revision can be found at /hg/playfs/files/tip/. a specific revision can be access by replacing "tip" with the revision number, (partial) nodeid or tag name. a few direct links to useful files in the latest revision:
| rev | nodeid | when | diff | why |
|---|---|---|---|---|
| 11 | dc12025277ac | 2 years | diff | add mkconfig and mention it in README. |
| 10 | 7ffd40f00cef | 3 years | diff | reformat to match textmangle "syntax". |
| 9 | 1119e705d0a6 | 3 years | diff | merge? not sure where this came from... |
| 8 | 33e9178c89d1 | 3 years | diff | fix mkfiles for /man & /module |
| 7 | 8164606043b9 | 4 years | diff | play is called wm/playview |
| 6 | 0f2262b245cf | 4 years | diff | make /offset writable for playfs. add volume buttons to wm/playvi... |
| 5 | 8811bfcd52d5 | 4 years | diff | minor shaving. |
| 4 | 1b65496f6909 | 4 years | diff | implement pause, other fixes, some more docs in README. |
| 3 | cfd836fa119c | 4 years | diff | lots of improvements, some new synthesized files to read from mostly. |
| 2 | 08e9de86c60f | 4 years | diff | fix bug: the order for lines added to the playlist wasn't set, res... |
| 1 | f97626352a5b | 4 years | diff | add wm/playview, sh-tk program to control/view what /mnt/play is ... |
| 0 | ab8896770065 | 4 years | - | welcome playfs |