futo-org / grayjay-android

Read-only mirror of Grayjay repo for issue tracking
https://gitlab.futo.org/videostreaming/grayjay
Other
724 stars 44 forks source link

Chromecast: runtime on the phone doesn't go up #811

Open xephos1one opened 7 months ago

xephos1one commented 7 months ago

When casting a (Youtube) video to a chromecast device the current runtime doesn't go up in Grayjay. Only when pressing pause and play it jumps to the current runtime. Therefore the next video in the watchlist won't play as the video never reaches the end of the video. On the TV the time does go up while it plays and it just gets to the ready for casting screen after the video ended.

Android 14 App version: 233 YT-plugin version: 166

koen-futo commented 7 months ago

Thank you for the report, is this steadily reproducible? I will try with my personal Chromecast device, though it did work last time I tried. Is there anything specific to your setup that I might want to know?

xephos1one commented 7 months ago

Yes, it's steadily reproducible. I stream to a Sony TV running Google TV/Android TV so it shouldn't be different to a Chromecast.

xephos1one commented 7 months ago

I noticed another thing (that at least is related to this issue) that happens when you lock the screen on the phone, wait a few seconds and unlock it: I can't pause anymore via the phone and if I press pause and play on the TV the icon on the phone doesn't change from play to pause and the other way as it did before locking the screen on the phone. The current runtime then also doesn't jump to the current runtime as it did as mentioned earlier. The video on the TV can still be played until it's finished but I'm unable to start a new one. I have to actively disconnect my TV as it still shows as connected and reconnect. This error came up when I clicked on a new video in this weird disconnected connected situation (while the current video still continues to play on the TV): Screenshot_20240220-184829

xephos1one commented 6 months ago

I have to add the following: The runtime in the media controls in Android (near the Quick Settings) does move on just like the runtime on the TV.

What runtime is shown in the media controls? Th one from the player/Grayjay or the one from the TV where you stream to?