INTERACT FORUM

More => Old Versions => JRiver Media Center 26 for Windows => Topic started by: curiousMonkey on August 07, 2020, 04:46:44 pm

Title: Movie import creates duplicates
Post by: curiousMonkey on August 07, 2020, 04:46:44 pm
I have been adding movies in small numbers by pointing at the subdirectory where the new movie resides. That works fine.

Recently I purchased a larger number of movies and added them to my NAS at the same time.
When I selected the main movie folder directory as the starting point for the Import operation, I ended up pulling in about 20 movies that had been previously added one by one.

I deleted all the duplicates and then tried to import another group of movies a few days later. Once again about 20 movies that were duplicates (probably the same files as the last time) were imported again.

What can I do to fix this problem so that a search of the entire movie directory tree during an Import does not pull in duplicates?
Title: Re: Movie import creates duplicates
Post by: wer on August 07, 2020, 05:13:33 pm
Without more precise information, I would guess this is happening because you are importing from multiple shares from your NAS, which contain redundant portions of the directory tree.  Don't do that.  If MC finds a file at two different locations, they are considered two different files.

An example, showing the partial directory structure of each share:

Share1: (\\ROOT)
\Root
|-\All Movies
  |-\HD Movies
  |-\SD Movies
  |-\New Movies


Share2: (\\NEWMOVIES)
\Root\All Movies\New Movies

So let's say you put Batman in a folder under New Movies.  Now let's say you run an import of \\NEWMOVIES and then run an import of \\ROOT

MC will see Batman twice:
\\ROOT\All Movies\New Movies\Batman\Batman.mkv
\\NEWMOVIES\Batman\Batman.mkv

If that is your problem, don't run imports from shares that are subdirectories of higher level shares you are also importing.

You can cause the same effect by mounting shares as different drive letters if they let you access the same files.  F:\Batman\Batman.mkv is considered a different file from G:\Batman\Batman.mkv


MC uses the full file name, including the path, to uniquely identify files.  You will confuse that process if you make the same file have multiple paths, and try to import them all.
Title: Re: Movie import creates duplicates
Post by: curiousMonkey on August 07, 2020, 06:24:56 pm
I only have a single drive letter assigned to my NAS. I have separate subdirectories for music, movies and TV shows.

The import process is not duplicating the entire collection of movies but only a few of the most recent ones.
Title: Re: Movie import creates duplicates
Post by: JimH on August 07, 2020, 09:42:11 pm
A drive can also be a network share.
Title: Re: Movie import creates duplicates
Post by: tij on August 08, 2020, 06:34:24 am
A drive can also be a network share.

On my workstation ... I map same NAS location on two drive letters ... one is read only for MC to access (don’t want MC changing anything there either intentionally or accidentally) ... one is full access for me to manage NAS (lots of manual workout here lol)

So in theory if I include both those drive letters in auto import ... I will have lots of duplicates