"The Renamer Way"

Any questions? Need some help?
Post Reply
DairyWinter
Posts: 3
Joined: 02 Jun 2021, 18:17

"The Renamer Way"

Post by DairyWinter »

I used The Renamer for several years, My whole library is a certain way and I like to keep it that way. Unfortunately The Renamer doesn't work in Windows 10.

The only software I could find that was giving me similar results is Filebot. Not free, but I signed up for it anyway. Credit to filebot for fetching Poster, I used Zeeb for this before.

I need help with Companion files, they don't rename with the movie. My fix for now it to use Advance Renamer to complete Filebot job.

imdb
tmdb [I don't care about that one] not generating it would be nice
Poster[I don't care about that one] not generating it would be nice
Folder.jpg
Automatically delete any unwanted file or folder within would be nice
Movie.nfo
They all have to have the same name except "Movie Name - imdb" The date only on the folder, I managed to figure this one out.

Exemple of how it should look:
Rambo (2008)
/
Rambo.mp4
Rambo - imdb
Rambo.nfo
Rambo.jpg
Rambo.srt
User avatar
rednoah
The Source
Posts: 19804
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: "The Renamer Way"

Post by rednoah »

1.
I don't know the input file paths you're dealing with, so I can't give you a very specific answer. Please read How to Request Help for details.


2.
In general, a custom format like like this should get you started:

Code: Select all

/path/to/Movies/{ny}/{n}{' - '+fn.match(/imdb/)}
/path/to/Movies/ ... Organize files into a new folder structure. This allows you to separate named / not-yet-named files cleanly. Unwanted files are left behind in the original location.
ny ... Name (Year)
n ... Name
fn.match(/imdb/) ... Retain information from the original file name, i.e. if the current file name contain "imdb" then add "imdb" to the new file path as well.


:!: If you're processing companion files like *.nfo and *.jpg files along-side your movie files, you'll want to read Companion Files since there's different ways of dealing with them, which can make the solution above work or not work for you depending on how your files are currently named.
:idea: Please read the FAQ and How to Request Help.
DairyWinter
Posts: 3
Joined: 02 Jun 2021, 18:17

Re: "The Renamer Way"

Post by DairyWinter »

It's not easy, as for the screenshot I can't upload image here.


Folder/ The.Conjuring.The.Devil.Made.Me.Do.It.2021.1080p.
File/ 2_English.srt
File/ The.Conjuring.The.Devil.Made.Me.Do.It.2021.1080p.

After filebot **edit format option /
{ny}{'.'+fn.match('poster')}{' - imdb'+fn.match(imdb)}{'.'+fn.match('folder')}{'.'+fn.match('movie')}- {n.after}

Folder- Horror / Folder- The Conjuring The Devil Made Me Do It (2021)
File/The Conjuring The Devil Made Me Do It.mp4
The Conjuring The Devil Made Me Do It.srt
imdb
tmdb
movie
folder
poster
User avatar
rednoah
The Source
Posts: 19804
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: "The Renamer Way"

Post by rednoah »

rednoah wrote: 31 Jul 2014, 16:40 Include file paths as text when reporting mismatches (press F7 to copy debug information)
Please share file paths as text. You can copy file paths as text in matter of seconds by loading them into FileBot ➔ Original Files and then pressing the F7 key. Please click on the link above for more details on how this works. This will not only tell us the exact file path, but also if the companion files where matched to a movie file or not (assuming you hit F7 after matching your files against TheMovieDB first).

rednoah wrote: 31 Jul 2014, 16:40 Include Screenshots (absolutely required for new topics)
Please use https://snipboard.io/ to upload your screenshot and then paste the URL here.
:idea: Please read the FAQ and How to Request Help.
DairyWinter
Posts: 3
Joined: 02 Jun 2021, 18:17

Re: "The Renamer Way"

Post by DairyWinter »

Code: Select all

Awake.2021.1080p.WEBRip.x264-RARBG\Awake.2021.1080p.WEBRip.x264-RARBG.mp4	{"@type":"Movie","year":2021,"imdbId":10418662,"tmdbId":615658,"language":"en","id":615658,"name":"Awake","aliasNames":[]}
Awake.2021.1080p.WEBRip.x264-RARBG\Subs\2_English.srt	{"@type":"Movie","year":2021,"imdbId":10418662,"tmdbId":615658,"language":"en","id":615658,"name":"Awake","aliasNames":[]}
https://we.tl/b-xJJIoTPgBY
User avatar
rednoah
The Source
Posts: 19804
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: "The Renamer Way"

Post by rednoah »

Input:

Code: Select all

Awake.2021.1080p.WEBRip.x264-RARBG\Awake.2021.1080p.WEBRip.x264-RARBG.mp4
Awake.2021.1080p.WEBRip.x264-RARBG\Subs\2_English.srt
Awake.2021.1080p.WEBRip.x264-RARBG\folder.png
Awake.2021.1080p.WEBRip.x264-RARBG\imdb.url
Awake.2021.1080p.WEBRip.x264-RARBG\movie.nfo
Awake.2021.1080p.WEBRip.x264-RARBG\tmdb.url

Format:

Code: Select all

~/{n}{' - '+fn.match(/imdb/)}

Result:
Image


:!: We spot our first problem. FileBot will not match folder.png to a Movie, so we can't rename that file alongside the other files, so a second step will be necessary. This second step could be your Advanced Renamer tool, but could also be a FileBot custom Preset in Plain File Mode.
:idea: Please read the FAQ and How to Request Help.
Post Reply