matthuisman / slyguy.addons

Github mirror of SlyGuy add-ons
https://www.matthuisman.nz/2020/02/slyguy-kodi-repository.html
292 stars 78 forks source link

Stremium channels buffers then replays #836

Closed MajinLugia closed 2 months ago

MajinLugia commented 2 months ago

spawned from original issue: https://github.com/matthuisman/slyguy.addons/issues/831

Stremium channels (more specifically Sling channels) are buffering when the programming ends then the programming that ended will replay when the buffer ends while using slyguy common linked here. I am also testing for issues on Kodi 20.5 and the only issue on there is that the streams are about 20-30 seconds behind without buffering at the end of programming.

matthuisman commented 2 months ago

sounds like this is an inputstream adaptive issue then with newer IA

MajinLugia commented 2 months ago

Hmmm any clue why the issue persists even when downgrading inputstream adaptive or even when I disable Inputstream HLS? It does sound like an odd issue since it works okay in Kodi 20. Should I attach a debug log or open issue on Inputstream Adaptive?

matthuisman commented 2 months ago

stremium is widevine so you can disable inpustream. And you cant downgrade to the same IA version that Kodi 20 uses. And they dont keep many old versions so hard to go back further.

Or is this a new issue recently on Kodi 21? Or has 21 never worked correctly?

MajinLugia commented 2 months ago

This issue is recent on Kodi 21. It was the most stable setup ever until something broke about 2 weeks ago unfortunately.

matthuisman commented 2 months ago

so, with 21.4.10 - try disabling slyguy proxy in stremium addon settings and see if has same issue

MajinLugia commented 2 months ago

I disabled slyguy proxy on both 21.4.10 and latest version and I am having no issues! With that being said, what side effects are present with the proxy being disabled?

matthuisman commented 2 months ago

we will want proxy :) so ill need figure out what changes thats doing that causes it Can you please try with 21.5.1 with proxy off and confirm OK

MajinLugia commented 2 months ago

Yes, I tested with 21.5.1 with proxy off and the buffer isn’t present.

matthuisman commented 2 months ago

ok sweet. What slyguy common ver are you using when testing currently?

MajinLugia commented 2 months ago

I’m using 0.84.64 of slyguy common!

matthuisman commented 2 months ago

and the problem persisted even with https://github.com/user-attachments/files/16516592/script.module.slyguy.zip ? (version 99.99.99)

MajinLugia commented 2 months ago

Yes that is correct, the problem went away after turning off slyguy proxy!

matthuisman commented 2 months ago

Ok, lets try:

99.99.90 Remove dynamic mpd changes (still has manifest parse every refresh) script.module.slyguy-90.zip

Install and enable proxy again and test :) If that works, we will try narrow down further

MajinLugia commented 2 months ago

Okay so I was testing it out and it seems okay with some channels but I noticed that the Disney Junior channel doesn’t play now which is a channel I used to do testing due to odd and short programming times. I need to conduct some more testing with the rest of the channels and see if they have this problem.

Update: Disney Junior is working again, I’ll do more testing as it was really odd that it wasn’t working this morning….

matthuisman commented 2 months ago

ok thanks. let me know

MajinLugia commented 2 months ago

So far it seem like everything works but this is unrelated to stremium but Paramount+ is saying its unavailable in my region now, I’m not using a vpn or any fancy setup.

Update: I see that is an issue open with Paramount+.

matthuisman commented 2 months ago

please keep on topic. there is another issue about paramount

matthuisman commented 2 months ago

so, seems 99.99.90 was OK

Can you please try this 99.99.91 script.module.slyguy.zip

MajinLugia commented 2 months ago

Yeah 99.99.91 bought back the buffering and restarting issue. 99.99.90 worked great.

matthuisman commented 2 months ago

ok, we down to 2x possible chunks of code that could cause :) This last test will tell us

I suspect this WILL work (99.99.92) script.module.slyguy.zip

MajinLugia commented 2 months ago

Stremium channels are working fine on 99.99.92!

matthuisman commented 2 months ago

thanks. would you have a kodi log on one of the occassions where it buffers?

matthuisman commented 2 months ago

if not, then could you please test with 99.99.93 script.module.slyguy-99.99.93.zip This is re-enabling the code but putting it in try/except Trying to figure out if the issue is

1) the change manifest is causing inputstream adaptive to have isues or 2) it cant make the change when the manifest changes at the end of program, raising an error and causing kodi to stall / buffer

MajinLugia commented 2 months ago

How do I properly turn on debugging and where would the logs be located? Also, I’m testing 99.99.93 and its doing the buffering and replay thingy again and its also behind like 20 seconds as I had it playing side by side with the standard stremium app.

matthuisman commented 2 months ago

ok. if thats still causing the issue then its not erroring :) ill try push a slyguy update to fix

matthuisman commented 2 months ago

script.module.slyguy -> v0.85.7 removes the troublesome code.

You should now be able to update to this one (may need to manually select it from repo) and your issue should be fixed