2013-09-06, 15:24
Hello everybody,
I'm facing an odd problem: I create a playlist that contain all music files there is in my AudioLibrary with a script and I want to save it.
I've seen that it's not possible to directly save a playlist, so I want to create a pls file.
But to do that I nedd to get back file paths from the AudioLibrary.
And when I do that:
I get that kind of answers:
It seems that lots of the request fields are missing...
Is there an other way to save a playlist? I can't create it at each startup: it's too long (thousands of files to be added) !
I'm facing an odd problem: I create a playlist that contain all music files there is in my AudioLibrary with a script and I want to save it.
I've seen that it's not possible to directly save a playlist, so I want to create a pls file.
But to do that I nedd to get back file paths from the AudioLibrary.
And when I do that:
Code:
{"jsonrpc": "2.0", "method": "AudioLibrary.GetSongs", "properties": ["title","artist","albumartist","genre","year","rating","album","track","duration","comment","lyrics","musicbrainztrackid","musicbrainzartistid","musicbrainzalbumid","musicbrainzalbumartistid","playcount","fanart","thumbnail","file","artistid","albumid"], "sort": { "order": "ascending", "method": "track", "ignorearticle": true }, "id": 1}
I get that kind of answers:
Code:
{u'songid': 19, u'label': u'Track 07'}
{u'songid': 20, u'label': u'Track 14'}
{u'songid': 21, u'label': u'Track 15'}
It seems that lots of the request fields are missing...
Is there an other way to save a playlist? I can't create it at each startup: it's too long (thousands of files to be added) !