Jump to content

Trailer picked up as a Movie


Recommended Posts

ulrick65
Posted (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?

 

 

Two movies, one is trailer.jpg

 

Edited by ulrick65
GrimReaper
Posted

How are you files named and organized?

ulrick65
Posted
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
Posted
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
Posted

You can also dump it in \trailers subfolder in which case file name shouldn't matter, in general.

ulrick65
Posted
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.

Posted

HI, yes I can see why this might happen. We'll take a look at it. Thanks.

ulrick65
Posted
9 minutes ago, Luke said:

HI, yes I can see why this might happen. We'll take a look at it. Thanks.

Thanks.

  • 4 weeks later...
adminExitium
Posted
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.

Posted
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
Posted

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 ?

Posted
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
Posted
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.mkvMonty 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.mkvMonty 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
Posted (edited)

Is the fix present in the latest beta so I can try it out?

Edited by adminExitium
Posted
Just now, adminExitium said:

Is the fix present in the latest beta so I can try it out?

Yes it is.

  • Thanks 1
adminExitium
Posted

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: 

 

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...