ulrick65 30 Posted July 23, 2023 Posted July 23, 2023 (edited) I have one Movie that I am adding that for some reason it is picking up the trailer as a separate movie and I can not figure out why. Background: I do not allow my Library folders to write to the movie location, the shares that it reads are read-only. This has been the setup for 10 years and works fine. I have one folder that I used to run new items "through" that does have write capability. That is so that I "can" use Emby's metadata, image downloads, etc. if I need/want to. But once done in there, the movie is moved to it's final library. I recently started a new naming convention...adding info about the Movie to the file names. This has worked fine with no issues noted...until this one. The trailer is being detected as a Movie for some reason. I thought maybe the file name length was an issue, but I have longer ones that work fine. I thought maybe the dashes in the file name were a problem, but I have those in others that work fine too. Any thoughts on why this is happening? Edited July 23, 2023 by ulrick65
ulrick65 30 Posted July 23, 2023 Author Posted July 23, 2023 1 minute ago, GrimReaper said: How are you files named and organized? I have been trying to upload that screenshot since the post...having issues on my end with my computer. I am working to get it.
ulrick65 30 Posted July 23, 2023 Author Posted July 23, 2023 12 minutes ago, GrimReaper said: How are you files named and organized? I figured it out. The reason is because the filename has -SHORT in it. For example: Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-SHORTVERSION.mkv and the Trailer is: Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-SHORTVERSION-trailer.mkv I tested several different names and every time -SHORT* is in there, it separates it into its own movie. I am guessing that Emby is assuming it is a "Short". Simply changing it to movie: Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-SHORVERSION.mkv And Trailer: Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-SHORVERSION-trailer.mkv (removing the T) fixes the problem. Seems like maybe something that should be addressed?
GrimReaper 4744 Posted July 23, 2023 Posted July 23, 2023 You can also dump it in \trailers subfolder in which case file name shouldn't matter, in general.
ulrick65 30 Posted July 23, 2023 Author Posted July 23, 2023 11 minutes ago, GrimReaper said: You can also dump it in \trailers subfolder in which case file name shouldn't matter, in general. I appreciate the recommendation...but that would change my entire collection requirements and is not something I am prepared to do. I think that Emby's parsing needs to be adjusted to pick up -short (or whatever else it is exactly looking for around shorts) but ignore things that are clearly not a short...for example have -trailer as the filename end before the extension.
Luke 42081 Posted July 24, 2023 Posted July 24, 2023 HI, yes I can see why this might happen. We'll take a look at it. Thanks.
ulrick65 30 Posted July 24, 2023 Author Posted July 24, 2023 9 minutes ago, Luke said: HI, yes I can see why this might happen. We'll take a look at it. Thanks. Thanks.
adminExitium 355 Posted August 16, 2023 Posted August 16, 2023 On 24/07/2023 at 07:21, Luke said: We'll take a look at it. Just to confirm, will the fix be for the `-short` in the title or the any file ending with `-trailer.<extension>`? I would like the second option because I have seen this issue before too even without `-short` being in the title.
Luke 42081 Posted August 17, 2023 Posted August 17, 2023 21 hours ago, adminExitium said: Just to confirm, will the fix be for the `-short` in the title or the any file ending with `-trailer.<extension>`? I would like the second option because I have seen this issue before too even without `-short` being in the title. Can you please clarify on what you're asking? Thanks.
adminExitium 355 Posted August 17, 2023 Posted August 17, 2023 I was referring to the parsing fix that was mentioned above. Is it only for titles like Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-SHORTVERSION-trailer.mkv which have the SHORT keyword in them or any file that ends in -trailer.mkv like Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-ABC-trailer.mkv ?
Luke 42081 Posted August 18, 2023 Posted August 18, 2023 6 hours ago, adminExitium said: I was referring to the parsing fix that was mentioned above. Is it only for titles like Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-SHORTVERSION-trailer.mkv which have the SHORT keyword in them or any file that ends in -trailer.mkv like Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-ABC-trailer.mkv ? -shortversion should be resolved now. if it ends in -trailer it's going to be picked up as a trailer because that's part of the trailer naming conventions.
adminExitium 355 Posted August 18, 2023 Posted August 18, 2023 1 hour ago, Luke said: picked up as a trailer There used to be some cases where it was treated as a movie which caused an infinite loop of a trailer being added for that movie, which is again treated as a movie and so on... This is what I am curious about. I have noticed the above in 2 cases: * The movie file is replaced from Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-ABC.mkv to Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-DEF.mkv but there is a trailer file remaining Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-ABC-trailer.mkv, which gets treated as a separate movie and causes an infinite loop of Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-ABC-trailer-trailer.mkv, Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-ABC-trailer-trailer-trailer.mkv, Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-ABC-trailer-trailer-trailer-trailer.mkv and so on... * There are 2 movie files present in the same folder Monty Python Live (Mostly) (2014) [Bluray-1080p][DTS 5.1][x264]-ABC.mkv & Monty Python Live (Mostly) (2014) [WEB-1080p][DTS 5.1][x264]-DEF.mkv and a trailer file gets downloaded for one of the movies Monty Python Live (Mostly) (2014) [WEB-1080p][DTS 5.1][x264]-DEF-trailer.mkv and the corresponding movie Monty Python Live (Mostly) (2014) [WEB-1080p][DTS 5.1][x264]-DEF.mkv is then removed later (due to it being a lower quality) causing the same infinite loop as above.
adminExitium 355 Posted August 18, 2023 Posted August 18, 2023 (edited) Is the fix present in the latest beta so I can try it out? Edited August 18, 2023 by adminExitium
Luke 42081 Posted August 18, 2023 Posted August 18, 2023 Just now, adminExitium said: Is the fix present in the latest beta so I can try it out? Yes it is. 1
adminExitium 355 Posted August 18, 2023 Posted August 18, 2023 Also, just to confirm the fix was only for titles containing short or has anything been fixed w.r.t trailers too such that they are never parsed as a movie? And just FYI, this is probably the same issue too:
Luke 42081 Posted August 19, 2023 Posted August 19, 2023 15 hours ago, adminExitium said: Also, just to confirm the fix was only for titles containing short or has anything been fixed w.r.t trailers too such that they are never parsed as a movie? And just FYI, this is probably the same issue too: It may help with that but without specific examples I can't say for sure.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now