Skip to content

Port video title format from web client - #1824

Merged
nielsvanvelzen merged 1 commit into
jellyfin:masterfrom
rodis120:consistent-video-titles
Jan 9, 2026
Merged

Port video title format from web client#1824
nielsvanvelzen merged 1 commit into
jellyfin:masterfrom
rodis120:consistent-video-titles

Conversation

@rodis120

Copy link
Copy Markdown
Contributor

Changes
Reimplemented video title format used in Jellyfin web client.
When using ExoPlayer or external player, Jellyfin shows only the episode/movie name on the title bar,
meanwhile web client shows series name, episode name, season number, episode number and release year.
This PR adds title format used by web client to ExoPlayer and external player.

Before:
obraz

After:
obraz

After but with VLC as external player:
obraz

Web Client for reference:
obraz

Reference code from web client:

Issues

I haven't found any related issues.

Comment thread app/src/main/java/org/jellyfin/mobile/player/source/JellyfinMediaSource.kt Outdated
@rodis120
rodis120 force-pushed the consistent-video-titles branch from 6f2ca75 to 723107c Compare October 28, 2025 21:56
Comment thread app/src/main/java/org/jellyfin/mobile/JellyfinApplication.kt Outdated
@nielsvanvelzen

Copy link
Copy Markdown
Member

Going over the codepaths I think it makes the most sense to change the name property in JellyfinMediaSource to a getName(context: Context) function instead.

@rodis120
rodis120 force-pushed the consistent-video-titles branch 2 times, most recently from d571a91 to 47b43e1 Compare November 10, 2025 17:46
@rodis120

Copy link
Copy Markdown
Contributor Author

OK. I replaced name property with getName(context: Context). However there are two places where the Context is inaccessible:

Let me know If you are ok with the way I handled these cases.

Comment thread app/src/main/java/org/jellyfin/mobile/player/source/RemoteJellyfinMediaSource.kt Outdated
Comment thread app/src/main/java/org/jellyfin/mobile/player/ui/PlayerFragment.kt Outdated
@rodis120
rodis120 force-pushed the consistent-video-titles branch from 47b43e1 to f672b4e Compare January 9, 2026 12:27
@rodis120

rodis120 commented Jan 9, 2026

Copy link
Copy Markdown
Contributor Author

@nielsvanvelzen I added the changes that you requested.

@nielsvanvelzen nielsvanvelzen added this to the v2.7.0 milestone Jan 9, 2026
@nielsvanvelzen nielsvanvelzen added the enhancement New feature or request label Jan 9, 2026
@nielsvanvelzen
nielsvanvelzen merged commit b794406 into jellyfin:master Jan 9, 2026
6 checks passed
@rodis120
rodis120 deleted the consistent-video-titles branch June 21, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants