Hello,
Not sure if this is the right section for this.
A little back story. I use filebot to rename TV shows automatically, and manually rename movies. Currently I send a weekly digest to users of my Plex server with what has been added this week. This is done in a PowerShell script.
If it takes me longer then a week to rename a movie file, the digest contains the torrent name instead of the readable filebot name.
Is there a way to pass filebot a filename and have it return the matched name, without actually doing the rename on the file? I looked through the documentation but didn't see a whatif type parameter.
Get name without renaming files
Re: Get name without renaming files
You can't get the future name. But you can get the past name.
e.g. print recently added files:
e.g. print recently added files:
Code: Select all
filebot -mediainfo -r /path/to/files --file-filter "age < 7" --format "• {historic.fn} was added as {plex}"
Re: Get name without renaming files
Ok thanks. It would be cool if FB did this so I don't need to clean filenames up with regex to make them presentable.
Even better would be if it could return an array of data, or JSON or whatever which includes the uid from the service matching it. So for instance an IMDB matched movie would also return the IMDB id number.
That way my script could link the cover art and rating easily.
Even better would be if it could return an array of data, or JSON or whatever which includes the uid from the service matching it. So for instance an IMDB matched movie would also return the IMDB id number.
That way my script could link the cover art and rating easily.
Re: Get name without renaming files
Using {json} should do the job:
Code: Select all
filebot -mediainfo -r /path/to/files --file-filter "age < 7" --format "{json}"