JSON changes in Kodi 18
#1
The Function call for playing playlists does not appear to work the same in Kodi 18 as in Kodi 17.

I am not able to play music playlists using the Kodi-Alexa skill for the Amazon Echo. Apparently there have been changes.

Here is the playlist:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="songs">
<name>Classical</name>
<match>all</match>
<rule field="genre" operator="is">
<value>Classical</value>
</rule>
<limit>100</limit>
</smartplaylist>


This result from the Kodi logfile is this:

16:13:25.428 T:1943417488 NOTICE: VideoPlayer: Opening: special://profile/playlists/music/Classical.xsp
16:13:25.428 T:1943417488 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
16:13:25.429 T:1855976352 NOTICE: Creating InputStream
16:13:25.433 T:1855976352 NOTICE: Creating Demuxer
16:13:25.437 T:1855976352 ERROR: Open - error probing input format, special://profile/playlists/music/Classical.xsp
16:13:25.437 T:1855976352 ERROR: OpenDemuxStream - Error creating demuxer
16:13:25.438 T:1855976352 NOTICE: CVideoPlayer::OnExit()
16:13:25.438 T:1943417488 ERROR: Playlist Player: skipping unplayable item: 0, path [special://profile/playlists/music/Classical.xsp]
16:13:25.446 T:1943417488 NOTICE: CVideoPlayer::CloseFile()
16:13:25.446 T:1943417488 NOTICE: VideoPlayer: waiting for threads to exit
16:13:25.446 T:1943417488 NOTICE: VideoPlayer: finished waiting
16:13:25.446 T:1943417488 NOTICE: CVideoPlayer::CloseFile()
16:13:25.446 T:1943417488 NOTICE: VideoPlayer: waiting for threads to exit
16:13:25.446 T:1943417488 NOTICE: VideoPlayer: finished waiting

The playlist works fine run manually.

The developer of the Kodi skill suggests that a parameter in the playlist function call used in his skill may have been depreciated between Kodi 17 and 18. He uses call Player.Open with the "file" parameter set to the playlist file. Is that possible? If so what would be the correct JSON string to play the music playlist classical?
Reply


Messages In This Thread
JSON changes in Kodi 18 - by bill_orange - 2017-05-28, 19:56
RE: JSON changes in Kodi 18 - by BasJaspers - 2017-05-29, 08:34
RE: JSON changes in Kodi 18 - by Tolriq - 2017-05-29, 10:19
RE: JSON changes in Kodi 18 - by DaveBlake - 2017-05-29, 13:19
RE: JSON changes in Kodi 18 - by Tolriq - 2017-05-29, 13:44
RE: JSON changes in Kodi 18 - by hurlbert - 2017-06-20, 20:26
RE: JSON changes in Kodi 18 - by bill_orange - 2017-06-20, 23:09
RE: JSON changes in Kodi 18 - by BigOldBoy - 2017-07-03, 13:14
RE: JSON changes in Kodi 18 - by bill_orange - 2017-09-10, 19:19
RE: JSON changes in Kodi 18 - by phongvucba - 2017-09-14, 06:27
RE: JSON changes in Kodi 18 - by bill_orange - 2018-01-22, 17:40
RE: JSON changes in Kodi 18 - by DaveBlake - 2018-01-22, 20:56
RE: JSON changes in Kodi 18 - by 37KDeep - 2019-10-24, 20:12
Logout Mark Read Team Forum Stats Members Help
JSON changes in Kodi 180