mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
Problem with movie versions #3676
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @didaktiik on GitHub (Mar 18, 2022).
Describe the bug
Hello,
I been having this issue with versions ever since they had been introduced to Android TV beta versions (beta4?). As you can see bellow, my files follow the name convention required for movies versions.
For the most part of my movie library, Android TV client (Nvidia Shield 2017, Jellyfin client 0.13.0 is installed) chooses the 'Home' version at Home, but for some movies it insists on 'Internet' version not matter what I do. Not only the 'Internet' version is pre-seleted by default (in version selector) but it plays that version as well despite the 'Home' version plays fine, when chosen manually (direct play, no transcode or some compatibility issue).
Remote streaming (from a remote location, using different Nvidia Shield TV, but same client version) always chooses the 'Internet' version, most likely due the max bitrate settings set in the client (10Mbit/s).
Example of a movie (folder listing, so you can see file naming) where an incorrect version is selected by default:
Logs
No response
Application version
0.13.0
Where did you install the app from?
Google Play
Device information
Nvidia Shield 2017
Android version
Android 11
Jellyfin server version
10.7.7
@sourpatched commented on GitHub (Mar 19, 2022):
Have you looked at https://jellyfin.org/docs/general/server/media/movies.html
"To distinguish between versions, each filename needs to have a space, hyphen, space, and then a label. Labels are not predetermined and can be made up by the user."
@didaktiik commented on GitHub (Mar 19, 2022):
I have. See my filenames bellow:
Home Alone 2: Lost in New York (1992) - Home.mkv
Home Alone 2: Lost in New York (1992) - Internet.mp4
space - hyphen - space - label (Home, Internet)
@sourpatched commented on GitHub (Mar 19, 2022):
I wonder if this is happening because it's MP4 file?
@didaktiik commented on GitHub (Mar 19, 2022):
No, the vast majority of my movie library is like that - Home.mkv and Internet.mp4 and it works. For some movies it doesn't. There is no pattern, that's why it is quite baffling to say the least.
@didaktiik commented on GitHub (Apr 1, 2022):
I tried to rename mp4 to mkv (it plays fine so the extension doesn't really matter), and that did the trick for some movies. Still, many have refused. There is no clear pattern, no rhyme or reason when deciding between those two "profiles". As wiki says, the deciding factor is an alphabetical order and the factor is satisfied:
@sourpatched commented on GitHub (Apr 2, 2022):
"As wiki says, the deciding factor is an alphabetical order and the factor is satisfied"
Could be that it isn't hard coded in the app.
@didaktiik commented on GitHub (Apr 2, 2022):
To investigate further, I have installed another client - Jellycon addon for Kodi. Suprisingly enough, it does the same thing as Jellyfin for Android TV- for some movies (the same ones!) it prefers "Internet" to "Home" profile.
Maybe this rules out the client out of quation and the server is the one to blame? I don't know. But wiki is clearly not accurate it seems.
If there was another deciding factor I wasn't able to figure it out, and I have tried all possible combinations. As your suggested, for some movies it helped to rename mp4 to mkv. For some , it didn't.
@sourpatched commented on GitHub (Apr 2, 2022):
Can you post both media details? you can copy them from the web GUI if you have it installed.
@didaktiik commented on GitHub (Apr 2, 2022):
Media info copied from Jellyfin web looks like garbage (formatting is completely lost), as you can see in the 3rd attachement, so I included the output of Mediainfo application as well:
.Jumanji (1995) - Home.mkv.txt
Jumanji (1995) - Internet.mkv.txt
Media info Jellyfin Web.txt
@didaktiik commented on GitHub (Apr 2, 2022):
Directory listing
@sourpatched commented on GitHub (Apr 2, 2022):
https://jellyfin.org/docs/general/server/media/movies.html#order-of-versions
Movie versions are presented in an alphabetically sorted list. An exception applies to resolution names, which are sorted in descending order from highest to lowest resolution. A version name qualifies as a resolution name when ending with either a p or an i.
What happens if you rename them to 1080p.mkv and 720p.mkv (Jumanji (1995) - 1080p.mkv) and then scan for changes.
@didaktiik commented on GitHub (Apr 2, 2022):
It worked, for this movie.
However I did rename more movies, particulary Back to the Future trilogy:
Back to the Future (1985) - 1080p.mkv
Back to the Future (1985) - 720p.mkv
Back to the Future 2 (1989) - 1080p.mkv
Back to the Future 2 (1989) - 720p.mkv
Back to the Future 3 (1990) - 1080p.mkv
Back to the Future 3 (1990) - 720p.mkv
The result is inconclusive:
Back to the Future (1985), 1080p is selected by default.
Back to the Future 2 (1989), 720p is selected by default.
Back to the Future 3 (1990), 720p is selected by default.
--
@.***
On Sat, 2 Apr 2022, at 8:30 AM, sourpatched wrote:
@sourpatched commented on GitHub (Apr 2, 2022):
I would try and change the P to an I and refresh, I don't know if that will fix it but it seems like a server issues?
@didaktiik commented on GitHub (Apr 2, 2022):
It looks like a server related issue, yes.
I am not sure what else to do, to let developers know about the issue, which is obviously there.
--
@.***
On Sat, 2 Apr 2022, at 10:24 AM, sourpatched wrote:
@sourpatched commented on GitHub (Apr 2, 2022):
@nielsvanvelzen or @mueslimak3r can you please move this to Jellyfin server?
You could give 10.8 beta a try, I haven't had any server issues so far and the app works okay with it.
There is also a media player for all OS.
@didaktiik commented on GitHub (Apr 2, 2022):
I primarily use Jefllyfin on Android TV (Nvidia Shield TV). As far as I remember Jellyfin Web and iOS clients (iPad and iPhone) always choose automatically the "Home" profile (or whatever is called, 1080p etc - the best quality profile in general) regardless of max bitrate allowed for playback client-wise. Sure, it's a no brainer to pick up the right profile to avoid transcoding (= Internet profile) :-)
I will rather wait a while before moving to beta server. On a client side (GoolePlay), I signed up to a beta program :-)
@sourpatched commented on GitHub (Apr 3, 2022):
10.8.0 has have a big transcoding update with heaps more options. I understand most won't try beta and that's okay.
@jellyfin-bot commented on GitHub (Aug 1, 2022):
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
@didaktiik commented on GitHub (Oct 11, 2022):
I might explore server beta option then :-) Let me reconsider it. As far as 10.7.7 experience goes, I have been quite happy with it. Unless we start speaking about movie versions though. Still, we are not sure 100%, whether it is client or server related problem or some kind of underying problem elsewhere, right?
Thanks!
--
@.***
On Sat, 2 Apr 2022, at 11:15 PM, sourpatched wrote:
@mikewesten commented on GitHub (Jun 29, 2023):
In general, the server isn't sending alphabetically ordered movie versions to the AndroidTV client. It works as expected on Jellyfin Media Player for desktop. However, AndroidTV orders them in descending order by pixel width, specifically.
Suppose you have 2 movie versions where one is 1918x1080 in resolution and the other is 1920x1080 in resolution. You can see where a problem will occur... unless by happy coincidence your 1920x1080 version was already filenamed alphabetically ahead of your 1918x1080 version.
@didaktiik commented on GitHub (Jun 29, 2023):
Well, I got Aliens movie, 2 files
Aliens (1986) - Home.mkv
Aliens (1986) - Internet.mkv
Both are 1920 x 1036.
Still, Aliens (1986) - Internet.mkv is picked up as default, and played as default until I manually change it to Home beforehand.
If both have the same width, then the alphabetical approach should be applied, right?
@mikewesten commented on GitHub (Jun 30, 2023):
Yes I guess that's a slightly different issue. Sounds like your player is defaulting to playing the 2nd item in the list, but at least it's correctly listing the 2nd item as the 2nd item. Mine keeps failing at even doing that.
@didaktiik commented on GitHub (Jun 30, 2023):
Well, regardless the player (ExoPlayer or Vimu) some movies default to 2nd version. I have been unable to indentify the pattern. Vimu is my player of choice, ExoPlayer is quite incosistent and has problems with 5.1 FLAC (sometimes it plays without transcoding, the other time it transodes etc.).
@jellyfin-bot commented on GitHub (Oct 29, 2023):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.
@jellyfin-bot commented on GitHub (Nov 19, 2023):
This issue was closed due to inactivity.