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

Discuss client development (or even MPD development if you feel so inclined), ask questions about the client libs, MPD feature requests from client developers, etc...
Post Reply
Posts: 1
Joined: January 18th, 2013, 8:46 am

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

Post by bebraw »


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.

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.
Post Reply