Page 1 of 1

[X] How to change active playlist item without playback?

Posted: January 18th, 2013, 8:50 am
by bebraw
Hi,

I am currently developing a little web based frontend for MPD. I simply use it to maintain a list of internet radio channels and for playback obviously (selecting channel + play/stop).

Is there some nice way to change the currently active playlist item without making MPD to play it? It seems "next" and "previous" commands do this even if the playback has been stopped. This applies for "seek" functionality as well.

EDIT:
Solved! Thanks to qball's help over at IRC we figured it's better to solve this by simply using "play <index>" and maintaining the index information elsewhere. Commands such as playlistid work well for fetching the metadata if needed.