Kodi Community Forum
[SUPPORT] Hulu Video Plugin - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [SUPPORT] Hulu Video Plugin (/showthread.php?tid=121023)



RE: [SUPPORT] Hulu Video Plugin - youngt2 - 2014-01-28

I am in US. No proxy or VPN. I don't have any issues with SportsDevil or FreeCable. I will post a log tomorrow!

I didn't have this problem a while ago when i was using the Hulu plugin on Win7 but that was mid last year. I'm now using it on a Raspberry Pi (RASPBMC). I have the quality as low as it will go! I would think if the quality was to high it would buffer throughout the whole video. Could it be waiting on ads or something?


RE: [SUPPORT] Hulu Video Plugin - spanktastic2120 - 2014-01-28

(2014-01-28, 04:25)youngt2 Wrote: I am in US. No proxy or VPN. I don't have any issues with SportsDevil or FreeCable. I will post a log tomorrow!

I didn't have this problem a while ago when i was using the Hulu plugin on Win7 but that was mid last year. I'm now using it on a Raspberry Pi (RASPBMC). I have the quality as low as it will go! I would think if the quality was to high it would buffer throughout the whole video. Could it be waiting on ads or something?

If you are using the recommended settings it will not be doing anything with ads
Quote:# Select "akamai" for the Default CDN
# Uncheck "Network Pre-roll".
# Set Pre-Roll ads and Trailing ads to 0.
# Uncheck "Enable Commercial breaks".
# be sure Proxy is Unchecked. (only U.S.)

A log would be helpful, i cant tell you what the issue really is without one.


RE: [SUPPORT] Hulu Video Plugin - locomot1f - 2014-01-28

(2014-01-26, 23:19)Lunatixz Wrote:
(2014-01-26, 23:08)spanktastic2120 Wrote:
(2014-01-26, 07:27)Lunatixz Wrote: I've noticed a majority of my strms stop playing half way into them. I'm using Hulu Beta w/ Hulu Plus so this shouldn't happen?? At least it never use too. Anyone else have this problem, or know a remedy?

Ive had random occurrences where the video will just stop playing, but it never happens at the same place if i try to watch the video again. Usually on the second play-through im able to seek to where it dropped before and it just plays fine.

One thing that i have noticed consistently is that if you pause a video for more than a couple minutes it will play the few seconds it had buffered and then end. I think it has to do with the server dropping the connection when you dont actively use it for too long.

Is your issue different than this?

Yeah... I've also noticed the pause issue. But my problem almost always happens half way through playing an episode. Certain shows and seasons are at fault.

I've noticed this happening. it seems to be random to any show -- for me.
it is somewhere around the half way mark. sometimes it will happen with 5 min. left in the show; of a 30 minute show.


The issue with the pausing video has always been there AFAIK -- and i've been using the plugin since Bluecop was around.

If you think logs will help, I can try to get you some.


RE: [SUPPORT] Hulu Video Plugin - spanktastic2120 - 2014-01-29

(2014-01-28, 18:06)locomot1f Wrote: I've noticed this happening. it seems to be random to any show -- for me.
it is somewhere around the half way mark. sometimes it will happen with 5 min. left in the show; of a 30 minute show.


The issue with the pausing video has always been there AFAIK -- and i've been using the plugin since Bluecop was around.

If you think logs will help, I can try to get you some.

If it randomly happens while playing a video, and then playing that same video again results in no issue, then it is just some network fluke that likely cannot be fixed. No logs needed.

If specific videos always stop halfway through and playing them again results in the same thing, then there is an issue that needs to be fixed. Post a log and some videos/shows that it happens to and i will investigate.


RE: [SUPPORT] Hulu Video Plugin - locoguano - 2014-01-29

Getting an error when trying to enter the addon...
Code:
18:50:34 T:3296   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: Parse() argument 1 must be string or read-only buffer, not bool
                                            Traceback (most recent call last):
                                              File "C:\Users\xbmc\AppData\Roaming\XBMC\addons\plugin.video.hulu-beta\default.py", line 61, in <module>
                                                modes ( )
                                              File "C:\Users\xbmc\AppData\Roaming\XBMC\addons\plugin.video.hulu-beta\default.py", line 33, in modes
                                                home.Main()
                                              File "C:\Users\xbmc\AppData\Roaming\XBMC\addons\plugin.video.hulu-beta\resources\lib\_home.py", line 18, in __init__
                                                self.addMainHomeItems()
                                              File "C:\Users\xbmc\AppData\Roaming\XBMC\addons\plugin.video.hulu-beta\resources\lib\_home.py", line 23, in addMainHomeItems
                                                tree = ElementTree.XML(xml)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\xml\etree\ElementTree.py", line 963, in XML
                                                parser.feed(text)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\xml\etree\ElementTree.py", line 1245, in feed
                                                self._parser.Parse(data, 0)
                                            TypeError: Parse() argument 1 must be string or read-only buffer, not bool
                                            -->End of Python script error report<--



RE: [SUPPORT] Hulu Video Plugin - spanktastic2120 - 2014-01-29

(2014-01-29, 02:57)locoguano Wrote: Getting an error when trying to enter the addon...
Code:
18:50:34 T:3296   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: Parse() argument 1 must be string or read-only buffer, not bool
                                            Traceback (most recent call last):
                                              File "C:\Users\xbmc\AppData\Roaming\XBMC\addons\plugin.video.hulu-beta\default.py", line 61, in <module>
                                                modes ( )
                                              File "C:\Users\xbmc\AppData\Roaming\XBMC\addons\plugin.video.hulu-beta\default.py", line 33, in modes
                                                home.Main()
                                              File "C:\Users\xbmc\AppData\Roaming\XBMC\addons\plugin.video.hulu-beta\resources\lib\_home.py", line 18, in __init__
                                                self.addMainHomeItems()
                                              File "C:\Users\xbmc\AppData\Roaming\XBMC\addons\plugin.video.hulu-beta\resources\lib\_home.py", line 23, in addMainHomeItems
                                                tree = ElementTree.XML(xml)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\xml\etree\ElementTree.py", line 963, in XML
                                                parser.feed(text)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\xml\etree\ElementTree.py", line 1245, in feed
                                                self._parser.Parse(data, 0)
                                            TypeError: Parse() argument 1 must be string or read-only buffer, not bool
                                            -->End of Python script error report<--

Are you using the most recent version? Can we get a full log on this if not?


RE: [SUPPORT] Hulu Video Plugin - locomot1f - 2014-01-29

(2014-01-21, 09:01)tknorris Wrote:
(2014-01-21, 07:21)JustinBeaird Wrote: any way to auto select video quality? i am always getting asked to select quality/cdm even tho it is set in settings

This just started happening to me also as of a few minutes ago. Not sure what's going on exactly. It does seem to work ok though when you select a quality.

Edit: I think what's happened here is the CDN names have changed and it can't match the settings any more so it's prompting instead.

2nd Edit: An easy work around for now is to choose level3 as your Default CDN. The name of that CDN didn't change so it still works as a default.

If you want to fix it for the other CDNs it's a little more complex. The CDN values in common.py, strings.xml, and settings.xml need to be added/changed to match what's now in the Hulu SMIL. There are now 4 possible values for CDNs: level3, darwin-akamai, darwin-level3, and darwin-limelight

If you want to keep it simple though until MoneyMaker does a full update you can just change line 89 in resources/lib/common.py to:
Code:
cdns = ['level3','darwin-limelight','darwin-akamai']

looks like they've changed it back.


RE: [SUPPORT] Hulu Video Plugin - tknorris - 2014-01-29

(2014-01-29, 16:50)locomot1f Wrote:
(2014-01-21, 09:01)tknorris Wrote:
(2014-01-21, 07:21)JustinBeaird Wrote: any way to auto select video quality? i am always getting asked to select quality/cdm even tho it is set in settings

This just started happening to me also as of a few minutes ago. Not sure what's going on exactly. It does seem to work ok though when you select a quality.

Edit: I think what's happened here is the CDN names have changed and it can't match the settings any more so it's prompting instead.

2nd Edit: An easy work around for now is to choose level3 as your Default CDN. The name of that CDN didn't change so it still works as a default.

If you want to fix it for the other CDNs it's a little more complex. The CDN values in common.py, strings.xml, and settings.xml need to be added/changed to match what's now in the Hulu SMIL. There are now 4 possible values for CDNs: level3, darwin-akamai, darwin-level3, and darwin-limelight

If you want to keep it simple though until MoneyMaker does a full update you can just change line 89 in resources/lib/common.py to:
Code:
cdns = ['level3','darwin-limelight','darwin-akamai']

looks like they've changed it back.

Yeah I noticed that last night. The list now is:
Code:
cdns = ['level3','limelight','akamai']

It actually looks like there are now two versions of akamai (darwin-akamai and just akamai) and limelight has either been removed or possibly renamed to edgecast. The above list will work though if you pick either level3 or akamai. As before, if you want the full list you have to change the other files I mentioned as well.


RE: [SUPPORT] Hulu Video Plugin - ylafont - 2014-01-30

I just in installed Hulu beta and i get a script failed when perform export. am i missing something?

start of HULU plugin
20:03:20 T:139784485021440 NOTICE: HULU--> common.args.mode -- > ForceFullShowsLibrary
20:03:20 T:139784485021440 NOTICE: Trying to add Hulu source paths...
20:03:20 T:139784485021440 NOTICE: Source paths added!
20:03:20 T:139784485021440 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11808?dp_id=hulu&package_id=1&limit=2000&page=1
20:03:29 T:139784485021440 NOTICE: Subscription page now 1
20:03:29 T:139784485021440 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: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta/default.py", line 61, in <module>
modes ( )
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta/default.py", line 36, in modes
xbmclibrary.Main()
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta/resources/lib/xbmclibrary.py", line 74, in __init__
self.GetFullShows()
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta/resources/lib/xbmclibrary.py", line 155, in GetFullShows
self.ExportShowList(url,delay=1500)
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta/resources/lib/xbmclibrary.py", line 182, in ExportShowList
if int( count.findtext('') ) == 128:
TypeError: int() argument must be a string or a number, not 'NoneType'
-->End of Python script error report<--


RE: [SUPPORT] Hulu Video Plugin - spanktastic2120 - 2014-01-30

(2014-01-30, 03:06)ylafont Wrote: I just in installed Hulu beta and i get a script failed when perform export. am i missing something?

start of HULU plugin
20:03:20 T:139784485021440 NOTICE: HULU--> common.args.mode -- > ForceFullShowsLibrary
20:03:20 T:139784485021440 NOTICE: Trying to add Hulu source paths...
20:03:20 T:139784485021440 NOTICE: Source paths added!
20:03:20 T:139784485021440 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11808?dp_id=hulu&package_id=1&limit=2000&page=1
20:03:29 T:139784485021440 NOTICE: Subscription page now 1
20:03:29 T:139784485021440 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: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta/default.py", line 61, in <module>
modes ( )
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta/default.py", line 36, in modes
xbmclibrary.Main()
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta/resources/lib/xbmclibrary.py", line 74, in __init__
self.GetFullShows()
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta/resources/lib/xbmclibrary.py", line 155, in GetFullShows
self.ExportShowList(url,delay=1500)
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta/resources/lib/xbmclibrary.py", line 182, in ExportShowList
if int( count.findtext('') ) == 128:
TypeError: int() argument must be a string or a number, not 'NoneType'
-->End of Python script error report<--

You seem to be using an old version, this is the most recent: https://github.com/moneymaker365/plugin.video.hulu-beta/archive/master.zip


RE: [SUPPORT] Hulu Video Plugin - ylafont - 2014-01-30

(2014-01-30, 03:26)spanktastic2120 Wrote: You seem to be using an old version, this is the most recent: https://github.com/moneymaker365/plugin.video.hulu-beta/archive/master.zip

Spank, thanks for the quick reply. the XBMCPlus version seems to be out of date. this version (3.4.9.7) started the download but failed with an errors

22:47:19 T:139784334833408 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11674?show_id=13676&dp_id=hulu&limit=2000&package_id=1
22:47:21 T:139784334833408 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11674?show_id=7210&dp_id=hulu&limit=2000&package_id=1
22:47:23 T:139784334833408 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11674?show_id=9675&dp_id=hulu&limit=2000&package_id=1
22:47:24 T:139784334833408 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11674?show_id=14589&dp_id=hulu&limit=2000&package_id=1
22:47:26 T:139784334833408 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11674?show_id=9589&dp_id=hulu&limit=2000&package_id=1
22:47:26 T:139784334833408 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xc3 in position 159: ordinal not in range(128)
Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/default.py", line 61, in <module>
modes ( )
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/default.py", line 36, in modes
xbmclibrary.Main()
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 74, in __init__
self.GetFullShows()
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 155, in GetFullShows
self.ExportShowList(url,delay=1500)
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 189, in ExportShowList
self.ExportShowMovie(item)
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 207, in ExportShowMovie
self.ExportShow(item)
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 229, in ExportShow
self.ExportVideo(episode)
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 290, in ExportVideo
episodeDetails += '<studio>'+data.findtext('company_name')+'</studio>'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 159: ordinal not in range(128)
-->End of Python script error report<--


RE: [SUPPORT] Hulu Video Plugin - spanktastic2120 - 2014-01-30

(2014-01-30, 05:51)ylafont Wrote:
(2014-01-30, 03:26)spanktastic2120 Wrote: You seem to be using an old version, this is the most recent: https://github.com/moneymaker365/plugin.video.hulu-beta/archive/master.zip

Spank, thanks for the quick reply. the XBMCPlus version seems to be out of date. this version (3.4.9.7) started the download but failed with an errors

22:47:19 T:139784334833408 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11674?show_id=13676&dp_id=hulu&limit=2000&package_id=1
22:47:21 T:139784334833408 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11674?show_id=7210&dp_id=hulu&limit=2000&package_id=1
22:47:23 T:139784334833408 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11674?show_id=9675&dp_id=hulu&limit=2000&package_id=1
22:47:24 T:139784334833408 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11674?show_id=14589&dp_id=hulu&limit=2000&package_id=1
22:47:26 T:139784334833408 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/11674?show_id=9589&dp_id=hulu&limit=2000&package_id=1
22:47:26 T:139784334833408 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xc3 in position 159: ordinal not in range(128)
Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/default.py", line 61, in <module>
modes ( )
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/default.py", line 36, in modes
xbmclibrary.Main()
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 74, in __init__
self.GetFullShows()
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 155, in GetFullShows
self.ExportShowList(url,delay=1500)
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 189, in ExportShowList
self.ExportShowMovie(item)
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 207, in ExportShowMovie
self.ExportShow(item)
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 229, in ExportShow
self.ExportVideo(episode)
File "/home/xbmc/.xbmc/addons/plugin.video.hulu-beta-master/resources/lib/xbmclibrary.py", line 290, in ExportVideo
episodeDetails += '<studio>'+data.findtext('company_name')+'</studio>'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 159: ordinal not in range(128)
-->End of Python script error report<--

yeah thats because its trying to read in some spanish characters, ill look into fixing that this weekend when i have some free time


RE: [SUPPORT] Hulu Video Plugin - dkplayaclub - 2014-01-30

I notice that I am able to subscribe to a show and then add that subscription to the library. Is there a way to add movies to the library as well and if not, can we get that option in a future update?


RE: [SUPPORT] Hulu Video Plugin - ylafont - 2014-01-30

(2014-01-30, 10:58)spanktastic2120 Wrote: You seem to be using an old version, this is the most recent: https://github.com/moneymaker365/plugin.video.hulu-beta/archive/master.zip


Spank, what version of the Libray Auto Update can be used with this version? I Installed BlueCop
https://code.google.com/p/bluecop-xbmc-repo/downloads/detail?name=script.hululibraryautoupdate-1.1.zip but is stated the Hulu addon is missing.


RE: [SUPPORT] Hulu Video Plugin - moneymaker - 2014-01-30

@ylafont

http://superrepo.org/script.hululibraryautoupdate/