Bugzilla – Bug 4596
CLI custom playback status
Last modified: 2011-11-06 23:25:02 UTC
A useful addition to the CLI would be to say if a player's playing a normal playlist, a dynamic one or a randommix. It would probably need implemented in such a way as to allow plugins to contribute.
for plugins to contribute, it should probably be done through the playlist url/playlist title. Should be possible to see random mix from the title as well?
cc'ing Fred for any comments
I agree in principle but the implementation is complex because we lack the internal plumbing for this: there is no "owner" of the playlist and in fact multiple plugins could be adding stuff to the playlist at the same time, maybe there's a social web 2.0 idea here :). I am not even sure you cannot go and add something using the web interface while randommix is running. So what would the expected result in this case? Maybe we can think of something that could be right 90% of the time. Will give it some thought.
Had a look. One idea would be to have anybody that updates the playlist indicate some value in $request->source. So you could have web, cli, player, randomix, etc. However I am not sure I see the difference between a "normal" and a "dynamic" playlist?
Unassigned bugs cannot have a priority.