xmms- jukebox (patch)

Robin Gareus <[email protected]>
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <[email protected]>
hi all!

I hope this is the right place to post this to.

so here's a small patch that allows you to

a) limit the max length of the playlist
b) automatically remove a song after it has been played.

to use xmms as a "public jukebox".

feedback welcome.
robin

---
those features can be enabled in the [xmms] section of the config file:

playlist_limit=10
purge_played=TRUE

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 :)

---
notes:

since you loose the playlist, when purging songs, i thought of printing
the filename (before removing it from the list) to some FIFO or named
PIPE... that would allow you to create a played-list or also a top-ten. 
(plugin??)

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.