xmms- jukebox v2 (patch)
Robin Gareus <[email protected]>
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Message-ID | <[email protected]> |
hi! refering to mail and patch from 02/18/2004, here is the second version of a "xmms jukebox patch" featuring: a) limit the max length of the playlist b) automatically remove a song after it has been played. c) print the Filename/URL to a FIFO when removing a played song. --- applying the patch (still xmms-1.2.9 - sorry), those features can be enabled in the [xmms] section of the config file: playlist_limit=10 # (a) purge_played=TRUE # (b) -- logtimestamp=FALSE # (c) log_purged=FALSE # (c) purge_logfifo=/tmp/xmms.fifo # (c) setting playlist_limit=0 (default) allows unlimited songs in the playlist. since a playist with only one song does not make sense, max. 'playlist_limit +1' songs can be in the list. "purge_played" removes a song from the list when the EndOfFile is reached, or playlist_next is executed. (eg. by pressing the next-button) If you want them, it should be trivial to add a checkbox and spinbutton in the prefswin. IMHO these options do not need to have those buttons :) since you loose the playlist, when purging songs, you can print the Filename/URL before having it removed from the list. Notes: The FIFO is opened in non-blocking mode. (POSIX compatible??) If there is no process reading from the FIFO, the data ist lost. A simple 'cat /tmp/xmms.fifo >> /tmp/playlist.m3u' works. I also attached a bash/sed/awk/sort scripterl to generate a top-ten. comments welcome robin _______________________________________________ xmms-devel mailing list [email protected] http://lists.xmms.org/mailman/listinfo/xmms-devel
xmms-jukeboxPL.dif.gz
(application/gzip, 1.8 KB) - not displayed