• 1
  • 78
  • 79
  • 80(current)
  • 81
  • 82
  • 100
[Discontinued] NHL Gamecenter Addon
(2014-10-12, 03:11)juggie Wrote: Carb0, so what is new then that causes the stream to stop playing after a few minutes?

How would custom m3u8 files help this?

I think the cookie changes and XBMC always uses the initial cookie even when the response from the server contains a new cookie.

The idea is to create a server in python that acts as a middlemen between XBMC and the NHL servers. When XBMC requests the m3u8 file from the local server, the local server downloads the real m3u8 file and the keys and creates a new m3u8 file with URLs to the locally saved keys and URLs to the video files on the NHL server. XBMC can then download the video files directly from the NHL servers (these files are not protected) and decrypt them with the locally saved keys.


(2014-10-12, 03:23)Simonizer Wrote: So Rogers logins won't work (we have a free preview until Dec. 31, 2014 if you are an Internet / phone customer of theirs, which I am). I did get that to work on the PS3 app, but not on an Android box running XBMC connected to another TV.

Rogers logins should work in the next update.
Reply
(2014-10-12, 03:33)Carb0 Wrote:
(2014-10-12, 03:11)juggie Wrote: Carb0, so what is new then that causes the stream to stop playing after a few minutes?

How would custom m3u8 files help this?

I think the cookie changes and XBMC always uses the initial cookie even when the response from the server contains a new cookie.

The idea is to create a server in python that acts as a middlemen between XBMC and the NHL servers. When XBMC requests the m3u8 file from the local server, the local server downloads the real m3u8 file and the keys and creates a new m3u8 file with URLs to the locally saved keys and URLs to the video files on the NHL server. XBMC can then download the video files directly from the NHL servers (these files are not protected) and decrypt them with the locally saved keys.

So when xbmc tried to get the key again, it got a 403?
Reply
Carb0,

It may be possible to execute something like you describe as a xbmc service.

http://wiki.xbmc.org/index.php?title=How...g_services
Reply
(2014-10-12, 03:33)Carb0 Wrote:
(2014-10-12, 03:11)juggie Wrote: Carb0, so what is new then that causes the stream to stop playing after a few minutes?

How would custom m3u8 files help this?

I think the cookie changes and XBMC always uses the initial cookie even when the response from the server contains a new cookie.

The idea is to create a server in python that acts as a middlemen between XBMC and the NHL servers. When XBMC requests the m3u8 file from the local server, the local server downloads the real m3u8 file and the keys and creates a new m3u8 file with URLs to the locally saved keys and URLs to the video files on the NHL server. XBMC can then download the video files directly from the NHL servers (these files are not protected) and decrypt them with the locally saved keys.


(2014-10-12, 03:23)Simonizer Wrote: So Rogers logins won't work (we have a free preview until Dec. 31, 2014 if you are an Internet / phone customer of theirs, which I am). I did get that to work on the PS3 app, but not on an Android box running XBMC connected to another TV.

Rogers logins should work in the next update.

Strange that I don't see any freezing in XBMC, it seems to work fine for me, mind you I've only tested for about 5-10mins on a live game. I will try to watch a full game and see what happens. as for plex, my plugin works well IF i am using a ROKU, every other client sh*t the bed...strange. my addon looks like http://imgur.com/a/KCEsl, still need some UI clean up.

Does your URL look similar to this after you call publishpoint?
http://nlds225.cdnak.neulion.com/nlds/nh...EFOOBARONE

that's what I get back and work.
Reply
(2014-10-12, 04:07)juggie Wrote: So when xbmc tried to get the key again, it got a 403?

Yes, it got a 403.

(2014-10-12, 08:01)canucks Wrote: Strange that I don't see any freezing in XBMC, it seems to work fine for me, mind you I've only tested for about 5-10mins on a live game. I will try to watch a full game and see what happens. as for plex, my plugin works well IF i am using a ROKU, every other client sh*t the bed...strange. my addon looks like http://imgur.com/a/KCEsl, still need some UI clean up.

Does your URL look similar to this after you call publishpoint?


that's what I get back and work.

Yes, it does look similar. You probably stopped playback before XBMC tried to access a new key.
Reply
The NFL Game Pass add on recently struggled with this issue as well, getting 403 errors when the cookies changed. NFL also uses an HLS implementation for the video. Perhaps their solution will work here?

https://github.com/Alexqw/xbmc-gamepass/issues/128
Reply
(2014-10-12, 08:01)canucks Wrote:
(2014-10-12, 03:33)Carb0 Wrote:
(2014-10-12, 03:11)juggie Wrote: Carb0, so what is new then that causes the stream to stop playing after a few minutes?

How would custom m3u8 files help this?

I think the cookie changes and XBMC always uses the initial cookie even when the response from the server contains a new cookie.

The idea is to create a server in python that acts as a middlemen between XBMC and the NHL servers. When XBMC requests the m3u8 file from the local server, the local server downloads the real m3u8 file and the keys and creates a new m3u8 file with URLs to the locally saved keys and URLs to the video files on the NHL server. XBMC can then download the video files directly from the NHL servers (these files are not protected) and decrypt them with the locally saved keys.


(2014-10-12, 03:23)Simonizer Wrote: So Rogers logins won't work (we have a free preview until Dec. 31, 2014 if you are an Internet / phone customer of theirs, which I am). I did get that to work on the PS3 app, but not on an Android box running XBMC connected to another TV.

Rogers logins should work in the next update.

Strange that I don't see any freezing in XBMC, it seems to work fine for me, mind you I've only tested for about 5-10mins on a live game. I will try to watch a full game and see what happens. as for plex, my plugin works well IF i am using a ROKU, every other client sh*t the bed...strange. my addon looks like http://imgur.com/a/KCEsl, still need some UI clean up.

Does your URL look similar to this after you call publishpoint?
http://nlds225.cdnak.neulion.com/nlds/nh...EFOOBARONE

that's what I get back and work.

I'm all for 'choice' but in this case is it possible two heads are better then one and it would be worth collaborating on the one addon? Just a thought.

Edit: Would be nice to move this to github and collaborate there.
Reply
(2014-10-12, 15:23)rbrohman Wrote: The NFL Game Pass add on recently struggled with this issue as well, getting 403 errors when the cookies changed. NFL also uses an HLS implementation for the video. Perhaps their solution will work here?

https://github.com/Alexqw/xbmc-gamepass/issues/128

I did exactly the same thing and it didn't work. Luckily, I was able to fix it. The Rangers stream has been running for 20 minutes now without issues. I had to request the first key before I started to play the stream. This gave me additional cookies which seem to be necessary. I'm going to update the add-on tomorrow with a quick fix for live games.

(2014-10-12, 19:39)juggie Wrote: I'm all for 'choice' but in this case is it possible two heads are better then one and it would be worth collaborating on the one addon? Just a thought.

Edit: Would be nice to move this to github and collaborate there.

It would probably be a good idea to move this to github.
Reply
That's excellent news! Very glad to hear. Thanks for your ongoing effort.
Reply
Thanks for all the hard work Carb0 and others.
Reply
(2014-10-13, 02:38)Carb0 Wrote:
(2014-10-12, 19:39)juggie Wrote: I'm all for 'choice' but in this case is it possible two heads are better then one and it would be worth collaborating on the one addon? Just a thought.

Edit: Would be nice to move this to github and collaborate there.

It would probably be a good idea to move this to github.

Canucks,

What makes your addon different?
Reply
Thanks Carb0, appreciate your work on this.
Reply
(2014-10-13, 03:46)juggie Wrote:
(2014-10-13, 02:38)Carb0 Wrote:
(2014-10-12, 19:39)juggie Wrote: I'm all for 'choice' but in this case is it possible two heads are better then one and it would be worth collaborating on the one addon? Just a thought.

Edit: Would be nice to move this to github and collaborate there.

It would probably be a good idea to move this to github.

Canucks,

What makes your addon different?

mine has a custom ui and live score update for the current day's game.
Reply
(2014-10-13, 08:47)canucks Wrote:
(2014-10-13, 03:46)juggie Wrote:
(2014-10-13, 02:38)Carb0 Wrote: It would probably be a good idea to move this to github.

Canucks,

What makes your addon different?

mine has a custom ui and live score update for the current day's game.

Would be interested in collaborating on one addon, or at least on the core features and forking off for the things you would like to do custom to your own. No reason for you both to maintain login code, code to make sure live works, etc.
Reply
Very nice seeing people get together and put their ideas in to this already awesome add-on. Can't wait to see the finished product. Also if you are looking for some fanart or icons for the add-on, I would be more than happy to assist.
Reply
  • 1
  • 78
  • 79
  • 80(current)
  • 81
  • 82
  • 100

Logout Mark Read Team Forum Stats Members Help
[Discontinued] NHL Gamecenter Addon14