2012-04-14, 09:33
(2012-03-04, 04:39)apok Wrote: Alright, update!
Here's a mlbhls.exe (with dependancy DLLs) that I compiled in cygwin. Extract it to somewhere convenient i.e. c:\mlbhls-nhl\
MLBHLS-NHL (Windows EXE and source) http://www.2shared.com/file/f8GjtoPK/mlbhls-nhl.html
NHLGC 0.3.2.1 http://www.2shared.com/file/0MbP0hX8/plu...-mlb-.html
I added an enhancement to the mlbhls-nhl for pulling the TARGETDURATION from the m3u8 streams, since the original is coded for a 12 second delay. This should prevent some edge cases from occurring.
You will need to configure the "Path to MLBHLS Binary" and "HLS Output DIR" settings, as these will be OS-dependent.
For the Binary, if you are on linux so long as it's under /usr/bin you can just enter "mlbhls". Use a full path for Windows.
For the Output Dir, supply a trailing slash i.e. '/' on Linux or '\' on Windows.
Sleep on start specifies how long to wait for the stream to start building locally.
Files to buffer is only used when you select a live stream instead of viewing a game from the start. Keep in mind that each file segment is ~10 seconds long.
With the default of 3 and a sleep time of 15 seconds, you'll allow 30-40 seconds of video to be written to the output file prior to xbmc launching it.
I noticed changing the add-on settings seems to crash XBMC, so beware.
On Windows, the mlbhls does open in an external window - just alt-tab and it'll run in the background. Unfortunately I couldn't figure out how to kill the program when you stop viewing the screen if it is hidden (on Windows), because it's a child process that's executed. On Linux, pkill takes care of it
Hey apok, thanks for this mod! Unfortunately, I've followed your instructions above, but am not having any luck - I click on Live Games, and they come up, but when I select any of them I don't get that "home/away" box or whatever pop up, it just takes me to another 'directory' (which is empty).
I'm on linux (Ubuntu), and I'm able to watch condensed/archive/etc games beautifully with this plugin, so any ideas as to what I'm missing?