2013-10-04, 22:05
Hi. I try to play radio stream like this:
I set Title, but when stream start playing after three seconds all infoLabels disappear. My guess is that XBMC retrieves them from the file stream in which the tags are empty. How do I stop getting tags from the stream?
Code:
playList = xbmc.PlayList(xbmc.PLAYLIST_MUSIC)
playList.clear()
listItem = xbmcgui.ListItem(Title, iconImage=Icon, thumbnailImage=Icon)
listItem.setInfo( 'Music', infoLabels={'Title': Title})
playList.add(URL, listItem)
xbmc.Player().play(playList)
I set Title, but when stream start playing after three seconds all infoLabels disappear. My guess is that XBMC retrieves them from the file stream in which the tags are empty. How do I stop getting tags from the stream?