pigskin / kodi-gamepass

NFL Game Pass add-on for Kodi
Other
122 stars 83 forks source link

Can't access NFL Network section #14

Closed msoderberg closed 11 years ago

msoderberg commented 11 years ago

Hi,

Thanks for creating this plugin, much appreciated! I've started to look in to the code so I might be able to contribute in the future if needed/wanted.

I'm using the latest version (high bitrate working great) and ran in to the same issue as dahlSTROM with the NFL Network section.

I get "Script failed" and a pop-up with the message "Could not connect to network server".

Extract from the log file (XBMC version 13.0-ALPHA3, let me know if you need the full log):

21:47:55 T:2953829232  NOTICE: [StorageClient-2.5.2] '_sock_init' : ''
21:47:55 T:2953829232  NOTICE: [StorageClient-2.5.2] '_sock_init' : 'Done: u'/home/media/.xbmc/temp/commoncache.socket''
21:47:55 T:2953829232  NOTICE: [StorageClient-2.5.2] '_getCache' : ''
21:47:55 T:2953829232  NOTICE: [StorageClient-2.5.2] '_getCache' : 'Done'
21:47:55 T:2953829232  NOTICE: [StorageClient-2.5.2] 'cacheFunction' : 'Running: '<?xml version="1.0" encoding="UTF-8"?>\r\n<result>\r\n\t<config>\r\n\t\t<locProgramIma
ge>http://smb.cdn.neulion.com/u/nfl/nfl/thumbs/</locProgramImage>\r\n\t\t<locChannelVideo></locChannelVideo>\r\n\t\t<locCategoryImage>flex/images</locCategoryImage>\r\n
\t\t\r\n\t\t\t\r\n\t\t\t<locEDL>http://smb.cdnak.neulion.com/fs/nfl/nfl/edl/nflgp/</locEDL>\r\n\t\t\r\n\t\t<locQOS>http://nlqosdrecv01.neulion.com/nfldrecv/ProxyBean</locQOS>\r\n\t\t\r\n\t</config>\r\n\t<currentWeek>202</currentWeek>\r\n\t<currentSeason>2013</currentSeason>\r\n\t<currentDate d="Tue" tzOffset="-4">2013-09-10T15:47:55.336</currentDate>\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\t<statsFeedPrefix>http://smb.cdnak.neulion.com/fs/nfl/nfl/stats/boxscores/</statsFeedPrefix>\r\n\t\t\t<scoresFeedPrefix>http://smb.cdnak.neulion.com/fs/nfl/nfl/stats/scores/</scoresFeedPrefix>\r\n\t\t\t<pbpFeedPrefix>http://smb.cdnak.neulion.com/fs/nfl/nfl/edl/nflgr/</pbpFeedPrefix>\r\n\t\t\t<searchPrefix><![CDATA[http://smbsolr.cdnak.neulion.com/solr/nflplay/select?fl=*&rows=200&q=]]></searchPrefix>\r\n\t\t\t<messageFeedPrefix><![CDATA[http://smb.cdnak.neulion.com/fs/nfl/nfl/appmessage/]]></messageFeedPrefix>\r\n\t\t\r\n\t\r\n\t<fantasyPrefix><![CDATA[http://subs.api.fantasy.nfl.com/]]></fantasyPrefix>\r\n\t<fgowCurrentSeason>false</fgowCurrentSeason>\r\n\t\r\n\t\t\r\n\t\t\t<user>\r\n\t\t\t\t<userName><![CDATA[edited]]></userName>\r\n\t\t\t\t<firstName><![CDATA[edited]]></firstName>\r\n\t\t\t</user>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<subscription expiration="2014-08-01T00:00:00.000">SEASON_PLUS_INSTALLMENT</subscription>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t<!--<sponsor>visa</sponsor>-->\r\n\t\t\r\n\t\t\r\n\t\r\n\t<country>SE</country>\r\n\t\r\n\t\r\n\t<ukrz>true</ukrz>\r\n\t\r\n\t\t<rzPhase>pre</rzPhase>\r\n\t\r\n\t<redZoneCats>\r\n\t\t\r\n\t\t\t<cat season="2011" id="116" />\r\n\t\t\r\n\t\t\t<cat season="2012" id="149" />\r\n\t\t\r\n\t\t\t<cat season="2013" id="182" />\r\n\t\t\r\n\t</redZoneCats>\r\n</result>\r\n\r\n'|d41d8cd98f00b204e9800998ecf8427e|'
21:47:55 T:2953829232   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: 'str' object is not callable
                                            Traceback (most recent call last):
                                              File "/home/media/.xbmc/addons/xbmc-gamepass-master/default.py", line 461, in <module>
                                                get_cookies = cache.cacheFunction(get_current_week())
                                              File "/home/media/.xbmc/addons/script.common.plugin.cache/lib/StorageServer.py", line 562, in cacheFunction
                                                ret_val = funct(*args)
                                            TypeError: 'str' object is not callable
                                            -->End of Python script error report<--
21:47:55 T:3020855056   ERROR: GetDirectory - Error getting plugin://plugin.video.nfl.gamepass/?mode=5&name=NFL%20Network&url=nfl_network_url
21:47:55 T:3020855056   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nfl.gamepass/?mode=5&name=NFL%20Network&url=nfl_network_url) failed
divingmule commented 11 years ago

Sorry, a slight error on my part :-/

Should be fixed > https://github.com/Alexqw/xbmc-gamepass/commit/0643f6ae438f3ef1d1333fdd9a74b9b9c7f434d4

emilsvennesson commented 11 years ago

@divingmule Awesome, everything now works as it should. Nice job! :)

msoderberg commented 11 years ago

Yes now it works, thanks! :)