Jump to content

Force local trailer


Recommended Posts

lockdown571
Posted

So I have placed a video trailer file in all my movie folders (well, nearly all of them) named 'movie-trailer'. I've noticed that for some movies the web app will play the local trailer video, but for other movies it will play the trailer from youtube (even when a movie-trailer file exists for that movie). I can't figure out why it uses the local trailer for some movies and the youtube trailer for others. Is there a way to force it to use the local video trailer instead of the youtube trailer?

Posted

Hi there, did you run a library scan after doing this?

  • Like 1
lockdown571
Posted

I ran a library scan, that didn't work. I also tried deleting the NFO and refreshing metadata. That didn't work either. It still pulls up the youtube trailer instead of the movie-trailer file.

Posted

Hi there, can you please go over a specific example?

 

@@Happy2Play are you able to reproduce?

 

thanks !

Happy2Play
Posted (edited)

Hi there, can you please go over a specific example?

 

@@Happy2Play are you able to reproduce?

 

thanks !

 

I had no issue adding a "-trailer.ext" to media with/without nfo files.  All I had to do is 'Scan for new or updated files" or a Library scan.

 

The trailer must be the exact name of the movie file with "-trailer".  So moviename - 1080p.ext and moviename-trailer.ext will not work.  It must be moviename - 1080p.ext and moviename - 1080p-trailer.ext. (file extensions don't matter)

Edited by Happy2Play
lockdown571
Posted

I had no issue adding a "-trailer.ext" to media with/without nfo files.  All I had to do is 'Scan for new or updated files" or a Library scan.

 

The trailer must be the exact name of the movie file with "-trailer".  So moviename - 1080p.ext and moviename-trailer.ext will not work.  It must be moviename - 1080p.ext and moviename - 1080p-trailer.ext. (file extensions don't matter)

 

Maybe that's the issue. My trailers are all named 'movie-trailer,' i.e., not named after the movie. Why would it work for some movies and not others though? For instance it's working for Alien Covenant but not Alien or Aliens. It actually seems to work for 80% of my titles.

Posted (edited)

To fix it you need to move the items out of the library. Scan.

Move them back into the library. Scan.

 

Make sure when you move them out of the library you also delete the *.nfo these have. Hopefully you had nothing special in there. When you move them back it should place priority of the local trailer higher than the youtube trailer. It will know you had the trailer present when it imported the movie.

 

Same thing you have to do if it starts to play trailer plugin internet trailers rather than your local trailers. Remove the trailer plugin. Scan. Readd trailer plugin. Scan. This will move the trailers from the trailer plugin to lower priority than the local trailers.

 

By priority I mean placement in the NFO. At the top is highest priority. All trailers listed below are lesser.

Edited by speechles
lockdown571
Posted (edited)

To fix it you need to move the items out of the library. Scan.

Move them back into the library. Scan.

 

Make sure when you move them out of the library you also delete the *.nfo these have. Hopefully you had nothing special in there. When you move them back it should place priority of the local trailer higher than the youtube trailer. It will know you had the trailer present when it imported the movie.

 

Same thing you have to do if it starts to play trailer plugin internet trailers rather than your local trailers. Remove the trailer plugin. Scan. Readd trailer plugin. Scan. This will move the trailers from the trailer plugin to lower priority than the local trailers.

 

By priority I mean placement in the NFO. At the top is highest priority. All trailers listed below are lesser.

 

Ouch, that's a bit labor intensive. Thanks for the info! Also, would this same problem happen if I named the trailers after the movie (i.e., Alien-trailer) instead of generically 'movie-trailer'?

Edited by lockdown571
Posted (edited)

Ouch, that's a bit labor intensive. Thanks for the info! Also, would this same problem happen if I named the trailers after the movie (i.e., Alien-trailer) instead of generically 'movie-trailer'?

 

Wait wha?!

 

MyMovies\Path\Movie (Year)\

MyMovies\Path\Movie (Year)\Movie-filename-random-stuff.mp4

MyMovies\Path\Movie (Year)\Movie-filename-random-stuff-trailer.mp4

 

MyMovies\Path\Movie (Year)\

MyMovies\Path\Movie (Year)\Movie-filename-random-stuff.mp4

MyMovies\Path\Movie (Year)\Movie-filename-random-stuff-trailer1.mp4

MyMovies\Path\Movie (Year)\Movie-filename-random-stuff-trailer2.mkv

 

You name the trailers identical to the movie you are attaching them to. Think of the - as glue. Which filename you put before the - is which filename the trailer is glued onto. Just copy the filename of the movie and add -trailer onto the end. Is this how you've done it?

Edited by speechles
lockdown571
Posted

Wait wha?!

 

MyMovies\Path\Movie (Year)\

MyMovies\Path\Movie (Year)\Movie-filename-random-stuff.mp4

MyMovies\Path\Movie (Year)\Movie-filename-random-stuff-trailer.mp4

 

MyMovies\Path\Movie (Year)\

MyMovies\Path\Movie (Year)\Movie-filename-random-stuff.mp4

MyMovies\Path\Movie (Year)\Movie-filename-random-stuff-trailer1.mp4

MyMovies\Path\Movie (Year)\Movie-filename-random-stuff-trailer2.mkv

 

You name the trailers identical to the movie you are attaching them to. Think of the - as glue. Which filename you put before the - is which filename the trailer is glued onto. Just copy the filename of the movie and add -trailer onto the end. Is this how you've done it?

 

I get why that makes sense. For some reason I picked the convention of naming everything 'movie-trailer' years ago, and it worked with Plex so I didn't think twice about it. It was curious to me why it worked inconsistently with Emby. I'll probably name trailers the recommended way going forward.

Posted

Can you give a specific example of how you have them named, assuming you haven't renamed them yet? Thanks.

lockdown571
Posted (edited)

Can you give a specific example of how you have them named, assuming you haven't renamed them yet? Thanks.

 

Hey Luke, not sure what you are asking. Like I said, ALL my movies trailers are named "movie-trailer". Each movie-trailer file is placed within the movie folder. So for instance there is a folder named Alien (1979). Within that folder are the files Alien (1979).mkv, Alien (1979).nfo, movie-trailer.mov, poster.jpg, fanart.jpg. 

 

I think the other reason why I used the generic 'movie-trailer' naming convention, is because Media Companion (which I used to use before switching to Emby for metadata management) by default named everything single trailer it downloaded 'movie-trailer'.

 

5c7d32ec85282_ScreenShot20190304at91406A

Edited by lockdown571
Posted

Of course, you could put the trailers into a subdir named trailers inside the movie folder, then it doesn't matter, how they are named.

 

That's the way I'm doing it...

 

Ciao, Alfred

  • Like 1
Posted

Ok yea that naming is not supported at this time.

lockdown571
Posted (edited)

Thanks for all the info everyone. Looks like I'll start naming all my trailers 'actual movie name'-trailer. This seems to make Emby, Plex, and Kodi happy. Anyone have any idea how I could batch rename my current trailers? I would have to rename 'movie-trailer' to the actual movie name with '-trailer' appended based on folder name or movie file name.

Edited by lockdown571
  • 2 weeks later...
Posted

Thanks for the feedback. @@Happy2Play may know of some bulk rename methods.

Posted

Thanks for all the info everyone. Looks like I'll start naming all my trailers 'actual movie name'-trailer.

 

Media Companion now defaults to that method. It might also be able to identify and correct your trailers.. maybe.. I know I use it and it defaults to <moviename>-trailer.<ext> when saving trailers.

Aussiedroid
Posted

For what it may be worth, I had this issue on a family member server setup. Naming convention is fine but it would always default to the online trailer. I saw this about a year ago.

 

Playing around I found if I uninstalled the trailer plugin it resolved the issue.

 

I also found that it would play the online version, then afterwards still play the local version. 

 

Not sure if this relates to the OP, but wanted to mention.

 

AD

Posted

That was a year ago, that won't happen anymore. thanks.

  • 4 months later...
Posted

I actually have the problem of Emby not picking up my trailers that I named exactly the same with -trailers.ext but after reading this thread I did get the answers to my problem delete nfo and rescan my library but I am thinking what?!? movie-trailer.ext that would be so simply now I want to be able to do that.

Posted

I actually have the problem of Emby not picking up my trailers that I named exactly the same with -trailers.ext but after reading this thread I did get the answers to my problem delete nfo and rescan my library but I am thinking what?!? movie-trailer.ext that would be so simply now I want to be able to do that.

 

Hi there @@DarkVixen, can you please go over an example? Thanks !

Posted (edited)

Hi there @@DarkVixen, can you please go over an example? Thanks !

For instance in support media you have the option of naming example: your poster image {name}-poster.ext or poster.ext. I am very lazy so I always name everything poster.ext, banner.ext, backdrop.ext, and for me its enough organization that it's within a folder and adding {name} seems so unnecessary. I think naming trailers in this way would be really good for a lazy person like myself :)

 

As for my trailers not showing up, again I am lazy and forgot to scan for new files so that solved my issue that I came here looking for.

Edited by DarkVixen
Posted

Thanks for the feedback.

  • 9 months later...
khenghis
Posted

I'm kind of actually having this issue with multi version movie.

In the past version I never had any issue even if I had a ;

 

- Moviename (XXXX) - Bluray-1080p.EXT

- Moviename (XXXX) - 4K-2160p.EXT

- Moviename (XXXX) - Trailer

 

it would work. Now recently it dont. It always get online trailer instead of my local. I fixed most of my mono version movie by making them into - Moviename (XXXX) - Bluray-1080p-Trailer.EXT, but on the multi version movie it dosent work, even if I duplicate the trailer and make one for each movie extension, it will always get an online trailer.

Posted

Hi there, what version of emby server?

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