gboudreau / XBMCnfoMoviesImporter.bundle

687 stars 156 forks source link

Duplicate Trailers #92

Open fnwc opened 7 years ago

fnwc commented 7 years ago

I have a movie:

Crazy.People.1990.1080p.AMZN.WEB-DL.mkv

and a trailer

Crazy.People.1990.1080p.AMZN.WEB-DL-trailer.mkv

for some reason, it shows up 2 trailers in the Plex interface under "Extras".

Refreshing the metadata or unmatching/matching causes more duplicates to be generated for some reason.

I also have the following tag in the .nfo, don't know if it makes a difference or not:

<trailer>http://www.youtube.com/watch?hd=1&amp;v=mj0Ko5RygGo</trailer>

However, that link never shows in the Plex interface at all.

fnwc commented 7 years ago

Here's the image after refreshing a few times (notice the 5 copies of trailers):

Image of Duplicates

SlrG commented 7 years ago

Online (linked) trailers are not supported. The double trailer problem could happen, if you are using plex' local media assets agent in conjunction with the nfoimporter agent and have trailer support enabled in the nfoimporter agents settings, too. Please disable that and check if it solves your problem.

I have no idea, why refreshing creates multiple trailer entries. I'll have a look at that.

fnwc commented 7 years ago

Disabling trailer support for nfoMoviesImporter prevented more trailers from being duplicated, but it didn't get rid of existing duplicates, so I'm not yet sure if it fixes the initial problem. I'll add a new movie and check.

SlrG commented 7 years ago

If there are duplicates already, they probably can only be removed, by recreating the whole library.

FSA1 commented 6 years ago

To solve duplicated trailers, disable trailer support and then refresh library. Set "local media assets" as primary agent followed by XBMCnfoImporter and refresh library.