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

Fix external subtitles not added to external player #4311

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

nielsvanvelzen
Copy link
Member

The delivery URL was not copied over (using API URL builder) to the stream info anymore, so it would later be filtered out because we can't link without an URL.

Changes

  • Fix external subtitles not added to external player
  • Simplify getSubtitleProfiles function a bit (remove unused code)

Issues
Fixes #4310

@nielsvanvelzen nielsvanvelzen added the bug Something isn't working label Dec 17, 2024
@nielsvanvelzen nielsvanvelzen added this to the v0.18.3 milestone Dec 17, 2024
}

public final ArrayList<SubtitleStreamInfo> getSubtitleProfiles(boolean includeSelectedTrackOnly, boolean enableAllProfiles, String baseUrl, String accessToken) {
public final ArrayList<SubtitleStreamInfo> getSubtitleProfiles(ApiClient api) {

Check notice

Code scanning / Android Lint

Unknown nullness Note

Unknown nullability; explicitly declare as @Nullable or @NonNull to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations
}

public final ArrayList<SubtitleStreamInfo> getSubtitleProfiles(boolean includeSelectedTrackOnly, boolean enableAllProfiles, String baseUrl, String accessToken) {
public final ArrayList<SubtitleStreamInfo> getSubtitleProfiles(ApiClient api) {

Check notice

Code scanning / Android Lint

Unknown nullness Note

Unknown nullability; explicitly declare as @Nullable or @NonNull to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations
@nielsvanvelzen nielsvanvelzen merged commit 25db7d5 into jellyfin:master Dec 19, 2024
5 checks passed
@nielsvanvelzen nielsvanvelzen deleted the external-player-subs branch December 24, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version 0.18.x using external players (Just Player), external subtitles doesn't work
2 participants