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

Add function to load default subtitles according to user settings on the global player #1306

Closed
wants to merge 21 commits into from

Conversation

therealguy90
Copy link

@therealguy90 therealguy90 commented Jun 12, 2023

Changes

Modified video player to mimic behavior of jellyfin web player, where subtitles load immediately when the video is loaded, according to user settings. Returns old functionality mentioned in #850.
Sets selectedSubtitleIndex to default subtitle.
Apologies for the duplicated PR, thought this would take longer.
Might also help with #1259, as this might remove some of the dependency on the system settings for captions

Issues

Fixes #850

@therealguy90 therealguy90 deleted the branch jellyfin:unstable June 17, 2023 06:04
@therealguy90 therealguy90 deleted the unstable branch June 17, 2023 06:04
@therealguy90 therealguy90 restored the unstable branch June 17, 2023 06:05
@therealguy90 therealguy90 reopened this Jun 17, 2023
@therealguy90 therealguy90 marked this pull request as draft June 17, 2023 15:32
@therealguy90
Copy link
Author

Leaving this as a draft for now. Definitely need some code cleanups and solve an issue where the subtitles don't load when the user presses next video.

@therealguy90 therealguy90 marked this pull request as ready for review June 17, 2023 16:53
@candry7731
Copy link
Contributor

Have you been able to get the next video default subs working? Let me know if you need help on this.

@therealguy90
Copy link
Author

therealguy90 commented Jul 6, 2023

I have, actually. I've been using my branch as my daily driver for about a week now and found no issues with the subtitles.

Copy link
Contributor

@jimdogx jimdogx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't working for me.

I have:
Preferred subtitle language: English
Subtitle mode: Only Forced
Burn subtitles: Auto

But when I play a movie, even though it shows "Forced" as selected, it's not actually showing any subtitles. If I select "None" and then re-select "Forced", it shows subtitles but not in English.

I then tried the release build 1.6.6 and even though I had to manually select "Forced", it played them correctly in English.

@jellyfin-bot
Copy link
Contributor

This pull request has been inactive for 21 days and will be automatically closed in 7 days if there is no further activity.

@jellyfin-bot jellyfin-bot added the stale This issue/PR has gone stale. label Sep 26, 2023
@jellyfin-bot
Copy link
Contributor

This pull request has been closed because it has been inactive for 28 days. You may submit a new pull request if desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue/PR has gone stale.
Projects
Development

Successfully merging this pull request may close these issues.

Forced Subtitles Are Not Automatically Displayed During Playback
4 participants