Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2.987Extra] Chromecast starts video but app gets stuck #1209

Open
dagofr01 opened this issue Aug 28, 2023 · 2 comments
Open

[v2.987Extra] Chromecast starts video but app gets stuck #1209

dagofr01 opened this issue Aug 28, 2023 · 2 comments

Comments

@dagofr01
Copy link

start of video on Chromecast starts video successfully but the app gets stuck on the videolist with infinite spinner . No way to control video.
Fairphone4 with current A12.
Using Chromecast with other apps is no issue.

@sekian
Copy link

sekian commented Sep 8, 2023

I have the same issue. I am using a Redmi Note 12 Pro with Android 13.

From my side, I have tried to cast using:

  • version 2.987: An endless spinning wheel appears (trying to load the controls?) while the cast video starts in the TV screen. Since the controls do not load, you have no control. Moreover, minimizing the app makes it fail and if you reopen the app it crashes instantly. The app will keep crashing on reopen until you stop the casting on the TV screen.
  • version 2.986: The controls appear in the phone screen, but the video does not load, and the TV screen is black.

I was able to get a stack trace of the error after it crashes on reopen:

java.lang.IllegalStateException: TypeToken must be created with a type argument: new TypeToken<...>() {}; When using code shrinkers (ProGuard, R8, ...) make sure that generic signatures are preserved.
 at com.google.gson.reflect.TypeToken.getTypeTokenTypeArgument(Unknown Source:40)
 at com.google.gson.reflect.TypeToken.<init>(SourceFile:0)
 at free.rm.skytube.gui.fragments.ChromecastBaseControllerFragment$1.<init>(Unknown Source:2)
 at free.rm.skytube.gui.fragments.ChromecastBaseControllerFragment.init(SourceFile:0)
 at free.rm.skytube.gui.fragments.ChromecastMiniControllerFragment.init(Unknown Source:0)
 at free.rm.skytube.gui.fragments.ChromecastBaseControllerFragment.init(SourceFile:0)
 at free.rm.skytube.gui.activities.BaseActivity$SessionManagerListenerImpl.lambda$onSessionResumed$0(Unknown Source:33)
 at free.rm.skytube.gui.activities.BaseActivity$SessionManagerListenerImpl.$r8$lambda$GfyoBHyqmZ6PfUeKOE-xixFt2mw(SourceFile:0)
 at free.rm.skytube.gui.activities.BaseActivity$SessionManagerListenerImpl$$ExternalSyntheticLambda0.run(SourceFile:0)
 at android.os.Handler.handleCallback(Handler.java:942)
 at android.os.Handler.dispatchMessage(Handler.java:99)
 at android.os.Looper.loopOnce(Looper.java:211)
 at android.os.Looper.loop(Looper.java:300)
 at android.app.ActivityThread.main(ActivityThread.java:8321)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:581)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)

@edmundlaugasson
Copy link

edmundlaugasson commented Sep 26, 2023

Having same issue with 2.987 Extra in Android 11 since that version came out. App will start video in Chromecast but SkyTube Extra itself will crash after few time. Still SkyTube keeps streaming to Chromecast while crashing itself. After SkyTube Extra crash we can use Google Home to manage video audio volume, scrolling video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants