2012-03-04, 21:46
Hi all..
Im currently developing a xbmc remote control app for android 4 devices using json rpc for communication See on github.com
In addition to Library management, i also provide a file browser to browse all available media items.
I'm retrieving the files using the Files.GetDirectory command.
But i need additional information like artistid, albumid and songid for further processing.
For example, first i load my files using following json command:
This returns all files specified in the given directory (/media/Music/Alice in Chains/Facelift), which is correct.
But now, i want to select a file and adding it to the current playlist. For this purpose, i need albumid, songid and artistid.
How can i retrieve this additional information when loading files using Files.GetDirectory ?
Thanks in advance!
cheers
Im currently developing a xbmc remote control app for android 4 devices using json rpc for communication See on github.com
In addition to Library management, i also provide a file browser to browse all available media items.
I'm retrieving the files using the Files.GetDirectory command.
But i need additional information like artistid, albumid and songid for further processing.
For example, first i load my files using following json command:
Code:
{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": { "directory": "/media/Music/Alice in Chains/Facelift" }, "id": 1}
This returns all files specified in the given directory (/media/Music/Alice in Chains/Facelift), which is correct.
But now, i want to select a file and adding it to the current playlist. For this purpose, i need albumid, songid and artistid.
How can i retrieve this additional information when loading files using Files.GetDirectory ?
Thanks in advance!
cheers