Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rai replay doesn't work anymore #8

Closed
strk opened this issue Sep 7, 2014 · 7 comments
Closed

rai replay doesn't work anymore #8

strk opened this issue Sep 7, 2014 · 7 comments

Comments

@strk
Copy link

strk commented Sep 7, 2014

You can get the list of available movies but none plays. Something must have changed upstream...

@nightflyer73
Copy link
Owner

I'm still able to play all the programmes I tried in RAI Replay with XBMC 13. Please post a full log and report what version of XBMC and what version of this addon you are using.

A user in the XBMC forum has reported a similar problem with XBMC 12. I'll try to downgrade to see what's going on.

@strk
Copy link
Author

strk commented Sep 8, 2014

Ok I was wrong it fails at getting the list of avaiable videos from a channel/date.
This is the log on error attempting to see RaiUno of Thursday September 4th:

10:57:48 T:3019893616  NOTICE: Replay TV URL: http://www.rai.tv/dl/portale/html/palinsesti/replaytv/static/RaiUno_2014_09_04.html
10:57:49 T:3019893616   ERROR: EXCEPTION: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
10:57:49 T:3019893616   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or 
str
                                            Traceback (most recent call last):
                                              File "/home/pepperlight/.xbmc/addons/plugin.video.raitv/default.py", line 539, in <module>
                                                show_replay_epg(channelId, date)
                                              File "/home/pepperlight/.xbmc/addons/plugin.video.raitv/default.py", line 237, in show_replay_epg
                                                thumbnailImage=thumbnail)
                                            TypeError: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
                                            -->End of Python script error report<--
10:57:49 T:3078182704   ERROR: GetDirectory - Error getting plugin://plugin.video.raitv/?channel_id=1&date=2014_09_04&mode=replay

XBMC (12.2 Git:Unknown), Platform: Linux (Ubuntu 10.04 LTS, 2.6.32-21-generic i686). Built on May 8 2013

Python 2.6.5

@nightflyer73
Copy link
Owner

I confirm it seems the same problem reported here:
http://forum.xbmc.org/showthread.php?tid=155922&pid=1788693#pid1788693

And it seems to affect only XBMC 12. I can acccess the RaiUno for Thursday September 4th on XBMC 13.

@strk
Copy link
Author

strk commented Sep 9, 2014

is there anything I can do to help ?

@nightflyer73
Copy link
Owner

Can you apply this patch to default.py and tell me if the problem is solved?
http://pastebin.com/raw.php?i=0CHwrHKz

Thanks.

@strk
Copy link
Author

strk commented Sep 9, 2014

Your patch solves the problem for me, thanks !

@nightflyer73
Copy link
Owner

Thanks for testing. I'll push it tomorrow and then I'll request a git pull to the main XBMC repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants