2019-01-18, 18:52
Hello.
I am creating my own rating system to evaluate songs, which I store in a DB, referencing songs by their DB id.
Now I'm trying to select some of these rated songs and I want to add them to the current playlist.
I'm trying to use JSON-RPC, namely the Playlist.Add command. The docs say that there is a 'item' argument to specify what is being added, see https://kodi.wiki/view/JSON-RPC_API/v9#Playlist.Item. All the working examples I've seen specify this through a 'file'.
Isn't there a way of specifying the song one wants to add to the Playlist through its' id?
Bye and thanks, Luís
I am creating my own rating system to evaluate songs, which I store in a DB, referencing songs by their DB id.
Now I'm trying to select some of these rated songs and I want to add them to the current playlist.
I'm trying to use JSON-RPC, namely the Playlist.Add command. The docs say that there is a 'item' argument to specify what is being added, see https://kodi.wiki/view/JSON-RPC_API/v9#Playlist.Item. All the working examples I've seen specify this through a 'file'.
Isn't there a way of specifying the song one wants to add to the Playlist through its' id?
Bye and thanks, Luís