Skip to content
New issue

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

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

Already on GitHub? # to your account

[WIP] [iOS & tvOS] Internal Text Subtitle Offset #1462

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

JPKribs
Copy link
Member

@JPKribs JPKribs commented Mar 25, 2025

Summary

Resolves: #1256 (comment)
Similar issue to: jellyfin/jellyfin-webos#85

I don't totally understand this. In my testing on the original fix (#1445) I guess I missed this because I was only using English subtitles and all of my internal subtitles are PGS. The issue appears to be that, when there are ONLY internal SUBRIP subtitles, the first and last subtitles have swapped DeliveryURLs. I do not understand WHY this is happening but I am able to recreate this consistently when testing with internal SUBRIP subtitle only. External Text-Based subtitles appear to work without issue. Internal Text-Based subtitles appear to work without issue IF there are external subtitles OR a graphic PGS subtitle included.

This logic switches the first and last subtitle tracks IF there are only text based subtitles internally. I will need to do some testing since I don't have a lot of files available to test this. Just getting this out there while I test this.

This PR also drops subtitles from transcoding where .isSupportsExternalStream is false since those are not selectable.

@JPKribs JPKribs added the bug Something isn't working label Mar 25, 2025
@JPKribs JPKribs changed the title [WIP] [iOS & tvOS] Internal Subtitle Offset [WIP] [iOS & tvOS] Internal Text Subtitle Offset Mar 25, 2025
@JPKribs
Copy link
Member Author

JPKribs commented Mar 25, 2025

This is passing all my testing but I honestly have no idea WHY this happening unless there is something wonky with the API? Sorry to bother @LePips, but would you be able to test this out on your end and make sure I'm not missing anything? The fact this varies based on subtitle type makes be nervous I'm missing the bigger picture here...

@JPKribs JPKribs added the help wanted Extra attention is needed label Mar 25, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't select subtitles, it jumps back to none
1 participant