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 - 2014-02-06

It's a bit harder to get the keys that are needed to decrypt the streams this time. Theoretically, it should be possible to emulate the behavior of the official iPad app but I haven't been successful yet. Unfortunately, I don't have much time to work on this.

Don't get your hopes up that the add-on will work anytime soon. If you really want to watch live games, use one of the official apps. Condensed and archived games still work, so the add-on isn't completely useless.


RE: [RELEASE] NHL Gamecenter Addon - pmikota - 2014-02-06

I am use to the quality of what I was getting from this add-on and now everything I try seems like crap.

Is there an technical explanation on here somewhere as to why?

Im using the same hardware (same network same MAC computer, etc etc) and login to NHL with my Chrome browser. The quality is no where close and its even lagging. The lagging part makes no sense to me.

You think their own server would give me quality over web browser.


RE: [RELEASE] NHL Gamecenter Addon - ggoncalves - 2014-02-06

(2014-02-06, 00:05)Carb0 Wrote: It's a bit harder to get the keys that are needed to decrypt the streams this time. Theoretically, it should be possible to emulate the behavior of the official iPad app but I haven't been successful yet. Unfortunately, I don't have much time to work on this.

Don't get your hopes up that the add-on will work anytime soon. If you really want to watch live games, use one of the official apps. Condensed and archived games still work, so the add-on isn't completely useless.

From a damn noobie here:

I really don't know how to retrieve this key in order to emulate… BUT, theoretically is possible to use WireShark as a Man in The Middle, to intercept the UDP packages between the iPad and the neulion, and try to find the key.

The problem is that I don't know how to use the WireShark properly to do this. Actually, I sux at hacking.

Another feeling is, judging by the last error that they kicked us every 5 ~ 10 minutes, MAYBE they update the key every 5 ~ 10 minutes. So, MAYBE, the solution should include getting the key dynamically.

But anyway, it's just a blind tip to anyone who can help hacking into this. 1 cent.

I'm here watching in my iPad, and sometimes, eventually, I watch the stream in 60 fps… it's not even close to this addon.


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

I know. Smile I've always been using Wireshark to develop this add-on. If you're interested here's a short explanation on how to intercept the packages of iOS devices:
http://useyourloaf.com/blog/2012/02/07/remote-packet-capture-for-ios-devices.html

The keys change from time to time but the error some of you were having wasn't related to that.

@pmikota
Make sure that you don't use the RTMP streams and that you use the highest quality setting.


RE: [RELEASE] NHL Gamecenter Addon - eracknaphobia - 2014-02-06

Looks like the vlc streamers are back up. Seems they're using a mix of privoxy, vlc and a PS4 user-agent.

Here's what's in their privoxy config file, not sure what it's doing:

{+hide-user-agent{PS4 libhttp/1.60 (PlayStation 4)}}
/

{+client-header-filter{remove-headers}}
/

{+add-header{Cookie: nlqptid=__auth__=1391696125_ea4e6d219b4eca0d79f53f2e7decb8db}}
nlsk.neulion.com



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

I think this cookie is user specific and the user will probably get blocked soon. However, if you can setup Fiddler or similar programs to use the cookie and the PS4 useragent, it should work in XBMC too. Doing this without external programs is a bit more involved but should be possible.

If anyone wants to try this, remeber to remove the line you added in the hosts file.


RE: [RELEASE] NHL Gamecenter Addon - Seafish - 2014-02-06

They give away exe file which will generate cookie file for you every time you run it. I don't believe it's account-based, but generated (looks like timestamp+hash)
I don't know if this method works though and even if it is I think it will be blocked by NeuLion pretty soon.


RE: [RELEASE] NHL Gamecenter Addon - redwing88 - 2014-02-07

(2014-02-06, 03:29)ggoncalves Wrote:
(2014-02-06, 00:05)Carb0 Wrote: It's a bit harder to get the keys that are needed to decrypt the streams this time. Theoretically, it should be possible to emulate the behavior of the official iPad app but I haven't been successful yet. Unfortunately, I don't have much time to work on this.

Don't get your hopes up that the add-on will work anytime soon. If you really want to watch live games, use one of the official apps. Condensed and archived games still work, so the add-on isn't completely useless.

From a damn noobie here:

I really don't know how to retrieve this key in order to emulate… BUT, theoretically is possible to use WireShark as a Man in The Middle, to intercept the UDP packages between the iPad and the neulion, and try to find the key.

The problem is that I don't know how to use the WireShark properly to do this. Actually, I sux at hacking.

Another feeling is, judging by the last error that they kicked us every 5 ~ 10 minutes, MAYBE they update the key every 5 ~ 10 minutes. So, MAYBE, the solution should include getting the key dynamically.

But anyway, it's just a blind tip to anyone who can help hacking into this. 1 cent.

I'm here watching in my iPad, and sometimes, eventually, I watch the stream in 60 fps… it's not even close to this addon.

I'm pretty sure the key changes randomly and isn't a static key...I have switched over to hockeystreams via XBMC and get the same 4500kb/ HD quality and its cheaper then GC.


RE: [RELEASE] NHL Gamecenter Addon - ggoncalves - 2014-02-07

(2014-02-07, 18:32)redwing88 Wrote: I'm pretty sure the key changes randomly and isn't a static key...I have switched over to hockeystreams via XBMC and get the same 4500kb/ HD quality and its cheaper then GC.

I wish I had the same luck. I´ve signed them booth on past week just to test hockeystreams. I had too many buffering issues and also got kicked out several times.

I´ve used in Brazil, on US East servers.


RE: [RELEASE] NHL Gamecenter Addon - Seafish - 2014-02-07

Now they are just telling that if you modify user-agent to PS4 then it will work without any cookie modification
Should you try Carb0?


RE: [RELEASE] NHL Gamecenter Addon - redwing88 - 2014-02-08

(2014-02-07, 21:10)ggoncalves Wrote:
(2014-02-07, 18:32)redwing88 Wrote: I'm pretty sure the key changes randomly and isn't a static key...I have switched over to hockeystreams via XBMC and get the same 4500kb/ HD quality and its cheaper then GC.

I wish I had the same luck. I´ve signed them booth on past week just to test hockeystreams. I had too many buffering issues and also got kicked out several times.

I´ve used in Brazil, on US East servers.

Maybe its your internet connection? I know HS will buffer but GC will buffer time to time as well. I'm on a 50 megabit line though.


RE: [RELEASE] NHL Gamecenter Addon - smoak - 2014-02-08

The keys change periodically (something like every 5 minutes). Requesting the key file will return a cookie that needs to be set for subsequent key requests. You can probably use the frodo workaround that downloads the m3u8 file and key and just periodically check if the key changed to download the new one to use.


RE: [RELEASE] NHL Gamecenter Addon - Carb0 - 2014-02-08

I have just updated the add-on:

0.6.0
- Fixed live games
- Added game highlights
- Added faster way to access last night's games
- Removed classic games

Important: If you used to "hosts-file fix", you need to remove the line you added to make live games work again.

It seems that the streams are much better protected on iPad and iPhone than on the PS3/PS4. Thanks to eracknaphobia for the tip.


RE: [RELEASE] NHL Gamecenter Addon - dtvnewbie - 2014-02-08

Getting a script error on my Win7 PC XBMC on version 0.6.0 - without any hosts fix.
Does the UserAgent setting in the updated addon need to be changed for different clients - e.g. PC, OUYA (Android)?

14:30:51 T:9204 NOTICE: Previous line repeats 3 times.
14:30:51 T:9204 NOTICE: Thread Background Loader start, auto delete: false
14:30:53 T:10188 NOTICE: Thread XBPyThread start, auto delete: false
14:30:53 T:10188 NOTICE: -->Python Interpreter Initialized<--
14:30:53 T:10188 NOTICE: Mode: None
14:30:53 T:10188 NOTICE: URL: None
14:30:53 T:10188 NOTICE: Name: None
14:30:53 T:10188 NOTICE: Logging in...
14:31:04 T:10188 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'socket.timeout'>
Error Contents: timed out
Traceback (most recent call last):
File "C:\Users\MyUser\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\gamecenter.py", line 924, in <module>
CATEGORIES()
File "C:\Users\MyUser\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\gamecenter.py", line 246, in CATEGORIES
login()
File "C:\Users\MyUser\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\gamecenter.py", line 109, in login
response, content = http.request(url, 'POST', headers=headers, body=urllib.urlencode(body))
File "C:\Users\MyUser\AppData\Roaming\XBMC\addons\script.module.httplib2\lib\httplib2\__init__.py", line 1436, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "C:\Users\MyUser\AppData\Roaming\XBMC\addons\script.module.httplib2\lib\httplib2\__init__.py", line 1188, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "C:\Users\MyUser\AppData\Roaming\XBMC\addons\script.module.httplib2\lib\httplib2\__init__.py", line 1123, in _conn_request
conn.connect()
File "C:\Users\MyUser\AppData\Roaming\XBMC\addons\script.module.httplib2\lib\httplib2\__init__.py", line 887, in connect
sock.connect((self.host, self.port))
File "<string>", line 1, in connect
timeout: timed out
-->End of Python script error report<--
14:31:04 T:10732 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.nhl-gamecenter/
14:31:04 T:10732 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nhl-gamecenter/) failed
14:31:04 T:11204 NOTICE: Thread Jobworker start, auto delete: true
14:31:04 T:9976 NOTICE: Thread Background Loader start, auto delete: false


RE: [RELEASE] NHL Gamecenter Addon - Carb0 - 2014-02-08

No, if you change the user-agent, live games won't work.

Do you use a proxy or something similar?