v18 xbmc.Player().play(item=playlist) making Kodi crash.
#1
Hi,

I'm user of Google Music EXP plugin.
I liked to share  from Music Play Android app to Kodi and play artist that way.

Anyway since Kodi v18 when I share playlist to Kodi it crashes.
I don't think original developer is maintaining this project.

I checked plugin code and it is creating playlist (successfully)

python:

playlist = xbmc.PlayList(0)
playlist.clear()

for song in songs:
        if song['song_id'] != fromhere:
            item = createItem(song['display_name'], song['albumart'], song['artistart'])
            item.setInfo(type='music', infoLabels={'artist'Confusedong['artist'],'title'Confusedong['title']})
            playlist.add(getUrl(song), item )

xbmc.Player().play(item=playlist)

If I comment out xbmc.Player().play playlist is present in Kodi and I can play playlist via GUI.
Any advice?
Reply

Logout Mark Read Team Forum Stats Members Help
xbmc.Player().play(item=playlist) making Kodi crash.0