Need help going from old plex format to new format while preserving any existing subfolders (e.g. BTS, Deleted Scenes...
Posted: 04 Aug 2023, 03:21
Looking for GUI / Groovy preset code to address my particular use case. New to Filebot and Groovy, and have searched and tried and used ChatGPT for several hours, but am stuck.
First, let's ignore the media/movies part of this, and assume I want to rename just the outer folders and the main movie file and have them remain 'in place' on the drive, for now (this works best for me, for now...)
I may be doing something wrong from the moment I drop a folder into Filebot GUI. It loads the movie and all the files in the Behind the Scenes subfolder, which I may not want, but it might be fine if I can build a preset that tells filebot to ignore subfolders and their content.
Deleting these subfolder files manually is too many clicks. If I leave them, the Plex preset wants to rename them as CD2, 3 etc. If I try to edit the plex preset, I get stuck trying to imitate the new plex format, specifically, getting the {tmdb-####} to appear correctly in the folder name (I want to do this to suppress the auto CD1, 2... numbering that seems to be part of the plex.id preset.
Here's the structure I want to keep in place (note the directory path at top of screen capture)
https://capture.dropbox.com/Pv1W8TDaPCszjQbu
But this shouldn't matter--I just want to leave the structure in place but match and update the folder name based on its movie file's name and year info.
Re Behind the Scenes folders: Mostly I've just dumped all extras into one Behind the Scenes folder, for all movies. Again, just want filebot to leave these folders and their contents alone.
Again, my goal is to clean up the movies' outer folder names (and add the TMDB-#### string, correctly, for new plex format) and movie title (my movie titles are 99% correct, though) in place--i.e. not move things around to a media/movies folder, and (again again) ignore other subfolders and files therein.
Can anyone advise me and/or hook me up with the groovy code and/or steps to build a preset so I can drop and process these movie folders in, ideally, small batches of outer folders (i.e. 5-10 movies at a time)? Hopefully this will work for one folder at a time, as well, so I can test.
Thanks so much for any advice (except 'delete your extras' advice...)
Courtenay
First, let's ignore the media/movies part of this, and assume I want to rename just the outer folders and the main movie file and have them remain 'in place' on the drive, for now (this works best for me, for now...)
I may be doing something wrong from the moment I drop a folder into Filebot GUI. It loads the movie and all the files in the Behind the Scenes subfolder, which I may not want, but it might be fine if I can build a preset that tells filebot to ignore subfolders and their content.
Deleting these subfolder files manually is too many clicks. If I leave them, the Plex preset wants to rename them as CD2, 3 etc. If I try to edit the plex preset, I get stuck trying to imitate the new plex format, specifically, getting the {tmdb-####} to appear correctly in the folder name (I want to do this to suppress the auto CD1, 2... numbering that seems to be part of the plex.id preset.
Here's the structure I want to keep in place (note the directory path at top of screen capture)
https://capture.dropbox.com/Pv1W8TDaPCszjQbu
But this shouldn't matter--I just want to leave the structure in place but match and update the folder name based on its movie file's name and year info.
Re Behind the Scenes folders: Mostly I've just dumped all extras into one Behind the Scenes folder, for all movies. Again, just want filebot to leave these folders and their contents alone.
Again, my goal is to clean up the movies' outer folder names (and add the TMDB-#### string, correctly, for new plex format) and movie title (my movie titles are 99% correct, though) in place--i.e. not move things around to a media/movies folder, and (again again) ignore other subfolders and files therein.
Can anyone advise me and/or hook me up with the groovy code and/or steps to build a preset so I can drop and process these movie folders in, ideally, small batches of outer folders (i.e. 5-10 movies at a time)? Hopefully this will work for one folder at a time, as well, so I can test.
Thanks so much for any advice (except 'delete your extras' advice...)
Courtenay