2008-11-06, 23:10
freddeg Wrote:Hi I'm tying to play aktuelt but i cant get it to work.
Log:
Code:20081106 16:38:20 - DEBUG - guicontroller.py - 127 - Fetching info for 'Måndag 3 november'. Setting:
20081106 16:38:20 - DEBUG - guicontroller.py - 127 - | Description: Start
20081106 16:38:20 - DEBUG - guicontroller.py - 127 - | Nyheter
20081106 16:38:20 - DEBUG - guicontroller.py - 127 - | Aktuellt
20081106 16:38:20 - DEBUG - guicontroller.py - 127 - | Aktuellt 21
20081106 16:38:20 - DEBUG - guicontroller.py - 127 - | Måndag 3 november
20081106 16:38:20 - DEBUG - guicontroller.py - 127 - + Image: /home/fredde/.xbmc/scripts/test/channels/svt/svtimage.png
20081106 16:38:20 - DEBUG - guicontroller.py - 146 - Showing rating: None
20081106 16:38:20 - DEBUG - chn_svt.py - 216 - Parsing ASX
20081106 16:38:20 - INFO - uriopener.py - 148 - Opening requested uri Async: http://www.svt.se/content/1/c6/32/93/31/081103aktuellt21.asx (already 1 threads)
20081106 16:38:21 - INFO - uriopener.py - 417 - Determining which Progessbar to use....
20081106 16:38:21 - INFO - uriopener.py - 422 - FileSize is known (fileSize=225)
20081106 16:38:21 - INFO - uriopener.py - 194 - Url http://www.svt.se/content/1/c6/32/93/31/081103aktuellt21.asx was opened successfully
20081106 16:38:21 - CRITICAL - chn_class.py - 409 - On Click error showing episodes
20081106 16:38:21 - CRITICAL - chn_class.py - 409 - | Traceback (most recent call last):
20081106 16:38:21 - CRITICAL - chn_class.py - 409 - | File "/home/fredde/.xbmc/scripts/test/resources/libs/chn_class.py", line 365, in onClick
20081106 16:38:21 - CRITICAL - chn_class.py - 409 - | self.PlayVideoItem(item)
20081106 16:38:21 - CRITICAL - chn_class.py - 409 - | File "/home/fredde/.xbmc/scripts/test/channels/svt/chn_svt.py", line 206, in PlayVideoItem
20081106 16:38:21 - CRITICAL - chn_class.py - 409 - | item.mediaurl = self.ReplaceMediaUrl(item.mediaurl)
20081106 16:38:21 - CRITICAL - chn_class.py - 409 - | File "/home/fredde/.xbmc/scripts/test/channels/svt/chn_svt.py", line 220, in ReplaceMediaUrl
20081106 16:38:21 - CRITICAL - chn_class.py - 409 - | mediaurl = results[0]['href']
20081106 16:38:21 - CRITICAL - chn_class.py - 409 - | TypeError: string indices must be integers
20081106 16:38:21 - DEBUG - chn_class.py - 241 - onAction (with buttonid=11 and id=7) detected (ThrdID=-1491080304)
Could you try opening the chn_svt.py in notepad and remove the ['href'] from line 220. Please let me know if it works.