Some of my movies are named like these ones:
Die Uhr läuft ab (1975) 720p text_that_might_be_removed HDTV
Die Uhr läuft ab - text_that_might_be_removed (1975) 720p remastered
Die Uhr läuft ab (1975) 720p Web HD
Die Uhr läuft ab (1975) 720p - text_that_might_be_removed SW 2Kanal
Die Uhr läuft ab (Directors Cut) - text_that_might_be_removed (1975) 720p
I want to rename all my movies to be named in a way TMDB could find them. Filebot could do the job, but I would like to keep some extras like "HDTV" or "remastered" or "WebHD" or "SW" or "2Kanal". Is there a easy way for a NOOB like me?
This is what I would like to be:
Die Uhr läuft ab (1975) 720p HDTV
Die Uhr läuft ab (1975) 720p remastered
Die Uhr läuft ab (1975) 720p Web HD
Die Uhr läuft ab (1975) 720p SW 2Kanal
Die Uhr läuft ab (Directors Cut) (1975) 720p
I found this to rename: {ny}{' CD'+pi} {vf}
works fine: Die Uhr läuft ab (1975) 720p but want to keep some of the additional information WebHD, SW...
Thanks in advance for any help and sorry for my bad english.
Movie file renaming for NOOB
Re: Movie file renaming for NOOB
Worked like a charme! Would it be possible to skip renaming files, which were found in the selected database (TMDB).
Reason: I have scraped all of my files in Kodi, some did not work (wrong naming) and I don't want to re-scrape all the files (low bandwidth).
Reason: I have scraped all of my files in Kodi, some did not work (wrong naming) and I don't want to re-scrape all the files (low bandwidth).
Re: Movie file renaming for NOOB
You should have separated processed and not-yet-processed files in the first place, by using a format that moves files into a new structure rather than just renaming them in place.
e.g.
e.g.
Code: Select all
/path/to/well-organized/files/Media/{plex}
Re: Movie file renaming for NOOB
Is there any workaround if I want to keep all expressions after the "Year"?
Example:
Die Uhr läuft ab (1975) 720p SW 2Kanal own expression 1 ....
the processed filename should just keep all af the text, following the Year: " 720p SW 2Kanal own expression 1 ...."
Example:
Die Uhr läuft ab (1975) 720p SW 2Kanal own expression 1 ....
the processed filename should just keep all af the text, following the Year: " 720p SW 2Kanal own expression 1 ...."
Re: Movie file renaming for NOOB
Sure, but it's bad practice:
I recommend properly generating the destination path based on intrinsic information, instead of taking bits and pieces from the original file path:
Code: Select all
{plex.derive{' '+fn.after(/[0-9]{4}/).matchAll(/\w+/)}}
Code: Select all
{plex.derive{" by $director"}{" [$vf, $vc, $ac]"}}
Re: Movie file renaming for NOOB
I know that, but in my case it was the only way to realize it: I have a database (access) with all my DVDs. I needed a way to get them in a virtual way into Kodi. In that DB all DVDs had a Number pointing to the DVD (in three cases with about 500 DVDs). The movies are avi DVD mkv...s. I generated an excel file with all these informations and created filenames (txt) with the coresponding endings: mkv, iso,avi... So I could easyly change the right file format from txt to avi,mkv... I created a folder with all these files (zero files) and now I could scan them all with Kodi. Worked like a charmeSure, but it's bad practice:

Donation is on the way. Thank you very much!
P.S. done!
