-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Selected subtitle track not showing up in player UI and changes audio track #1024
Comments
Sadly, this issue still persists with server version 10.8.10, though it seems to be tied pretty exclusively to the client. |
What kind of media are you trying to play (container, tracks, codecs)? And are you direct playing or transcoding? Details like those are crucial for me to debug these issues. |
Sorry for the late reply, I was out of town. I used the same source file that I used for #1017: My Bride is a Mermaid - S01E11 Video Audio Subtitle Audio Subtitle Edited to add: also just like before, the file will "DirectPlay" until I introduce subtitles, after which it will switch to "Transcoding". I can reproduce the issue with a file that has similar tracks but uses PGS-based subtitles as well. |
Would also like to add that beta.5 has this issue as well. |
Right, it seems to occur when switching from direct play to transcoding, and having switched tracks first. I also know the cause and will try to fix it this week. Before we push another beta, could I send you a test build to confirm it's actually fixed then? |
Yes, that's perfectly fine, happy to help! I will aim to test it tonight if it's available. |
Unfortunately I'm already busy tonight, but I'll ping you once I have something to test. |
Sounds good! Sorry to bug you with this, in truth I actually tried to see if I could fix it myself, but calling my Android and Kotlin skills "shakey" would be kind...once I get good enough that I can reverse engineer Android projects, I will try to submit pull requests instead of bug reports. 🙂 |
Sadly 2.5.0-beta.6 also has the issue, though its unclear that the refactored play options selection was intended to completely fix this problem. |
It should've fixed this as well, actually. This seems to be a really odd edge case, so I can't promise we'll fix it before releasing 2.5 to stable. The bata cycle has already been way too long anyways. I'll look into this bug again if I have a bit more time. |
Understood. Would it be helpful at all if I provided a sample of the file again, so you could test locally? |
Yes, that would be the best I think. Then I'll immediately know if it's fixed. |
Sample sent via email. Best of luck! |
Thanks for the sample! I did some testing and can confirm that the UI doesn't show the currently selected subtitle or audio track while transcoding. However, I couldn't reproduce the audio track change after selecting new subtitles (switched audio from English to Japanese or Japanese to English, then changed between all subtitle options a few times, audio always kept the current selection). |
Oh, good catch! You are right, the changes you made in 2.5.0-beta.6 actually did resolve the audio jumping back to the previous track! So now it's just the UI that seems to have issues. And furthermore, I made a new observation while checking that reminded me of what you wrote in your description of #1038 regarding caching play state in the queue: I noticed that when I switch between transcoded subtitle tracks, the UI for the subtitle menu won't show any option selected, but then when I try to check the audio track menu, the audio track menu will now show the currently selected audio! Doing things in the opposite direction (changing between audio tracks when a subtitle track was previously selected, and then checking the subtitle track menu) also seems to reveal the current subtitles! Could the UI state logic be caching old state just like the play queue was previously designed to do? |
In fact, the UI caching old state might have been happening since the beginning, when I first reported #1017 ! See my comment from that issue submission |
Good to hear, thanks for the confirmation! It was indeed just a UI bug in the end. The problem was that we invalidated the current selection for the changed track while transcoding, that explains why the changes applied for one type of tack (i.e., audio) if you changed the other track (i.e., subtitles). Hilariously, I fixed that exact same bug for the quality menu a few months ago. I have no idea why I didn't bother checking if they also apply to the audio and subtitle menus. |
Describe the bug
Thanks again for fixing the selection for burned-in subtitles, this issue seems to be isolated to the UI rather than impacting the playback itself:
Logs
No response
Application version
2.5.0-beta.4
Where did you install the app from?
Sideloaded APK (proprietary build)
Device information
Google Pixel 7
Android version
Android 13
Jellyfin server version
10.8.9
Which video player implementations does this bug apply to?
The text was updated successfully, but these errors were encountered: