eracknaphobia / plugin.video.mlbtv

MLB.tv KODI add-on
GNU General Public License v2.0
19 stars 12 forks source link

freezing after a few seconds #54

Closed eclecticlibrarian closed 1 year ago

eclecticlibrarian commented 1 year ago

Every time I try to watch a game for the past week or so, even ones that are not live, the stream freezes after a few seconds (about 20). I have no trouble with it directly from MLB.tv, and I've made sure the plugin and Kodi are updated to the latest version.

tonywagner commented 1 year ago

I can’t view 2023 games yet, but my system still plays free games from 2022 just fine. If you search for a 2022 date in the Kodi addon and try to watch an archive game, does the same problem occur for you?

Please share a full Kodi debug log and information about your Kodi version and system.

eclecticlibrarian commented 1 year ago

I didn't want to sit here for five minutes paging back to a 2022 date, so I didn't try that. If there is an easier way to get to them, please let me know. It wasn't obvious to me. The log is attached.

The Kodi version is whatever is available today. I just updated it, as I noted in my original ticket. I'm using a Windows machine, OS build 19044.2604. Kodi has worked fine for some of the spring training games, but not all, and especially any time I've tried over the past week or so.

Anna

On Sun, Mar 19, 2023 at 7:43 PM tonywagner @.***> wrote:

I can’t view 2023 games yet, but my system still plays free games from 2022 just fine. If you search for a 2022 date in the Kodi addon and try to watch an archive game, does the same problem occur for you?

Please share a full Kodi debug log and information about your Kodi version and system.

— Reply to this email directly, view it on GitHub https://github.com/eracknaphobia/plugin.video.mlbtv/issues/54#issuecomment-1475437314, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFP65ZTPU3WRPM5QFPCV2TW46K25ANCNFSM6AAAAAAWAMJRDY . You are receiving this because you authored the thread.Message ID: @.***>

tonywagner commented 1 year ago

On the main screen of the addon, there is a “Goto date” option. Click that, then just enter a date from last season (YYYY-MM-DD format).

eclecticlibrarian commented 1 year ago

I had no trouble with a game from last year, so I tried again to watch a game from today that is listed as final, so not even a live stream, and it froze again after a short period of time. Same thing happened with a game from yesterday, though I had turned off the logging when I tried that.

On Sun, Mar 19, 2023 at 8:29 PM tonywagner @.***> wrote:

On the main screen of the addon, there is a “Goto date” option. Click that, then just enter a date from last season (YYYY-MM-DD format).

— Reply to this email directly, view it on GitHub https://github.com/eracknaphobia/plugin.video.mlbtv/issues/54#issuecomment-1475455791, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFP65YLZZR3K3YVSPUW4RLW46QFHANCNFSM6AAAAAAWAMJRDY . You are receiving this because you authored the thread.Message ID: @.***>

tonywagner commented 1 year ago

Thanks for the update. Can you log in to Github to attach the log? I don't think it comes through when it is an email attachment.

eclecticlibrarian commented 1 year ago

kodi.log

tonywagner commented 1 year ago

What if you go into the addon settings and toggle on “Disable proxy” and then try again?

Greylinux commented 1 year ago

@tonywagner I've just started using kodi and using this add-on to watch my mlb.TV subscription in the UK , so thanks for this add-on. Currently its all running on a raspberry pi 4 successfully , I haven't tested extensively yet as only watched part of a game and not tried a live game yet , but disabling Proxy seems to fix the issue. Can disable proxy 'ON' be the default ?

tonywagner commented 1 year ago

Seems like the local proxy is working fine for most users, and it does provide a few nice features (preventing timeline spoilers and adding extra audio tracks).

I'd be interested in figuring out why it's not working for a few users. Could you share a Kodi debug log where you first play a game with the proxy enabled (and it fails), and then play the same game with the proxy disabled?

Greylinux commented 1 year ago

temp.log

torygg commented 1 year ago

suffering the same here: with proxy 'on' playback freezes after only a few seconds... with proxy turned 'off', streams playback fine. (same behavior on various devices and Kodi versions)

tonywagner commented 1 year ago

It looks like the proxy isn't receiving the whole stream playlist/manifest on some systems.

Please try manually installing the release ZIP of this fork within Kodi and let me know if the streams play correctly with the proxy turned back on: https://github.com/tonywagner/plugin.video.mlbtv/releases

torygg commented 1 year ago

Manually installing the 'Inputstream Adaptive addon' seems to have fixed the the 'streams freezing issue' without having to disable with the 'proxy-option'...

The 'Inputstream Adaptive addon' was not (automatically?) installed on any of my Kodi 'devices'... (i.e. Windows, Android, LibreElec)

tonywagner commented 1 year ago

Thanks for the additional information, I think I finally figured out this problem.

The internal proxy was still passing along a "content-range" header. Wasn't a problem when using Inputstream Adaptive for playback, but on the non-Inputstream player, that header was causing the stream to be truncated and failed after only a few seconds.

New fork release should fix it, and I will do a pull request soon: https://github.com/tonywagner/plugin.video.mlbtv/releases