2012-02-15, 01:51
I am using Dharma. I set up a shortcut to the subscriptions page and the script fails due to invalid syntax. Is there a way around this?
The first Hulu entry is successfully launching the Hulu plugin to make sure its working. The second is launching from the shortcut to Subscriptions I placed on the homescreen.
Code:
start of HULU plugin
18:46:29 T:2264 M:2670055424 NOTICE: HULU--> no mode has been defined
18:46:29 T:2264 M:2670051328 NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/hd_main_menu?show_id=0&dp_id=huludesktop&package_id=2&page=1
18:46:43 T:1308 M:2676404224 NOTICE: -->Python Interpreter Initialized<--
18:46:43 T:1308 M:2672275456 ERROR: Error Type: exceptions.SyntaxError
18:46:43 T:1308 M:2672275456 ERROR: Error Contents: ('invalid syntax', (None, 1, 22, 'args = _Info(url=http://m.hulu.com/menu/hd_user_subscriptions, mode=Subscriptions, name=Subscriptions, art=, fanart=, page=1, perpage=2000, popular=false, updatelisting=false)'))
18:46:43 T:1308 M:2672254976 ERROR: Traceback (most recent call last):
File "C:\Users\Boxee\AppData\Roaming\XBMC\addons\plugin.video.hulu\default.py", line 12, in ?
import resources.lib.common as common
File "C:\Users\Boxee\AppData\Roaming\XBMC\addons\plugin.video.hulu\resources\lib\common.py", line 32, in ?
exec "args = _Info(%s)" % (urllib.unquote_plus(sys.argv[2][1:].replace("&", ", ").replace('"','\'').replace('%5C', '%5C%5C')), )
File "<string>", line 1
args = _Info(url=http://m.hulu.com/menu/hd_user_subscriptions, mode=Subscriptions, name=Subscriptions, art=, fanart=, page=1, perpage=2000, popular=false, updatelisting=false)
^
SyntaxError: invalid syntax
18:46:43 T:4052 M:2672238592 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.hulu/?url=http%3A%2F%2Fm.hulu.com%2Fmenu%2Fhd_user_subscriptions&mode=Subscriptions&name=Subscriptions&art=&fanart=&page=1&perpage=2000&popular=false&updatelisting=false
18:46:43 T:4052 M:2672238592 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.hulu/?url=http%3A%2F%2Fm.hulu.com%2Fmenu%2Fhd_user_subscriptions&mode=Subscriptions&name=Subscriptions&art=&fanart=&page=1&perpage=2000&popular=false&updatelisting=false) failed
The first Hulu entry is successfully launching the Hulu plugin to make sure its working. The second is launching from the shortcut to Subscriptions I placed on the homescreen.