Bugzilla – Bug 10832
randomplaygenrelist does not return genres, just the count
Last modified: 2009-01-26 06:14:47 UTC
I submit the randomplaygenrelist command. I get back a response which has two issues. After the word randomplaygenrelist there are three blanks then the count item which properly shows that there are 78 genres in my library. The three blanks are troublesome as they blow my split command which splits text on any character, but I can/have work around that. The Web site says I have 2 genres flagged for random mix use. I tried all genres flagged, no genere flagged, arbitrary numbers flagged, it does not matter. No data regarding the flagged genres is ever returned.
You need a player connected for this type of query. Plus you have to define from and count: randomplaygenreslist 0 10 00%3A04%3A20%3A1e%3A02%3A5b randomplaygenrelist 0 10 count%3A58 offset%3A0 actions%3AHASH(0x35c96a8) text%3ASelect%20All nextWindow%3Arefresh actions%3AHASH(0x35d4e3c) text%3ASelect%20None nextWindow%3Arefresh actions%3AHASH(0x35de968) checkbox%3A1 text%3AAcoustic actions%3AHASH(0x35dea70) checkbox%3A1 text%3AAlt%20Rock actions%3AHASH(0x35deb78) checkbox%3A1 text%3AAlternative actions%3AHASH(0x35db29c) checkbox%3A1 text%3AAlternative%20%26%20Punk actions%3AHASH(0x35db3a4) checkbox%3A1 text%3AAmbient actions%3AHASH(0x35db4ac) checkbox%3A1 text%3AAvantgarde actions%3AHASH(0x35db5b4) checkbox%3A1 text%3ABebop actions%3AHASH(0x35db6bc) checkbox%3A1 text%3ABlues randomplaygenrelist There's admittedly a bit of additional data you wouldn't care about, but that doesn't do any harm and is a different issue.
That almost solved the problem. Thanks for the quick response. The problem is now shifted to the CLI documentation where it does not show the need for the start and itemsperresponse fields. Thanks again. It will make my clients very happy.