XBMC Community Forum
[RELEASE] NHL Gamecenter Addon - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] NHL Gamecenter Addon (/showthread.php?tid=118853)



- rcrh - 2012-01-26 05:49

Is there a particular web page being scrapped for this? I'm hoping it's not the "normal" GCL page as I'm trying to find a site that would be better suited to a remote driven experience.

(I realize the question is a bit off of topic).

Thanks in advance.


- 91dxcrx - 2012-02-09 21:57

Thank you so much for making this add-on, I've been wanting this ever since I got into XBMC. I just upgraded to Eden Beta 3 and when I go to live games it only shows one team and vs (ex: TOR vs.) so the other team and date/time are missing. Also would it be possible to have team logos incorporated somehow? Thanks again.


"The Game Will Start Soon" - anthomacp - 2012-02-10 03:06

Hi Folks,

I currently have an NHL Gamecenter account (works fine on PC, iPad etc.) but after I've installed this plugin on my ATV2(Eden Beta 2 XBMC) the LIVE games won't work. They just display "The game will start soon" and the rotating NHL logo above it. I can view condensed/archived etc games, just for some reason no live games even though they work just fine on my other devices... Any thoughts?


- mikegc - 2012-02-10 19:01

Been doing some investigation into how the streams work, it seems that within the playlist for a game (on archive) is lots of small .ts files which play in sequence (about 5 seconds each). I can see my connection monitor spiking a lot as each new file is loaded rather than nice smooth streaming. I wonder if this has anything to do with the sometimes jerky playback.


- anthomacp - 2012-02-11 03:05

Not sure if this helps but here's the log file from when I try to open a live stream.

Quote:20:49:42 T:166608896 NOTICE: -->Python Interpreter Initialized<--
20:49:42 T:166608896 NOTICE: Mode: 8
20:49:42 T:166608896 NOTICE: URL: /live
20:49:42 T:166608896 NOTICE: Name: Live
20:49:42 T:166608896 NOTICE: /live
20:49:43 T:166608896 NOTICE: File Saved
20:49:47 T:175058944 NOTICE: -->Python Interpreter Initialized<--
20:49:48 T:175058944 NOTICE: Mode: 9
20:49:48 T:175058944 NOTICE: URL: /liveANA vs. DET 02/10/2012
20:49:48 T:175058944 NOTICE: Name: ANA vs. DET 02/10/2012
20:49:48 T:175058944 NOTICE: /liveANA vs. DET 02/10/2012
20:49:51 T:147607552 NOTICE: DVDPlayer: Opening: http://smb.cdnak.neulion.com/fs/nhl/mobile/iphone/video/redwings/#EXT-X-TARGETDURATION:10
20:49:51 T:147607552 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:49:51 T:174116864 NOTICE: Creating InputStream
20:49:51 T:174116864 WARNING: FillBuffer: curl failed with code 22
20:49:51 T:174116864 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
20:49:51 T:174116864 ERROR: Open - failed to open source <http://smb.cdnak.neulion.com/fs/nhl/mobile/iphone/video/redwings/#EXT-X-TARGETDURATION:10>
20:49:51 T:174116864 ERROR: CDVDPlayer::OpenInputStream - error opening [http://smb.cdnak.neulion.com/fs/nhl/mobile/iphone/video/redwings/#EXT-X-TARGETDURATION:10]
20:49:51 T:174116864 NOTICE: CDVDPlayer::OnExit()
20:49:51 T:174116864 NOTICE: CDVDPlayer::OnExit() deleting input stream
20:49:51 T:147607552 ERROR: Playlist Player: skipping unplayable item: 0, path [http://smb.cdnak.neulion.com/fs/nhl/mobile/iphone/video/redwings/#EXT-X-TARGETDURATION:10]
20:49:52 T:147607552 NOTICE: DVDPlayer: Opening: http://smb.cdnak.neulion.com/fs/nhl/mobile/iphone/video/redwings/#EXT-X-MEDIA-SEQUENCE:1
20:49:52 T:147607552 NOTICE: CDVDPlayer::CloseFile()
20:49:52 T:147607552 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:49:52 T:147607552 NOTICE: DVDPlayer: waiting for threads to exit
20:49:52 T:147607552 NOTICE: DVDPlayer: finished waiting
20:49:52 T:147607552 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:49:52 T:174116864 NOTICE: Creating InputStream
20:49:52 T:174116864 WARNING: FillBuffer: curl failed with code 22
20:49:52 T:174116864 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
20:49:52 T:174116864 ERROR: Open - failed to open source <http://smb.cdnak.neulion.com/fs/nhl/mobile/iphone/video/redwings/#EXT-X-MEDIA-SEQUENCE:1>
20:49:52 T:174116864 ERROR: CDVDPlayer::OpenInputStream - error opening [http://smb.cdnak.neulion.com/fs/nhl/mobile/iphone/video/redwings/#EXT-X-MEDIA-SEQUENCE:1]
20:49:52 T:174116864 NOTICE: CDVDPlayer::OnExit()
20:49:52 T:174116864 NOTICE: CDVDPlayer::OnExit() deleting input stream
20:49:52 T:147607552 ERROR: Playlist Player: skipping unplayable item: 1, path [http://smb.cdnak.neulion.com/fs/nhl/mobile/iphone/video/redwings/#EXT-X-MEDIA-SEQUENCE:1]
20:49:53 T:147607552 NOTICE: DVDPlayer: Opening: http://nlds78.cdnak.neulion.com/mobile/data/nhl/redwings/main_3000-20120210183820.ts
20:49:53 T:147607552 NOTICE: CDVDPlayer::CloseFile()
20:49:53 T:147607552 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:49:53 T:147607552 NOTICE: DVDPlayer: waiting for threads to exit
20:49:53 T:147607552 NOTICE: DVDPlayer: finished waiting
20:49:53 T:147607552 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:49:53 T:174116864 NOTICE: Creating InputStream
20:49:53 T:174116864 NOTICE: Creating Demuxer
20:49:54 T:174116864 NOTICE: Opening video stream: 1 source: 256
20:49:54 T:174116864 NOTICE: Creating video codec with codec id: 28
20:49:54 T:174116864 NOTICE: Open - created avcC atom of size(38)
20:49:54 T:174116864 ERROR: CDVDPlayerVideo::OpenStream - Invalid framerate 1000, using forced 25fps and just trust timestamps
20:49:54 T:174116864 NOTICE: Creating video thread
20:49:54 T:180948992 NOTICE: running thread: video_thread
20:49:54 T:174116864 NOTICE: Opening audio stream: 0 source: 256
20:49:54 T:174116864 NOTICE: Finding audio codec for: 86018
20:49:54 T:174116864 NOTICE: Creating audio thread
20:49:54 T:187174912 NOTICE: running thread: CDVDPlayerAudio::Process()
20:49:54 T:187174912 NOTICE: Creating audio device with codec id: 86018, channels: 2, sample rate: 44100, no pass-through
20:49:54 T:180948992 NOTICE: fps: 25.000000, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
20:49:54 T:180948992 WARNING: CRenderManager::Configure - timeout waiting for previous frame
20:49:54 T:180948992 NOTICE: Display resolution DESKTOP : 1280x720 (12)
20:49:54 T:147607552 NOTICE: Using GL_TEXTURE_2D
20:49:54 T:147607552 NOTICE: GL: Using CoreVideoRef RGBA render method
20:49:54 T:147607552 NOTICE: GL: NPOT texture support detected
20:49:59 T:147607552 NOTICE: CDVDPlayer::CloseFile()
20:49:59 T:147607552 NOTICE: DVDPlayer: waiting for threads to exit
20:49:59 T:174116864 NOTICE: CDVDPlayer::OnExit()
20:49:59 T:174116864 NOTICE: DVDPlayer: closing audio stream
20:49:59 T:174116864 NOTICE: Closing audio stream
20:49:59 T:174116864 NOTICE: Waiting for audio thread to exit
20:49:59 T:187174912 NOTICE: thread end: CDVDPlayerAudio::OnExit()
20:49:59 T:174116864 NOTICE: Closing audio device
20:49:59 T:174116864 NOTICE: Deleting audio codec
20:49:59 T:174116864 NOTICE: DVDPlayer: closing video stream
20:49:59 T:174116864 NOTICE: Closing video stream
20:49:59 T:174116864 NOTICE: waiting for video thread to exit
20:49:59 T:180948992 NOTICE: thread end: video_thread
20:49:59 T:174116864 NOTICE: deleting video codec
20:49:59 T:174116864 NOTICE: CDVDPlayer::OnExit() deleting demuxer
20:49:59 T:174116864 NOTICE: CDVDPlayer::OnExit() deleting input stream
20:49:59 T:147607552 NOTICE: DVDPlayer: finished waiting
20:50:00 T:166608896 NOTICE: -->Python Interpreter Initialized<--
20:50:01 T:166608896 NOTICE: Mode: 9
20:50:01 T:166608896 NOTICE: URL: /liveANA vs. DET 02/10/2012
20:50:01 T:166608896 NOTICE: Name: ANA vs. DET 02/10/2012
20:50:01 T:166608896 NOTICE: /liveANA vs. DET 02/10/2012
20:50:01 T:147607552 NOTICE: CDVDPlayer::CloseFile()
20:50:01 T:147607552 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:50:01 T:147607552 NOTICE: DVDPlayer: waiting for threads to exit
20:50:01 T:147607552 NOTICE: DVDPlayer: finished waiting

I've tried 5 different games now over the last 2 nights (home and away) with the same result. I also updated to Eden Beta 3, no change at all.


- 91dxcrx - 2012-02-11 04:45

anthomacp Wrote:Hi Folks,

I currently have an NHL Gamecenter account (works fine on PC, iPad etc.) but after I've installed this plugin on my ATV2(Eden Beta 2 XBMC) the LIVE games won't work. They just display "The game will start soon" and the rotating NHL logo above it. I can view condensed/archived etc games, just for some reason no live games even though they work just fine on my other devices... Any thoughts?

I'm also having this issue as of last night as well.


- Cocktus - 2012-02-11 22:20

Yep, I have the same problem.


- micahg - 2012-02-12 20:22

Also having this problem here. Normally when I played streams the m3u8 was the file being played but now its the individual .ts file that starts it. I have no idea why this just broke but it was working up to the 9th. I wonder if they changed something in the playlist and now XBMC is trying to parse it itself (instead of just passing the whole thing to ffmpeg).


- Carb0 - 2012-02-12 22:44

I don't know if I can fix this. It seems that the structure of the m3u8 file has been changed and XBMC can't play the streams because of that.

I don't have much time to work on the plugin currently. I'll have a closer look at it sometime next week.


- micahg - 2012-02-13 05:43

In the event FFMPEG gets a resync before Eden is released, you could probably just change the m3u8 URLs to start with applehttp:// instead of http:// (its a protocol and a demuxer in the git version). But I dont think that is going to happen.