2015-04-21, 22:09
(2015-04-21, 21:30)bunglebungle Wrote: I did some diffs of the code the other night and the hls version isn't very different at all. It's mainly a section to find the HLS url, and also a new screen to pick the half-inning to start on (which is great). All the code was pretty much in a few blocks (not bits here and there), so it should be pretty easy to merge that functionality in. I was going to start on it when I had time but if you can go right ahead. I also added a logout option to the top menu that I was using when jumping between this addon and Chrome for testing. I don't know if that's generally useful or not, but it helped prevent the "too many logins" issue when I was jumping between this and Chrome.
(I was testing Chrome because originally I couldn't get the HLS version to work. But I found out Chrome on Linux does not support 720p nor live DVR, either. I don't know if it's just OS detection code leftover from the NexDef days of if Linux Flash is missing something that Windows 7+ has [XP has no support, either]. Now that I know the HLS version of this addon works I don't care as much about getting Linux+Chrome to work, but I did raise a stink on MLB's forums that they should support it.)
A log out function is exactly what I had in mind. Also I intend to integrate the HLS version into my version.
Maybe you should fork the Github project and submit a pull request?