2013-03-23, 03:37
Hey guys, So i got a new apple tv and i developed a addon for my usage that display some streams.
The thing is, if there's a comma in the string it splits and puts into a playlist so the next item will play automatically, the problem is when i try to play these streams xbmc crashes, here is my resolver funcion.
and my ATV2 xbmc log.
http://xbmclogs.com/show.php?id=6340
it ends with
It works very well on my ATV1 with crystalbuntu, also works perfecly on my PC with XBMC 12.0
What is causing this ? Any help apreciated.
The thing is, if there's a comma in the string it splits and puts into a playlist so the next item will play automatically, the problem is when i try to play these streams xbmc crashes, here is my resolver funcion.
PHP Code:
def check_url(url):
if "," in url:
lista=url.split(',')
playlist = xbmc.PlayList(1)
playlist.clear()
item = 0
for i in lista:
item += 1
info = xbmcgui.ListItem('%s) %s' %(str(item),name))
playlist.add(i, info)
return playlist
and my ATV2 xbmc log.
http://xbmclogs.com/show.php?id=6340
it ends with
Quote:18:42:20 T:139730944 NOTICE: CDVDPlayer::CloseFile()
18:42:20 T:139730944 WARNING: CDVDMessageQueue(player):ut MSGQ_NOT_INITIALIZED
18:42:20 T:139730944 NOTICE: DVDPlayer: waiting for threads to exit
18:42:20 T:139730944 NOTICE: DVDPlayer: finished waiting
18:42:20 T:139730944 WARNING: CDVDMessageQueue(player):ut MSGQ_NOT_INITIALIZED
It works very well on my ATV1 with crystalbuntu, also works perfecly on my PC with XBMC 12.0
What is causing this ? Any help apreciated.