![]() |
|
[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) |
RE: [RELEASE] NHL Gamecenter Addon - spektr - 2012-04-15 11:21 (2012-04-15 06:17)Carb0 Wrote: You're right. The plugin does download the live.xml file from the NHL servers. This file contains valid links as long as the game is still running. There's nothing you can do about it unless you scrape the NHL website directly. One more question for you: I see games hit the 'archive' about 5-7 hours after they're played (from what I can figure). Let's take Saturday's Coyotes game for example, I can watch the Archived (1600kbps) game. However, the 'Live' 3000/1600/800 kbps version remains up for a few days after the game's been played. Any way to grab those streams? I saw a 'calendar.xml' file that may be interesting.... If you could look into it, would be greatly appreciated (as it fixes the 'hole' issue between 'live' and 'archive')! RE: [RELEASE] NHL Gamecenter Addon - Carb0 - 2012-04-15 17:18 (2012-04-15 06:20)spektr Wrote: Yup, I've been trying to reverse engineer how your plugin works from the gamecenter.py file, trying to brush up on my coding at the same time Look at at the source code of the webpage where you can watch the game. Or try Wireshark and look at the web traffic when you start the game. (2012-04-15 06:20)spektr Wrote: Also, any ideas why apok's HLS method isn't working for me? I can play the m3u8 files with ffmpeg, but mlbhls doesn't seem to like it... Sorry, I can't help you with that. I use a custom build. (2012-04-15 06:20)spektr Wrote: Alternatively, I've also recompiled xbmc with the patch here, and it seems to play m3u8 files fine. Do I need to do anything special to watch live games using your plugin? (I reverted back to your version after I couldn't get apok's to work). No, it just works. (2012-04-15 11:21)spektr Wrote: One more question for you: I see games hit the 'archive' about 5-7 hours after they're played (from what I can figure). Let's take Saturday's Coyotes game for example, I can watch the Archived (1600kbps) game. However, the 'Live' 3000/1600/800 kbps version remains up for a few days after the game's been played. Any way to grab those streams? I saw a 'calendar.xml' file that may be interesting.... If you could look into it, would be greatly appreciated (as it fixes the 'hole' issue between 'live' and 'archive')! Does the file contain video links? Can you send me a PM with the URL? RE: [RELEASE] NHL Gamecenter Addon - spektr - 2012-04-16 06:15 (2012-04-15 17:18)Carb0 Wrote:(2012-04-15 06:20)spektr Wrote: Alternatively, I've also recompiled xbmc with the patch here, and it seems to play m3u8 files fine. Do I need to do anything special to watch live games using your plugin? (I reverted back to your version after I couldn't get apok's to work). Yup, you're right - one of the live games happened to be actually 'live' when I woke up this morning, and it worked perfectly Only problem is that it starts the game where the current 'live' position is (as it would when you go to the website) - is there anything you can do to provide the option between starting at the 'live' point, or starting at the beginning of the stream? Would make this more useful for us outside of the timezone (which is most of the users of this plugin & NHLGC I imagine, as they black out all the locals!).What I'd really like to do in the interim, in order to be able to watch these 'live' games, is grab the 'start of game' m3u8 file, and use hls or ffmpeg to dump the game to a TS file, which I can watch when I get home. I'll handle the ffmpeg/HLS bit myself, but I'd be greatful for any guidance you can provide around how to grab the right m3u8 file (Given you must have parsed these pages to find the initial files in the first place - you grabbed the 'iphone' ones? I can't seem to find these myself). (2012-04-15 17:18)Carb0 Wrote:(2012-04-15 11:21)spektr Wrote: One more question for you: I see games hit the 'archive' about 5-7 hours after they're played (from what I can figure). Let's take Saturday's Coyotes game for example, I can watch the Archived (1600kbps) game. However, the 'Live' 3000/1600/800 kbps version remains up for a few days after the game's been played. Any way to grab those streams? I saw a 'calendar.xml' file that may be interesting.... If you could look into it, would be greatly appreciated (as it fixes the 'hole' issue between 'live' and 'archive')! I'll go through the site for you on the weekend and see what I can come up with. RE: [RELEASE] NHL Gamecenter Addon - Carb0 - 2012-04-16 23:15 (2012-04-16 06:15)spektr Wrote: Yup, you're right - one of the live games happened to be actually 'live' when I woke up this morning, and it worked perfectly Apok's version has that option. I don't know if it's possible without external program. The m3u8 file contains the URL to all video files from the beginning of the stream. (2012-04-16 06:15)spektr Wrote: What I'd really like to do in the interim, in order to be able to watch these 'live' games, is grab the 'start of game' m3u8 file, and use hls or ffmpeg to dump the game to a TS file, which I can watch when I get home. I'll handle the ffmpeg/HLS bit myself, but I'd be greatful for any guidance you can provide around how to grab the right m3u8 file (Given you must have parsed these pages to find the initial files in the first place - you grabbed the 'iphone' ones? I can't seem to find these myself). I did find the live.xml with Wireshark in the web traffic to the boxee app. Unfortunately the app doesn't exist anymore. I think they used the term 'iphone' because they use Apple's HTTP streaming protocol. RE: [RELEASE] NHL Gamecenter Addon - apok - 2012-04-25 01:49 (2012-04-15 06:20)spektr Wrote:(2012-04-15 06:17)Carb0 Wrote: You're right. The plugin does download the live.xml file from the NHL servers. This file contains valid links as long as the game is still running. There's nothing you can do about it unless you scrape the NHL website directly. [MLB] Fetching Master URL Ûi... it's expecting a Master URL... not a stream URL. don't force quality on it, it just needs the ced.m3u8. It'll default to 3000000, and there's a flag (maybe -b) for setting bitrate... look at mlb.c. (2012-04-16 06:15)spektr Wrote: What I'd really like to do in the interim, in order to be able to watch these 'live' games, is grab the 'start of game' m3u8 file, and use hls or ffmpeg to dump the game to a TS file, which I can watch when I get home. I'll handle the ffmpeg/HLS bit myself, but I'd be greatful for any guidance you can provide around how to grab the right m3u8 file (Given you must have parsed these pages to find the initial files in the first place - you grabbed the 'iphone' ones? I can't seem to find these myself). the mlbhls program will do this if you don't specify -S 4 or whatever it may be...run it in a console and it'll grab the file. You'd need to setup some sort of schedule to grab it say, within an hour after the game ends. RE: [RELEASE] NHL Gamecenter Addon - spektr - 2012-04-25 09:30 (2012-04-25 01:49)apok Wrote:(2012-04-15 06:20)spektr Wrote:(2012-04-15 06:17)Carb0 Wrote: You're right. The plugin does download the live.xml file from the NHL servers. This file contains valid links as long as the game is still running. There's nothing you can do about it unless you scrape the NHL website directly. Hey, So I've grabbed a new stream from the archive (it lines up with our times here, has all commercials/etc cut out of it, and I can get a 3000kbps feed even though it's not advertised through the flash interface), and when I try to grab the file in console with mlbhls... Code: mlbhls -VV -B http://nhl.cdn.neulion.net/u/nhlmobile/vod/nhl/2012/04/23/116/ced/3_116_nyr_ott_1112_h_whole/v1/playlist_3000.m3u8 -o sens_rangers.ts -f -s 0This is with the very latest MLBHLS version from the dev's website. I tried with your modified older version, and it doesn't work (still get the 'Get Master URL ERR'). However, simply passing the m3u8 URL to ffmpeg works fine. I'd rather use MLBHLS though, as I can start at specific points in the stream, and it seems more stable than ffmpeg in this regard. Ideas? RE: [RELEASE] NHL Gamecenter Addon - apok - 2012-05-01 02:13 Again, make sure you aren't specifying 3000kbps quality in your settings (go to the add-on settings). It's grabbing the _3000 m3u8, but that's not the master url... the playlist.m3u8 would be. RE: [RELEASE] NHL Gamecenter Addon - micahg - 2012-08-10 20:33 Hello everyone. My HLS streaming patch was accepted onto the mainline of XBMC, so gamecenter should be good to go for next season without any workarounds. See commit: https://github.com/xbmc/xbmc/commit/8f043b4a1f06a6c2d27373d4bcb4194cdaeff40f/ RE: [RELEASE] NHL Gamecenter Addon - ksosez - 2012-08-14 00:09 Do you know if this will be released in the .1 release for Eden or the next version? RE: [RELEASE] NHL Gamecenter Addon - micahg - 2012-08-14 01:33 Presently its only on the main trunk. It would need to be backported into eden along with the settings work for the bandwidth. |