Kodi Community Forum
[Discontinued] NHL Gamecenter Addon - 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: [Discontinued] NHL Gamecenter Addon (/showthread.php?tid=118853)



RE: [RELEASE] NHL Gamecenter Addon - Carb0 - 2013-02-23

I have no idea what's causing the crash. I started the addon several times since yesterday and it crashed a few times but it works most of the time without issues. The logs don't contain any information why it crashes.


RE: [RELEASE] NHL Gamecenter Addon - ricosuave0922 - 2013-02-26

(2013-02-23, 11:57)Carb0 Wrote: I have no idea what's causing the crash. I started the addon several times since yesterday and it crashed a few times but it works most of the time without issues. The logs don't contain any information why it crashes.

This is happening on not only my ipad 3 and iphone 5 but also MULTIPLE co-workers devices as well. Some have only this plugin installed, others have multiple plugins installed.

I enabled debug logging, here is everything from when the plugin is launched until xbmc crashes. Does this help at all?

Code:
17:34:15 T:75046912   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.nhl-gamecenter/)
17:34:15 T:75046912   DEBUG:   ParentPath = [addons://sources/video/]
17:34:15 T:268414976   DEBUG: StartScript - calling plugin NHL Gamecenter('plugin://plugin.video.nhl-gamecenter/','1','')
17:34:15 T:268414976    INFO: initializing python engine.
17:34:15 T:268414976   DEBUG: new python thread created. id=5
17:34:15 T:268414976   DEBUG: WaitOnScriptResult - waiting on the NHL Gamecenter (id=5) plugin...
17:34:15 T:292556800   DEBUG: Python thread: start processing
17:34:15 T:292556800  NOTICE: -->Python Interpreter Initialized<--
17:34:15 T:292556800   DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/plugin.video.nhl-gamecenter/gamecenter.py
17:34:15 T:292556800   DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/plugin.video.nhl-gamecenter:/var/mobile/Library/Preferences/XBMC/addons/script.module.t0mm0.common/lib:/private/var/stash/Applications.jEYjgg/XBMC.app/XBMCData/XBMCHome/addons/weather.wunderground/resources/lib/wunderground:/private/var/stash/Applications.jEYjgg/XBMC.app/XBMCData/XBMCHome/addons/script.module.simplejson/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.myconnpy/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.httplib2/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib:/private/var/stash/Applications.jEYjgg/XBMC.app/XBMCData/XBMCHome/addons/script.module.pil/lib:/var/mobile/Library/Preferences/XBMC/addons/script.common.plugin.cache/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.simple.downloader/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.urlresolver/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.parsedom/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib:/private/var/stash/Applications.jEYjgg/XBMC.app/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.metahandler/lib:/Applications/XBMC.app/Frameworks:/Applications/XBMC.app/Frameworks/lib/python26.zip:/Applications/XBMC.app/Frameworks/lib/python2.6:/Applications/XBMC.app/Frameworks/lib/python2.6/plat-darwin:/Applications/XBMC.app/Frameworks/lib/python2.6/plat-mac:/Applications/XBMC.app/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.app/Frameworks/lib/python2.6/lib-tk:/Applications/XBMC.app/Frameworks/lib/python2.6/lib-old:/Applications/XBMC.app/Frameworks/lib/python2.6/lib-dynload:/Applications/XBMC.app/Frameworks/lib/python2.6/site-packages:
17:34:15 T:292556800   DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.video.nhl-gamecenter
17:34:15 T:292556800   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.nhl-gamecenter" dependent on version 1.0 of the xbmc.python api
17:34:15 T:75046912   DEBUG: ------ Window Init (DialogBusy.xml) ------
17:34:15 T:265121792    INFO: Scriptresult: Success
17:34:15 T:265121792    INFO: Python script stopped
17:34:15 T:75046912   DEBUG: waiting for python thread 4 (/private/var/stash/Applications.jEYjgg/XBMC.app/XBMCData/XBMCHome/addons/weather.wunderground/default.py) to stop
17:34:15 T:75046912   DEBUG: python thread 4 (/private/var/stash/Applications.jEYjgg/XBMC.app/XBMCData/XBMCHome/addons/weather.wunderground/default.py) destructed
17:34:15 T:256540672   DEBUG: GetZipList - Processing zip://special%3a%2f%2fxbmc%2fmedia%2fweather.zip/



RE: [RELEASE] NHL Gamecenter Addon - Carb0 - 2013-02-27

There is nothing suspicious in the log. Can you post the complete debug log on pastebin.com?


RE: [RELEASE] NHL Gamecenter Addon - allroy1975 - 2013-02-28

this is SOOOO awesome. I love my Raspberry Pi running XBIAN, but this puts it over the top! when I first fired it up, I was watching Habs vs Leafs and it kept stopping to buffer, I just switched to Flyers vs. Caps...and it's flawless! I had been trying to do this with an i7 laptop through HDMI, and the pi looks SOOO much better!

Man I'm a happy camper!

Thanks SOOOOO much for this Addon!!!!!


RE: [RELEASE] NHL Gamecenter Addon - rikun - 2013-03-01

Any chance you could share some of the code you use to select the stream quality? I've done some reverse engineering for the PS3 app, and would like to add an overwrite for the automatic quality selection for it. I've done some digging, there are .xml files in the app that include lots of options for the stream quality, but I'm not sure which one I should change...

Also, some live games yesterday were streamed in native 60fps, never seen a game before on GCL in genuine 60fps (not even the archived ones). Man, those games looked smooth as butter (some jittering was going on with the FPS maybe once in a five minutes for a couple of seconds, though).

I hope they'll have some more games streaming in 60fps Smile


RE: [RELEASE] NHL Gamecenter Addon - DrDextr - 2013-03-01

Hello Carb0. Thanks for the great work on this plugin. Since a while back I am unable to use the plugin to view Condensed or Archived games with plugin 0.4.3 on Openelec 3.0 RC3 ION Build "Error in gamecenter.py" is shown when trying to open the 2012-2013 folder in both Condensed and archive.

Since no one else has reported it here in the forums I am starting to worry it's only me...

It has worked before. Last time it stopped working you released an updated (0.4.2?) that fixed it but now it does not work again. I have tried to re-install the plugin by deleting the plugin directory without change.
Problem in the log seems to be focused on File "/storage/.xbmc/addons/plugin.video.nhl-gamecenter/gamecenter.py", line 375, in MONTH i = int(lastmonth)
ValueError: invalid literal for int() with base 10: '2013-02-28 00'

A longer log here: http://pastebin.com/VrPABjii


RE: [RELEASE] NHL Gamecenter Addon - Carb0 - 2013-03-02

(2013-03-01, 17:35)rikun Wrote: Any chance you could share some of the code you use to select the stream quality?

You can take a look at gamecenter.py in the addon folder. I just alter the url to the m3u8 file. There is a always a top level m3u8 file that conatins the names of the m3u8 files for different stream qualities. For example if the url to the toplevel m3u8 file is http://a.link/colorado.at.detroit.m3u8. I just change the url to http://a.link/colorado.at.detroit_3000.m3u8 for the 3000kbit/s stream. To find the correct names for the m3u8 files you can just open the toplevel m3u8 file in a text editor.

(2013-03-01, 22:29)DrDextr Wrote: Hello Carb0. Thanks for the great work on this plugin. Since a while back I am unable to use the plugin to view Condensed or Archived games with plugin 0.4.3 on Openelec 3.0 RC3 ION Build "Error in gamecenter.py" is shown when trying to open the 2012-2013 folder in both Condensed and archive.

Do you still get the error or was it just temporary? It works fine for me.


RE: [RELEASE] NHL Gamecenter Addon - ricosuave0922 - 2013-03-02

(2013-02-27, 23:08)Carb0 Wrote: There is nothing suspicious in the log. Can you post the complete debug log on pastebin.com?

So i played around with some things and tried out some of the nighly builds of xbmc. The plugin works almost flawlessly on the February 24th nightly build. The 25th nightly however broke it again. probably doesnt help you at all, but if there is anything i can do/get you that will help please let me know.


RE: [RELEASE] NHL Gamecenter Addon - DrDextr - 2013-03-03

(2013-03-02, 13:52)Carb0 Wrote: [
(2013-03-01, 22:29)DrDextr Wrote: Hello Carb0. Thanks for the great work on this plugin. Since a while back I am unable to use the plugin to view Condensed or Archived games with plugin 0.4.3 on Openelec 3.0 RC3 ION Build "Error in gamecenter.py" is shown when trying to open the 2012-2013 folder in both Condensed and archive.

Do you still get the error or was it just temporary? It works fine for me.

I have been getting the error for at least two weeks and I am still getting the error 100% of the time so it is definitely not temporary. Have now updated to RC4 (openelec 2.99.4) and problem remains. Live games work fine. From the log I posted it just seems that on my setup the way you parse the lastmonth does not return the number of the month as expected but instead a string like '2013-03-02 00' which is not an int. Tried to change my timezone in openelec but not difference. If you need any other log than the one in the last post tell me and I will try to find it.


RE: [RELEASE] NHL Gamecenter Addon - Carb0 - 2013-03-03

(2013-03-02, 21:25)ricosuave0922 Wrote:
(2013-02-27, 23:08)Carb0 Wrote: There is nothing suspicious in the log. Can you post the complete debug log on pastebin.com?

So i played around with some things and tried out some of the nighly builds of xbmc. The plugin works almost flawlessly on the February 24th nightly build. The 25th nightly however broke it again. probably doesnt help you at all, but if there is anything i can do/get you that will help please let me know.

Can you post a complete debug log on pastebin.com?

(2013-03-03, 00:15)DrDextr Wrote: I have been getting the error for at least two weeks and I am still getting the error 100% of the time so it is definitely not temporary. Have now updated to RC4 (openelec 2.99.4) and problem remains. Live games work fine. From the log I posted it just seems that on my setup the way you parse the lastmonth does not return the number of the month as expected but instead a string like '2013-03-02 00' which is not an int. Tried to change my timezone in openelec but not difference. If you need any other log than the one in the last post tell me and I will try to find it.

Can you upload your archive.xml? It's in the addon folder.


RE: [RELEASE] NHL Gamecenter Addon - DrDextr - 2013-03-03

(2013-03-03, 13:39)Carb0 Wrote:
(2013-03-03, 00:15)DrDextr Wrote: I have been getting the error for at least two weeks and I am still getting the error 100% of the time so it is definitely not temporary. Have now updated to RC4 (openelec 2.99.4) and problem remains. Live games work fine. From the log I posted it just seems that on my setup the way you parse the lastmonth does not return the number of the month as expected but instead a string like '2013-03-02 00' which is not an int. Tried to change my timezone in openelec but not difference. If you need any other log than the one in the last post tell me and I will try to find it.

Can you upload your archive.xml? It's in the addon folder.

Here is my archive.xml http://pastebin.com/2xVvMCqJ


RE: [RELEASE] NHL Gamecenter Addon - Carb0 - 2013-03-03

I just uploaded a new version of the addon that fixes the issue.


RE: [RELEASE] NHL Gamecenter Addon - ricosuave0922 - 2013-03-03

(2013-03-03, 13:39)Carb0 Wrote:
(2013-03-02, 21:25)ricosuave0922 Wrote:
(2013-02-27, 23:08)Carb0 Wrote: There is nothing suspicious in the log. Can you post the complete debug log on pastebin.com?

So i played around with some things and tried out some of the nighly builds of xbmc. The plugin works almost flawlessly on the February 24th nightly build. The 25th nightly however broke it again. probably doesnt help you at all, but if there is anything i can do/get you that will help please let me know.

Can you post a complete debug log on pastebin.com?

http://pastebin.com/SwH287Z1


RE: [RELEASE] NHL Gamecenter Addon - DrDextr - 2013-03-03

(2013-03-03, 17:59)Carb0 Wrote: I just uploaded a new version of the addon that fixes the issue.

Thank you Carb0 for the quick fix. I can confirm that this also solves the problem on my side.

A feature suggestion: Would it be possible to adjust the time in the Live games listing according to the XBMC timezone setting? I am not in the USA so when I browse the list of live games the start time shown in the list is not correct according to my local time (GMT+1) but seems to be according to one of the US timezones I assume.


RE: [RELEASE] NHL Gamecenter Addon - jayman13 - 2013-03-05

Any way to watch a live game from the beginning? I often will start watching a game after it started and want to see if that is possible...