Bugzilla – Bug 17079
iPeng needs a marker for playlists in "Apps"
Last modified: 2011-05-12 15:50:13 UTC
In the onebrowser branch that is currently the main branch for 7.6, Albums and Playlists in Apps like Napster Rhapsody, Spotify etc. are no longer identifiable. While this has never been "officially" in the protocol, so far it was possible to identify these Albums by a type => playlist item in the parameter block for the item that opens a playlist or album. This is no longer the case in onebrowser. I definitely NEED this in iPeng. I'm completely open as to _HOW_ this is being done but I need it. It just breaks too many things I cant work around, I simply have to know an album or playlist before I open it. As long as this isn't fixed I will have to recommend against using iPeng with 7.6 even though that's a real pity given all the other improvements it includes. There is no workaround.
== Auto-comment from SVN commit #32127 to the slim repo by ayoung == == http://svn.slimdevices.com/slim?view=revision&revision=32127 == bug 17079: iPeng needs a marker for playlists in "Apps" Add type field to item hash. Direct copy from XMLBrowser feed (see type field in https://docs.google.com/document/d/1A8FFq1N-N7YkllO8sH0w5oFdsEEANK0cQionZF3oE9I/edit?hl=en) http://wiki.slimdevices.com/index.php/SqueezeCenterSqueezePlayInterface#.3Citem_fields.3E not yet updated.
Thanks, this seems to work fine now. BTW, I believe I can live with the way the "browselibrary" command works now, too. Not sure about Stefan's position WRT this, though.
Alan, reopening this since I still see some issues. While there are now "type => playlist" for playlists in onebrowser, I do see cases where the "type => playlist" is set even though a menu is NOT a playlist. The example where I noticed this is if you open a context menu on a currently playing song and then open "Artist: whatever". This menu is marked as "type => playlist" although it contains albums, not tracks and the albums are not even tagged as "itemplay" (which is fine with me). I don't know whether there are other occurences, I haven't found any, yet
Playlists can contain more than just tracks. For example, the All Albums item in a genre menu is a playlist, as is an artist in the Artists menu. Basically, anything which you can press Play on to get the aggregate collection of tracks from whatever the item represents.
Ok, I tought a playlist is something where the default action on an item contained in it would be to play the list. Which is not the case here. So I need more logic in my code (the example above is already fixed since it's on the local database where I use standard queries anyway, I'm more concerned about potential occurrences in Apps such as Rhapsody).