2 nice new features for xmms/media players
I wrote my own media player a while back. It's basically just a playlist window with informative titlebar and statusbar. It works great.
Just recently I added 2 new features to it that I've never seen in any other media players, and I thought I would share them here.
Occasionally I want to just hit ENTER on a track, and have it play just that track and stop. For this I used the '1' key. If I hit the '1' key, a 'PLAY_ONE' flag is toggled. If this flag is set, the player will stop after playing just one track without having to mess with the playlist.
The 2nd (related) feature:
xmms uses z x c v b for rewind, pause, play, stop, and forward. I do too. What I did was bind the V (SHIFT v) to toggle a STOP flag on the track under the cursor. When the player gets to that track, it stops. This is great if, for example, I want it to play all my Chopin tracks as I drift off to sleep, but don't want it to continue on and play all my Clash, thereby waking my wife up in an annoyed state at 2 in the morning.
Peace and Cheer.