vondalynn / bluecop-xbmc-repo

Automatically exported from code.google.com/p/bluecop-xbmc-repo
0 stars 0 forks source link

Hulu plugin failes to play video Gives 503 service unavailable message #260

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Trying to play a video
2.
3.

What is the expected output? What do you see instead?
Video to play

What version of the product are you using? On what operating system?

3.4.5 Ubuntu 12.04 Gotham

Including bits from xbmc.log that appear to relate to HULU plugin
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

16:39:29 T:1429863232  NOTICE: addoncompat.py: XBMC Revision not available - 
Version String: 13.0 Git:d420b5c
16:39:29 T:1429863232  NOTICE: ['plugin://plugin.video.hulu/', '101', '']
16:39:29 T:1429863232  NOTICE:

                                            start of HULU plugin
16:39:29 T:1429863232  NOTICE: HULU--> no mode has been defined
16:39:29 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/hd_main_menu?show_id=0&dp_id=huludesktop&package_id=2&pag
e=1
16:39:29 T:1429863232  NOTICE: Thread BackgroundLoader start, auto delete: false
16:39:31 T:1429863232  NOTICE: Thread LanguageInvoker start, auto delete: false
16:39:31 T:1429863232  NOTICE: -->Python Interpreter Initialized<--
16:39:31 T:1429863232  NOTICE: addoncompat.py: XBMC Revision not available - 
Version String: 13.0 Git:d420b5c
16:39:31 T:1429863232  NOTICE: ['plugin://plugin.video.hulu/', '102', 
'?art=%22%22&fanart=%22%22&mode=%22Menu%22&name=%22TV%22&page=%221%22&perpage=%2
225%22&popular=%22$
16:39:31 T:1429863232  NOTICE:

                                            start of HULU plugin
16:39:31 T:1429863232  NOTICE: HULU--> common.args.mode -- > Menu
16:39:31 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513267?dp_id=hulu&package_id=1&total=1
16:39:31 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513267?dp_id=hulu&package_id=1&limit=25&page=1
16:39:31 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513292?dp_id=hulu&package_id=1&total=1
16:39:32 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513299?dp_id=hulu&package_id=1&total=1
16:39:32 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513268?dp_id=hulu&package_id=1&total=1
16:39:32 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513280?dp_id=hulu&package_id=1&total=1
16:39:33 T:1429863232  NOTICE: Thread BackgroundLoader start, auto delete: false
16:39:35 T:1429863232  NOTICE: Previous line repeats 1 times.
16:39:35 T:1429863232  NOTICE: Thread LanguageInvoker start, auto delete: false
16:39:35 T:1429863232  NOTICE: -->Python Interpreter Initialized<--
16:39:35 T:1429863232  NOTICE: addoncompat.py: XBMC Revision not available - 
Version String: 13.0 Git:d420b5c
16:39:35 T:1429863232  NOTICE: ['plugin://plugin.video.hulu/', '103', 
'?art=%22%2fhome%2fxbmc%2f.xbmc%2faddons%2fplugin.video.hulu%2fresources%2fimage
s%2ficon_popular.j$
16:39:35 T:1429863232  NOTICE:

                                            start of HULU plugin
16:39:35 T:1429863232  NOTICE: HULU--> common.args.mode -- > Menu
16:39:35 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513292?dp_id=hulu&package_id=1&total=1
16:39:35 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513292?dp_id=hulu&package_id=1&limit=100&page=1
16:39:35 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513297?dp_id=hulu&package_id=1&total=1
16:39:37 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513293?dp_id=hulu&package_id=1&total=1
16:39:37 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513295?dp_id=hulu&package_id=1&total=1
16:39:38 T:1429863232  NOTICE: Thread BackgroundLoader start, auto delete: false
16:39:39 T:1429863232  NOTICE: Previous line repeats 1 times.
16:39:39 T:1429863232  NOTICE: Thread LanguageInvoker start, auto delete: false
16:39:39 T:1429863232  NOTICE: -->Python Interpreter Initialized<--
16:39:39 T:1429863232  NOTICE: addoncompat.py: XBMC Revision not available - 
Version String: 13.0 Git:d420b5c
16:39:39 T:1429863232  NOTICE: ['plugin://plugin.video.hulu/', '104', 
'?art=%22%2fhome%2fxbmc%2f.xbmc%2faddons%2fplugin.video.hulu%2fresources%2fimage
s%2ficon_popular.j$
16:39:39 T:1429863232  NOTICE:

                                            start of HULU plugin
16:39:39 T:1429863232  NOTICE: HULU--> common.args.mode -- > CarouselMenu
16:39:39 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513297?dp_id=hulu&package_id=1&total=1
16:39:39 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513297?dp_id=hulu&package_id=1&limit=100&page=1
16:39:40 T:1429863232   ERROR: 
/home/xbmc/.xbmc/addons/plugin.video.hulu/resources/lib/_menu.py:172: 
FutureWarning: The behavior of this method will change in future ve$
                                              if data:
16:39:40 T:1429863232  NOTICE: Thread BackgroundLoader start, auto delete: false
16:39:42 T:1429863232  NOTICE: Thread LanguageInvoker start, auto delete: false
16:39:42 T:1429863232  NOTICE: -->Python Interpreter Initialized<--
16:39:42 T:1429863232  NOTICE: addoncompat.py: XBMC Revision not available - 
Version String: 13.0 Git:d420b5c
16:39:42 T:1429863232  NOTICE: ['plugin://plugin.video.hulu/', '105', 
'?art=%22http%3a%2f%2fassets.hulu.com%2fshows%2fkey_art_family_guy.jpg%22&fanart
=%22http%3a%2f%2fa$
16:39:42 T:1429863232  NOTICE:

                                            start of HULU plugin
16:39:42 T:1429863232  NOTICE: HULU--> common.args.mode -- > ShowPage
16:39:42 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513298?show_id=54&dp_id=hulu&package_id=1&total=1
16:39:42 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513298?show_id=54&dp_id=hulu&package_id=1&limit=250&page=
1
16:39:42 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513237?show_id=54&dp_id=hulu&package_id=1&total=1
16:39:42 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513244?show_id=54&dp_id=hulu&package_id=1&total=1
16:39:43 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513246?show_id=54&dp_id=hulu&package_id=1&total=1
16:39:43 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513250?show_id=54&dp_id=hulu&package_id=1&total=1
16:39:44 T:1429863232  NOTICE: Thread BackgroundLoader start, auto delete: false
16:39:45 T:1429863232  NOTICE: Previous line repeats 1 times.
16:39:45 T:1429863232  NOTICE: Thread LanguageInvoker start, auto delete: false
16:39:45 T:1429863232  NOTICE: -->Python Interpreter Initialized<--
16:39:45 T:1429863232  NOTICE: addoncompat.py: XBMC Revision not available - 
Version String: 13.0 Git:d420b5c
16:39:45 T:1429863232  NOTICE: ['plugin://plugin.video.hulu/', '106', 
'?art=%22http%3a%2f%2fassets.hulu.com%2fshows%2fkey_art_family_guy.jpg%22&fanart
=%22http%3a%2f%2fa$

                                            start of HULU plugin
16:39:45 T:1429863232  NOTICE: HULU--> common.args.mode -- > Menu
16:39:45 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513244?show_id=54&dp_id=hulu&package_id=1&total=1
16:39:45 T:1429863232  NOTICE: HULU --> common :: getFEED :: url = 
http://m.hulu.com/menu/513244?show_id=54&dp_id=hulu&package_id=1&limit=250&page=
1
16:39:48 T:1429863232   ERROR: 
/home/xbmc/.xbmc/addons/plugin.video.hulu/resources/lib/_menu.py:172: 
FutureWarning: The behavior of this method will change in future ve$
                                              if data:
16:39:48 T:1429863232 WARNING: GetDurationFromMinuteString <runtime> should be 
in minutes. Interpreting '0:00:30' as 0 minutes
16:39:48 T:1429863232 WARNING: GetDurationFromMinuteString <runtime> should be 
in minutes. Interpreting '0:00:20' as 0 minutes
16:39:48 T:1429863232 WARNING: GetDurationFromMinuteString <runtime> should be 
in minutes. Interpreting '0:00:30' as 0 minutes
16:39:48 T:1429863232 WARNING: GetDurationFromMinuteString <runtime> should be 
in minutes. Interpreting '0:02:50' as 0 minutes
16:39:48 T:1429863232 WARNING: GetDurationFromMinuteString <runtime> should be 
in minutes. Interpreting '0:01:44' as 0 minutes
16:39:48 T:1429863232 WARNING: GetDurationFromMinuteString <runtime> should be 
in minutes. Interpreting '0:02:08' as 0 minutes
****This goes on for a while so i will truncate it*****

16:39:49 T:1429863232 WARNING: GetDurationFromMinuteString <runtime> should be 
in minutes. Interpreting '0:00:31' as 0 minutes
16:39:49 T:1429863232 WARNING: GetDurationFromMinuteString <runtime> should be 
in minutes. Interpreting '0:01:55' as 0 minutes
16:39:49 T:1429863232 WARNING: GetDurationFromMinuteString <runtime> should be 
in minutes. Interpreting '0:01:14' as 0 minutes
16:39:49 T:1429863232  NOTICE: Thread BackgroundLoader start, auto delete: false
16:39:50 T:1740077888  NOTICE: Thread LanguageInvoker start, auto delete: false
16:39:50 T:1740077888  NOTICE: -->Python Interpreter Initialized<--
16:39:50 T:1740077888  NOTICE: addoncompat.py: XBMC Revision not available - 
Version String: 13.0 Git:d420b5c
16:39:50 T:1740077888  NOTICE: ['plugin://plugin.video.hulu/', '107', 
'?url="50016899"&mode="TV_play"&videoid="110339"&eid="736iR8KaeWDzWXc1xjGBKw"']
16:39:50 T:1740077888  NOTICE:

                                            start of HULU plugin
16:39:50 T:1740077888  NOTICE: HULU--> common.args.mode -- > TV_play
16:39:51 T:1740077888  NOTICE: HULU --> Posted view
16:39:51 T:1740077888  NOTICE: HULU --> common :: getFEED :: url = 
http://r.hulu.com/videos?eid=736iR8KaeWDzWXc1xjGBKw&include=video_assets&include
_eos=1&_language=en&_$
16:39:51 T:1740077888  NOTICE: Error reason:
16:39:51 T:1740077888  NOTICE: HTTP Error 503: Service Unavailable
16:39:51 T:1740077888   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: expected string or buffer
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.video.hulu/default.py", line 57, in <module>
                                                modes ( )
                                              File "/home/xbmc/.xbmc/addons/plugin.video.hulu/default.py", line 38, in modes
                                                stream_media.Main()
                                              File "/home/xbmc/.xbmc/addons/plugin.video.hulu/resources/lib/stream_hulu.py", line 73, in __init__
                                                self.NetworkPreroll()
                                              File "/home/xbmc/.xbmc/addons/plugin.video.hulu/resources/lib/stream_hulu.py", line 230, in NetworkPreroll
                                                tree=BeautifulStoneSoup(data, convertEntities=BeautifulStoneSoup.HTML_ENTITIES)
                                              File "/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib/BeautifulSoup.py", line 1147, in __init__                                              File "/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib/BeautifulSoup.py", line 1773, in __init__
                                                self._detectEncoding(markup, isHTML)
                                              File "/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib/BeautifulSoup.py", line 1918, in _detectEncoding
                                                '^<\?.*encoding=[\'"](.*?)[\'"].*\?>').match(xml_data)
                                            TypeError: expected string or buffer
                                            -->End of Python script error report<--
16:39:51 T:3007326592   ERROR: Playlist Player: skipping unplayable item: 0, 
path 
[plugin://plugin.video.hulu/?url="50016899"&mode="TV_play"&videoid="110339"&eid=
"736iR$
16:39:51 T:3007326592 WARNING: Attempt to set unplayable index 0
16:39:54 T:1455041344  NOTICE: Thread BackgroundLoader start, auto delete: false

Thanks :)

Original issue reported on code.google.com by trottier...@gmail.com on 11 May 2014 at 11:52