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

JustRename use first movie folder found as root for movies folder #12

Open
dada051 opened this issue Mar 28, 2023 · 5 comments
Open

JustRename use first movie folder found as root for movies folder #12

dada051 opened this issue Mar 28, 2023 · 5 comments

Comments

@dada051
Copy link

dada051 commented Mar 28, 2023

Sample of dry run from "python3 perplex.py --load plex.db --justRename /movies/ --dry"
Start Renaming the files in their original path
/movies/Unsorted/12 Years A Slave/12 Years A Slave 1080p AC3.mkv
/movies/Unsorted/12 Years A Slave/12 Years a Slave (2013)/12 Years a Slave (2013).mkv
/movies/Unsorted/1917 (2019)/1917 (2019) 1080p AC3.mkv
/movies/Unsorted/12 Years A Slave/1917 (2020)/1917 (2020).mkv
/movies/Unsorted/2040 (2019)/2040 (2019) 1080p AC3.mkv
/movies/Unsorted/12 Years A Slave/2040 (2019)/2040 (2019).mkv

12 Years A Slave is part of root folder after.

@windowslucker1121
Copy link
Contributor

Hey, hey.
would you mind sharing your plex.db file? (if you dont want to share it public, just contact me via my email adress in my profile.)

NOTE: I cant say if the database does contain critical information, so it would be your choice to share your DB

But i was the one, adding the "justRename" feature to this repo - for me it was working fine, but i think you might hit an edge case which i didnt had in mind when programming it for my specific case.

@dada051
Copy link
Author

dada051 commented Apr 13, 2023

Mail sent ;)

@dada051
Copy link
Author

dada051 commented Aug 23, 2023

@windowslucker1121 Any news ?

@windowslucker1121
Copy link
Contributor

windowslucker1121 commented Aug 23, 2023

@windowslucker1121 Any news ?

I am so sorry, I will take a look into it at the weekend. I didn't realized that you send it, but indeed I received it. I will keep you updated!

@dada051 would you mind sharing the exact layout of your current file situation?

Like

/Movies
-> unsorted/
-> -> 12 Years A Slave 1080p AC3.mkv
-> -> anotherMovie.mkv

And what do you expect as an outcome, just for verification because a good amount of time has passed since I was coding it.

/Movies
-> 12. Years a slave(DATE)/
-> -> 12 Years A Slave 1080p AC3 (DATE).mkv
-> Another Movie(DATE)/
-> -> anotherMovie (DATE).mkv

Greetings and sorry that I missed your mail. :-(

@dada051
Copy link
Author

dada051 commented Aug 28, 2023

Don't worry for the missed mail.

Every movie is already in a subfolder (it's like the expected layout), but I need to rename every subfolder and the movie that is contained into. Probably the script is expecting that all movies are in the same folder.

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