-
Notifications
You must be signed in to change notification settings - Fork 332
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>>v2.994Extra] Chromecast starts video but app gets stuck #1209
Comments
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:
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) |
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. |
This issue is still unchanged. Any refresh event to skytube will crash it until the playback on chromecast is still running. So usually I put it into the background immediately and control it using google home (thx for that hint). |
@drogga I try to think first about what I am doing. I am not in a hurry. |
I don't have any hardware that supports Chromecast, and I never had, so I've never tested it. @drogga : F-Droid could build 2.993 only after I've opened a separate PR to their repo and please stop mentioning me in every second of your comments and manipulating others to do the same, I've asked you to stop doing that long time ago. Your harassment was big part of cause that I've lost my enthusiasm for this project. |
OK and I'm sorry you feel that way, but a 'harassment' & 'manipulation' - lol, my intentions are all good, I don't remember you ever telling me anything like this and I don't mention you every time, only when I have to an it seems that it makes sense, plus I suggested the OP here to do so seeing that this is almost 2 years old and I and the others reporting here would probably like it resolved, but how can we know that you've seen it or care, when there's no indication of you doing so (as comments, reactions, labels), mentioning someone, especially the maintainer(s) on GitHub and other alternative platforms is something common and normal and I now start to realize that probably it's something personal - you usually not responding to / ignoring my comments, you are actually hard to reach to outside from here, if not impossible at least for me, what I mean is that we can have hundreds of comments here and you still might not respond or do anything if there's a problem and there are many, it's not like there's another maintainer, I mean I suggested doing something to change this multiple times, but - nothing, I even planned to do some more PRs (mostly in the manifests), but seeing how you feel and that it might take months to get merged if at all and that I don't get advices from you on questions of how to handle some things and there are many that needs to be handled (history shows), means that whatever I do doesn't matter actually and that it's pointless for me to waste more of my time anymore. If I had the permissions you do here, I would handle myself some things I can't currently do as a contributor and won't bother you for some of the things I already did, if I don't ask you, then who ?, who can do them ?, there's no one else, do you see any PRs from someone else here in this repo ? - no, no other volunteers, nobody cares. Sorry amd apologies that I do actually care and don't want this app to be discontinued, but get better. Now, as you can see I didn't mention you properly this time ZSombor on purpose and as you asked, but I will still appreciate if you react on that comment with the GH's dedicated feature if you read it, so I can delete it and not be such a burden and annoyance to you anymore. Thank You. |
Sorry, maybe I wasn't clear enough, when I said years ago, when you asked for having direct, private channel to communicate, I said that I don't want that, having this issue tracker is more than enough and if you find a bug or an issue to discuss, open a ticket and if I have enough free time, maybe I could try to fix it. |
@gzsombor or may be someone who was historically involved: |
It's implemented in this PR: #365 |
@gzsombor You know what ? With v2.995Extra the crash has vanished. I guess you made some major changes, may be that removed it coincidentally. Remote controlling chromecast is working again ! (Edit: yeah ! 😂) Anybody else ? |
Thanks for reporting back, yes, I've refactored the JSON parsing in #1335 to fix this issue - but I couldn't test it. |
I updated to v2.995 Extra and tested casting to an Android TV and to a Chromecast 3. I can confirm the issue is now fixed. Thank you. |
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, also A13.
Using Chromecast with other apps is no issue.
The text was updated successfully, but these errors were encountered: