INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC repeatedly importing the same disc  (Read 1115 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
MC repeatedly importing the same disc
« on: June 06, 2023, 07:09:22 am »

now I know there are a lot of John Wick films that appear to be identical but MC takes this a bit too far :)

I have deleted this more than once and it keeps coming back & now it's importing it again and again so I have multiple copies in the library. Any idea how to stop this?

nothing obvious in logs to explain it & doesn't happen with any other folder

Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: MC repeatedly importing the same disc
« Reply #1 on: June 06, 2023, 07:17:32 am »

I would do a list view (or similar) so I could see the referenced filename.  It's possible something wonky is happening there.  If they all have the exact same file name... well I'd start doing wonky stuff of my own (like renaming the file to something completely different), but I'm probably ahead of the game here.

Best of luck.
Brian.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC repeatedly importing the same disc
« Reply #2 on: June 06, 2023, 08:14:59 am »

same name in each one

Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: MC repeatedly importing the same disc
« Reply #3 on: June 06, 2023, 08:22:07 am »

Oh it's a bluray structure. 

Maybe enable logging, do an import, and then submit a log file?

Brian.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC repeatedly importing the same disc
« Reply #4 on: June 06, 2023, 08:30:55 am »

I rebooted so auto import ran again

Code: [Select]
$  grep Wick Log.txt
0572089: 12084: Import: ImportNewFiles: Adding: W:\John Wick_ Chapter 3 - Parabellum\BDMV\index.bdmv
0572100: 12084: Import: JRAnalyzer::AddFile: Filename: W:\John Wick_ Chapter 3 - Parabellum\BDMV\index.bdmv
0572104: 12084: Import: JRAnalyzer::AddFileJRWorkerExe: Parameters: /AnalyzeDX "W:\John Wick_ Chapter 3 - Parabellum\BDMV\index.bdmv" "C:\Users\matt\AppData\Roaming\J River\Media Center 31\Temp\Analyze - 12084.xml"
0572105: 12084: General: RunProgram: Filename: C:\Program Files\J River\Media Center 31\JRWorker.exe / Parameters: /AnalyzeDX "W:\John Wick_ Chapter 3 - Parabellum\BDMV\index.bdmv" "C:\Users\matt\AppData\Roaming\J River\Media Center 31\Temp\Analyze - 12084.xml"
0000008: 11540: Import: CJRVideoAnalyzeHelper::AnalyzeFileDX: Filename: W:\John Wick_ Chapter 3 - Parabellum\BDMV\index.bdmv, File Type: bdmv
0000111: 11540: CD: JRBlurayHelper::SetFilename: Created BDROM object for path=W:\John Wick_ Chapter 3 - Parabellum\BDMV\
0000938: 11540: CD: JRBlurayHelper::SetFilename: Created BDROM object for path=W:\John Wick_ Chapter 3 - Parabellum\BDMV\
0000948: 11540: Playback: CJRVideoAnalyzeExtended::AnalyzeFile: Using 'W:\John Wick_ Chapter 3 - Parabellum\BDMV\STREAM\00278.m2ts' as Blu-ray reference clip
0597249: 12084: Import: ImportNewFiles:     New File: W:\John Wick_ Chapter 3 - Parabellum\BDMV\index.bluray;1

you can see that it knows it deleted it previously but then imports it anyway
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: MC repeatedly importing the same disc
« Reply #5 on: June 06, 2023, 08:41:00 am »

Windows or Linux?

Related to case?
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC repeatedly importing the same disc
« Reply #6 on: June 06, 2023, 09:13:06 am »

windows, windows tells me there is one and only one such dir

Code: [Select]
PS W:\> dir "John Wick_ Chapter 3 - Parabell*"


    Directory: W:\


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        18/04/2020     10:24                John Wick_ Chapter 3 - Parabellum
[code]
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: MC repeatedly importing the same disc
« Reply #7 on: June 06, 2023, 10:50:06 am »

Did you try renaming the directory?  It has an asterisk in it.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC repeatedly importing the same disc
« Reply #8 on: June 06, 2023, 10:54:10 am »

It doesn't, dir name is bottom line in output
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: MC repeatedly importing the same disc
« Reply #9 on: June 06, 2023, 11:00:44 am »

OK.  Did you try renaming it?
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC repeatedly importing the same disc
« Reply #10 on: June 06, 2023, 11:32:36 am »

use rename in MC, it moved just 2 files and the sidecar and left the rest behind

Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC repeatedly importing the same disc
« Reply #11 on: June 06, 2023, 11:40:16 am »

moved the rest of it manually
deleted all the entries from MC
ran import again on that directory

Code: [Select]
11748961: 3448: Import: AddFile: Skipping Previously Removed: W:\John Wick Chapter 3 - Parabellum\BDMV\index.bdmv
11748975: 3448: Import: AddFile: Skipping Previously Removed: W:\John Wick Chapter 3 - Parabellum\BDMV\MovieObject.bdmv
11775003: 8284: Import: AddFile: Skipping Previously Removed: W:\John Wick Chapter 3 - Parabellum\BDMV\index.bdmv
11775060: 8284: Import: AddFile: Skipping Previously Removed: W:\John Wick Chapter 3 - Parabellum\BDMV\MovieObject.bdmv
11810958: 8284: Import: ImportNewFiles: Adding: W:\John Wick Chapter 3 - Parabellum\BDMV\index.bdmv
11810972: 8284: Import: JRAnalyzer::AddFile: Filename: W:\John Wick Chapter 3 - Parabellum\BDMV\index.bdmv

it clearly knows that it deleted these things before (more than once) but decides to import anyway
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC repeatedly importing the same disc
« Reply #12 on: June 06, 2023, 02:00:55 pm »

deleted it again from MC then imported
it shows up again

ran import again and it says


Code: [Select]
Imported 1 new file.
Updated 2 files that had external changes.

In-depth details:
Imported:
    W:\John Wick Chapter 3 - Parabellum\BDMV\index.bluray;1


Updated:
    W:\John Wick Chapter 3 - Parabellum\BDMV\index.bluray;1
    W:\John Wick Chapter 3 - Parabellum\BDMV\index.bluray;1

didn't duplicate the library item this time though
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: MC repeatedly importing the same disc
« Reply #13 on: June 06, 2023, 02:10:06 pm »

Maybe covered above, but import has a check box to let you import files previously deleted.  Is it checked?
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: MC repeatedly importing the same disc
« Reply #14 on: June 06, 2023, 02:37:57 pm »

now I know there are a lot of John Wick films that appear to be identical but MC takes this a bit too far :)

I have nothing useful to say about this issue.  But I found this quote pretty funny and I want to say so.  :) :) :)

Brian.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC repeatedly importing the same disc
« Reply #15 on: June 06, 2023, 03:05:20 pm »

Maybe covered above, but import has a check box to let you import files previously deleted.  Is it checked?
it's unclear if that applies to single folder import  (given it's not an option on that dialog) but it is checked on the auto import config
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: MC repeatedly importing the same disc
« Reply #16 on: June 06, 2023, 03:10:43 pm »

Uncheck it.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC repeatedly importing the same disc
« Reply #17 on: June 06, 2023, 03:27:39 pm »

Uncheck it.
?

the option is "Ignore files previously removed from the library"

I realise it's currently not ignoring this particular file but I'm curious why unchecking that would help?

also note that I can't uncheck that without actually running auto import with that setting which I'm loathe to do for no reason (because unchecking it but clicking cancel doesn't save the change)
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10943
Re: MC repeatedly importing the same disc
« Reply #18 on: June 07, 2023, 06:09:47 am »

Did you try removing all references from it from the DB, including the "removed" DB (you can make a smartlist to show those), and then see if it still duplicates?

I imagine something must've gone wrong with this particular file, but I don't see anything standing out right away. Its not like its generally doing it for all BDMV entries.
Logged
~ nevcairiel
~ Author of LAV Filters

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: MC repeatedly importing the same disc
« Reply #19 on: June 07, 2023, 07:37:04 am »

we might have a winner :)

I did that (deleted it from all the places), imported it 3 times which produced 2 entries, deleted those (just normally, not from deleted db) and imported again, now it sticks and isn't reimporting.
Logged
Pages: [1]   Go Up