Artwork Rename
Artwork Rename
I know Filebot can rename TV episodes and .nfo files. Can it rename the artwork to match the episodes?
Specifically the thumbnails, posters and fanart?
I use Kodi and need to keep the dash in those filenames. Ie. Monk S01E01-poster.
Right now when TVDB updates a TV show, I get my mpg and .nfo renamed, but not artwork.
Specifically the thumbnails, posters and fanart?
I use Kodi and need to keep the dash in those filenames. Ie. Monk S01E01-poster.
Right now when TVDB updates a TV show, I get my mpg and .nfo renamed, but not artwork.
Re: Artwork Rename



Re: Artwork Rename
Please forgive me if I ask for clarification. I know this should be easy to grasp and comprehend.
Yesterday I had a movie needing the mpg file, nfo file and -thumb.jpg file needing to be renamed.
Filebot renamed all three files with the movie name as expected. But it dropped off the -thumb from the jpg file.
I imagine it would do the same with -poster.
I've read the posts several times now and shaking my head trying to see by the posts what I need to do. Something about {ny} but that just means name and year I believe.}
Can you just list the syntax? It would seem this would be an easy thing to do when I have seen much more complicated syntax.
Most grateful for any help.
Yesterday I had a movie needing the mpg file, nfo file and -thumb.jpg file needing to be renamed.
Filebot renamed all three files with the movie name as expected. But it dropped off the -thumb from the jpg file.
I imagine it would do the same with -poster.
I've read the posts several times now and shaking my head trying to see by the posts what I need to do. Something about {ny} but that just means name and year I believe.}
Can you just list the syntax? It would seem this would be an easy thing to do when I have seen much more complicated syntax.
Most grateful for any help.
Re: Artwork Rename

rednoah wrote: ↑09 Oct 2020, 04:36 e.g. using a custom format that matches trailing patterns such as -poster from the current file name:Format: Select all
{ ny }{ '.' + fn.match(/-([a-z]+)$/) }
Console Output: Select all
Avatar.mp4 Avatar.info.xml Avatar.poster.jpg Avatar.description.txt
![]()

Re: Artwork Rename
Except in my case I need dash instead of a period for the jpeg file.
Avatar.mpg
Avatar.nfo
Avatar-thumb.jpg
Avatar-poster.jpg
Or take a TV show episode (made up)
Chuck S01E03 - Cat and mouse.mpg
Chuck S01E03 - Cat and mouse.nfo
Chuck S01E03 - Cat and mouse-thumb.jpg
Chuck S01E03 - Cat and mouse-poster.jpg
Needs to change due TVDB change (made up example)
Chuck S01E03 - Cat and mice.mpg
Chuck S01E03 - Cat and mouse.nfo
Chuck S01E03 - Cat and mouse-thumb.jpg
Chuck S01E03 - Cat and mouse-poster.jpg
I need Filebot not to truncate -poster and -thumb from the filenames.
Avatar.mpg
Avatar.nfo
Avatar-thumb.jpg
Avatar-poster.jpg
Or take a TV show episode (made up)
Chuck S01E03 - Cat and mouse.mpg
Chuck S01E03 - Cat and mouse.nfo
Chuck S01E03 - Cat and mouse-thumb.jpg
Chuck S01E03 - Cat and mouse-poster.jpg
Needs to change due TVDB change (made up example)
Chuck S01E03 - Cat and mice.mpg
Chuck S01E03 - Cat and mouse.nfo
Chuck S01E03 - Cat and mouse-thumb.jpg
Chuck S01E03 - Cat and mouse-poster.jpg
I need Filebot not to truncate -poster and -thumb from the filenames.
Re: Artwork Rename
In the last example mouse should be mice.
Chuck S01E03 - Cat and mice.nfo
Chuck S01E03 - Cat and mice-thumb.jpg
Chuck S01E03 - Cat and mice-poster.jpg
Chuck S01E03 - Cat and mice.nfo
Chuck S01E03 - Cat and mice-thumb.jpg
Chuck S01E03 - Cat and mice-poster.jpg
Re: Artwork Rename


Format: Select all
{ '-' + fn.match(/-([a-z]+)$/) }
Re: Artwork Rename
Both are set as the default settings.
Movies
{n.colon(' - ')} ({y}){' CD'+pi}{subt}
TV Show Episodes
{n} - {s00e00} - {t}
Movies
{n.colon(' - ')} ({y}){' CD'+pi}{subt}
TV Show Episodes
{n} - {s00e00} - {t}
Re: Artwork Rename
If you want your format to add the -thumb bit, then you need to add the code that does that. It's just copy & paste from the Companion Files manual.rednoah wrote: ↑04 Feb 2025, 16:26What happens if you add this snippet (using - instead of . as separator) from the example above to your format?
NOTE: This code will copy & paste the -thumb bit from the current file path into the proposed target file path.Format: Select all
{ '-' + fn.match(/-([a-z]+)$/) }
e.g. movie format
Format: Select all
{n.colon(' - ')} ({y}){' CD'+pi}{ '-' + fn.match(/-([a-z]+)$/) }{subt}
Format: Select all
{n} - {s00e00} - {t}{ '-' + fn.match(/-([a-z]+)$/) }
Re: Artwork Rename
Thank you I'll give this a real try with my next recorded files coming up.