Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-Multi is causing renaming issues #39

Closed
fluxtheory opened this issue Apr 26, 2020 · 3 comments
Closed

-Multi is causing renaming issues #39

fluxtheory opened this issue Apr 26, 2020 · 3 comments
Assignees

Comments

@fluxtheory
Copy link

Hey Boss,

Just noticed that some of the videos that were left behind after a -Multi sort are actually part two's and three's of already moved JAVs. Running Javinizer again over these files results in :

Move-Item: C:\Users\Bailey\Documents\PowerShell\Modules\Javinizer\1.4.2\Private\
Set-JavMovie.ps1:91
Line |
  91 |  . tion Stop | Move-Item -Destination $folderPath -Force:$Force -ErrorAc
.
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot create a file when that file already exists.

Unfortunately I cannot reproduce this unless I go back and rename the moved files by hand.

@jvlflame
Copy link
Collaborator

You will receive that error when sorting multipart movies using -Multi. Unfortunately I don't have a good way of suppressing that error on successful sorts, but it should be working properly as long as the files are named properly.

What is the current naming scheme of your multipart videos that you're trying to sort. Do you have an example?

@jvlflame jvlflame self-assigned this Apr 26, 2020
@fluxtheory
Copy link
Author

fluxtheory commented Apr 26, 2020

They're a mixed bag. But they usually follow one of the following schema:
ID-001A
ID-001CD1
ID-001_1

The problem right now is that it is taking ID-001CD1 for example, moving it to the new folder correctly. But then removing the suffix for ID-001CD2 and then leaving it in the original folder.

@fluxtheory
Copy link
Author

Ah, I didnt see the dash in ID-069-cd1. My mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants