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 - [brick] - 2013-02-04

(2013-02-03, 21:11)mattmbk Wrote:
(2013-02-01, 21:49)Carb0 Wrote: @mattmbk: Try updating the httplib2 module: httplib2 0.7.7
Extract it and overwrite the files in the addon folder. You can also try updating trough XBMC but I don't know if it works. If it still doesn't work and you use a proxy, disable it and try to start the addon again.

Thanks, but no joy. I got the same error Sad

I'm getting a similar error when trying to load this season's Condensed games. Last year's seem fine, and Live games seem fine. I've also tried updating the httplib2 module per the link, and it didn't change anything. From the log (if you need anything else, just let me know):

10:17:09 T:6764 NOTICE: -->Python Interpreter Initialized<--
10:17:09 T:6764 NOTICE: Mode: 2
10:17:09 T:6764 NOTICE: URL: /condensed/2012
10:17:09 T:6764 NOTICE: Name: 2012 - 2013
10:17:09 T:6764 NOTICE: /condensed/2012
10:17:57 T:6764 ERROR: EXCEPTION: Unknown exception thrown from the call "XBMCAddon::xbmcplugin::addDirectoryItem"
10:17:57 T:6764 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: Unknown exception thrown from the call "XBMCAddon::xbmcplugin::addDirectoryItem"
Traceback (most recent call last):
File "C:\Users\Ben\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\gamecenter.py", line 934, in <module>
MONTH(url,name)
File "C:\Users\Ben\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\gamecenter.py", line 392, in MONTH
addDir(local_string(31207),url+'/07',3,ICON)
File "C:\Users\Ben\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\gamecenter.py", line 889, in addDir
ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=u,listitem=liz,isFolder=True)
RuntimeError: Unknown exception thrown from the call "XBMCAddon::xbmcplugin::addDirectoryItem"
-->End of Python script error report<--
10:18:00 T:4188 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.nhl-gamecenter/?mode=2&name=2012%20-%202013&url=%2fcondensed%2f2012
10:18:00 T:4188 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nhl-gamecenter/?mode=2&name=2012%20-%202013&url=%2fcondensed%2f2012) failed

And thanks for all your work on this, I like this interface way better than the official one.


Re: [RELEASE] NHL Gamecenter Addon - bry - 2013-02-04

Could you please post a YouTube video of the addon in action?


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

(2013-02-01, 21:24)arqcan Wrote: I'm having an issue where the stream crashes back to the add-on game menu, its only started recently happening i'll see if i can get a log and post it. Its almost as if its buffering and then i just gives up on the whole thing.

Try disabling "Show Home/Away Dialog (Archived/Condensed Games)" in the addon settings and report if it fixes the issue.

(2013-02-03, 06:34)juggie Wrote: I have seen the same thing. Would it be possible to add a retry assuming you can detect/handle the stream ending abruptly?

It don't think it's possible to distinguish between a stream that ended abruptly and a stream that ended regularly.

(2013-02-03, 21:11)mattmbk Wrote:
(2013-02-01, 21:49)Carb0 Wrote: @mattmbk: Try updating the httplib2 module: httplib2 0.7.7
Extract it and overwrite the files in the addon folder. You can also try updating trough XBMC but I don't know if it works. If it still doesn't work and you use a proxy, disable it and try to start the addon again.

Thanks, but no joy. I got the same error Sad

It's an SSL error when the addon is trying to log into the website. Did you install anything that might have messed with SSL?

(2013-02-04, 00:29)Metatt Wrote:
(2013-01-30, 21:09)91dxcrx Wrote: Just did a fresh install of Frodo and now the addon crashes XBMC when attempting to stop or back out of a stream. Any ideas on what may be causing this?

I'am having the same issue and no sound until today (but this could be a server problem).
Which information do you need from me?
I can provide you the debug log (/storage/.xbmc/temp/xbmc.log)
[...]

The Client .22 is yatse remote on android phone.
I'am using a raspberry pi with addon version 0.42.

Thanks.

Upload a complete debug log (with debug logging activated) on pastebin.com and post the URL.
You can also try disabling "Show Home/Away Dialog (Archived/Condensed Games)" in the addon settings.

(2013-02-04, 19:01)[brick] Wrote: I'm getting a similar error when trying to load this season's Condensed games. Last year's seem fine, and Live games seem fine. I've also tried updating the httplib2 module per the link, and it didn't change anything. From the log (if you need anything else, just let me know):
[...]
And thanks for all your work on this, I like this interface way better than the official one.

The errors are not related. I'm working on a fix for the error you posted.

EDIT: The error is fixed in version 0.4.3

(2013-02-04, 19:04)bry- Wrote: Could you please post a YouTube video of the addon in action?

I don't have a YouTube account. The addon has a regular XBMC interface. It's nothing special.

EDIT: Here are 2 screenshots:
Image

Image


RE: [RELEASE] NHL Gamecenter Addon - [brick] - 2013-02-04

Quote:
(2013-02-04, 19:01)[brick] Wrote: I'm getting a similar error when trying to load this season's Condensed games. Last year's seem fine, and Live games seem fine. I've also tried updating the httplib2 module per the link, and it didn't change anything. From the log (if you need anything else, just let me know):
[...]
And thanks for all your work on this, I like this interface way better than the official one.

The errors are not related. I'm working on a fix for the error you posted.

EDIT: The error is fixed in version 0.4.3

Yep, works great now, thanks, much appreciated.


RE: [RELEASE] NHL Gamecenter Addon - juitzhead - 2013-02-04

Hi carb0,

First off, many thanks for the add-on.

I'm having a bit of a problem with the add-on though. I downloaded the zip file from the first post in the thread and installed it on my system.

Problem is that its version 0.4.2 and i cant seem to update to 0.4.3 and watch archieved/condensed games? The update option is greyed out. Any idea on how to get the latest version?

Running latest version of Openelec (Frodo).

Cheers!

EDIT: Nevermind, I turned on my system this morning and it was updated to 0.4.3. I can now get access to condensed and archive games. Cheers again Carb0 and keep up the good work Smile


RE: [RELEASE] NHL Gamecenter Addon - mattmbk - 2013-02-05

(2013-02-01, 21:49)Carb0 Wrote: @mattmbk: Try updating the httplib2 module: httplib2 0.7.7
Extract it and overwrite the files in the addon folder. You can also try updating trough XBMC but I don't know if it works. If it still doesn't work and you use a proxy, disable it and try to start the addon again.

Ah, figured it out. I'm using DNSMasq on my router to view blacked out games. If I turn that off it seems to work. Any idea why a simple POST fails with it turned on (given that my web browser works fine)?


RE: [RELEASE] NHL Gamecenter Addon - deschmit - 2013-02-05

Someone suggested pausing the game for some mins decreases the number of re-buffers when the internet connection is having trouble keeping up. I tried this but I see the stream buffers 7 or 8 seconds and then stops downloading. Wondering if I have a setting wrong or if 7-8 seconds is the maximum buffer size. If 7 or 8 seconds is really a maximum, I'm wondering if there is a reason for the limit.


RE: [RELEASE] NHL Gamecenter Addon - popesterb - 2013-02-05

(2013-02-01, 21:49)Carb0 Wrote: @popesterb: Download the repo (zip file) in the first post and upload it to your OpenELEC device. Then go to "Settings->Addons->Install from zip file" in XBMC and load the downloaded zip file. You can then install the addon from my repo in XBMC.

Thanks, got the add-on installed and running! Very nice. Haven't tried any Live games yet as I live in the Middle East so don't normally watch live games anyways.



RE: [RELEASE] NHL Gamecenter Addon - binder420 - 2013-02-06

i Just installed xbmc frodo on my jailbroken Ipad 4 Ios6.1 and the plugin makes xbmc crash some times. Whenever I stop a live stream, it causes the xbmc to crash and sometime when i click on the addon itself and it makes xbmc crash. Is anybody else having crash problems on Ipad 4. Other than than everything else works fine.


RE: [RELEASE] NHL Gamecenter Addon - Roshy - 2013-02-06

(2013-02-06, 04:47)binder420 Wrote: i Just installed xbmc frodo on my jailbroken Ipad 4 Ios6.1 and the plugin makes xbmc crash some times. Whenever I stop a live stream, it causes the xbmc to crash and sometime when i click on the addon itself and it makes xbmc crash. Is anybody else having crash problems on Ipad 4. Other than than everything else works fine.

I have the same problem, but it also happens on all three PCs at home I have xbmc on. Stopping live feeds sometimes crashes xbmc, also just clicking into directories.

Anyone else notice that when a game goes past the 2.5 hours scheduled for tv, the game feeds just stop? This isn't a problem with this adding, it happens on he iOS app, Apple TV, and web browser too. After a few minutes the feeds start again, but I miss like 4 or 5 minutes of the game.


RE: [RELEASE] NHL Gamecenter Addon - juggie - 2013-02-06

binder420, roshy.

That would be a xbmc bug if xbmc is crashing. Would suggest you guys grab your logs and report it.


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

(2013-02-06, 04:47)binder420 Wrote: i Just installed xbmc frodo on my jailbroken Ipad 4 Ios6.1 and the plugin makes xbmc crash some times. Whenever I stop a live stream, it causes the xbmc to crash and sometime when i click on the addon itself and it makes xbmc crash. Is anybody else having crash problems on Ipad 4. Other than than everything else works fine.

Try disabling "Show Home/Away Dialog (Archived/Condensed Games)" in the addon settings and report if it fixes the issue.

(2013-02-05, 06:05)deschmit Wrote: Someone suggested pausing the game for some mins decreases the number of re-buffers when the internet connection is having trouble keeping up. I tried this but I see the stream buffers 7 or 8 seconds and then stops downloading. Wondering if I have a setting wrong or if 7-8 seconds is the maximum buffer size. If 7 or 8 seconds is really a maximum, I'm wondering if there is a reason for the limit.

Unfortunately it's not possible to increase the buffer.


RE: [RELEASE] NHL Gamecenter Addon - grank - 2013-02-07

Hi, I have just started having a problem yesterday. I try to start the add-on, but keep getting "Check your login credentials". I have re-entered them several times. Here is the output from the xbmc log file:

15:36:31 T:2806981696 NOTICE: Thread XBPyThread start, auto delete: false
15:36:31 T:2806981696 NOTICE: -->Python Interpreter Initialized<--
15:36:33 T:2806981696 NOTICE: PIL not available
15:36:33 T:2806981696 NOTICE: Mode: None
15:36:33 T:2806981696 NOTICE: URL: None
15:36:33 T:2806981696 NOTICE: Name: None
15:36:33 T:2806981696 NOTICE: Logging in...
15:36:34 T:2806981696 NOTICE: Cookies saved
15:36:34 T:2806981696 NOTICE: cookies removed

Any help would be greatly appreciated!


RE: [RELEASE] NHL Gamecenter Addon - glueboi - 2013-02-08

I'm getting the same error when stopping a live stream then trying to start another one or change directory, I tryed disabling "Show Home/Away Diaglog (Archived /Condensed Games)" same issue
the difference from myself sand binder420 is that this is on PC not ipad


RE: [RELEASE] NHL Gamecenter Addon - hospitalbed - 2013-02-09

Hey guys. Running XBIAN on the raspberry pi and I installed this yesterday.

When I try to run the add-on it simply says "script failure gamecenter.py" in the bottom right corner with a Red X. Is there a way to get a proper log to see what might be causing this?

Edit: FOUND IT

Code:
11:50:35 T:2843198528  NOTICE: -->Python Interpreter Initialized<--
11:50:37 T:2843198528  NOTICE: PIL not available
11:50:37 T:2843198528  NOTICE: Mode: None
11:50:37 T:2843198528  NOTICE: URL: None
11:50:37 T:2843198528  NOTICE: Name: None
11:50:37 T:2843198528  NOTICE: 0
11:50:37 T:2843198528  NOTICE: 1.0
11:50:37 T:2843198528  NOTICE: Logos found
11:50:37 T:2843198528  NOTICE: Generating thumbnails...
11:50:37 T:2843198528   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.NameError'>
                                            Error Contents: global name 'Image' is not defined
                                            Traceback (most recent call last):
                                              File "/home/xbian/.xbmc/addons/plugin.video.nhl-gamecenter/gamecenter.py", line 929, in <module>
                                                CATEGORIES()
                                              File "/home/xbian/.xbmc/addons/plugin.video.nhl-gamecenter/gamecenter.py", line 286, in CATEGORIES
                                                thumbnailgenerator.createThumbnails(ROOTDIR,THUMBFORMAT,BACKGROUND)
                                              File "/home/xbian/.xbmc/addons/plugin.video.nhl-gamecenter/thumbnailgenerator.py", line 93, in createThumbnails
                                                blank_image = Image.open(os.path.join(ROOTDIR, "resources/images/blank_" + imgtype + "_" + color + ".png"))
                                            NameError: global name 'Image' is not defined
                                            -->End of Python script error report<--
11:50:37 T:3042603008   ERROR: GetDirectory - Error getting plugin://plugin.video.nhl-gamecenter/
11:50:37 T:3042603008   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nhl-gamecenter/) failed
11:50:37 T:2843198528  NOTICE: Thread Background Loader start, auto delete: false

DOUBLE EDIT: I disabled generate thumbnails and it now works. Should I be able to load thumbnails at all?