Bugzilla – Bug 917
When in Browse menu, pressing PLAY or ADD should play or add the item selected.
Last modified: 2008-08-18 10:53:01 UTC
For example, if you are in: Browse Music New Music and you press PLAY, it should play all new music. Now it jumps to Now Playing, which is incorrect.
The browse_music items used to 'play everything'. this is triggered by a hardcoded OR for all modes. BROWSE_BY_NEW_MUSIC wasn't added. However, this still only does the legacy Play Everything. I'm inclined to think that goig to now playing is actually a nicer wrong result that playing everything so I'm leaving it alone for now. We'll probably need some sort of play command callback to create a playlist based on these modes and any that might come along.
Kevin: can you help dan find the place in Home.pm where he can insert a PLAY handler for each item?
There is an elsif in the 'play' function inside Home.pm, where the test is a hUGE or string of all teh browse modes. The result of this just plays everything, but it could be changed to a case statement that calls Command::Execute with the right loadtracks parameters.
Fixed! Subversion change 2437.