Place TVDB episode ID into each filename

All your suggestions, requests and ideas for future development
Post Reply
Posts: 1
Joined: 30 Jul 2013, 19:32

Place TVDB episode ID into each filename

Post by djizle »

hello, i was curious if by any chance you would be able to add the ability to place the TVDB Episode ID number into the filename. i would rather use that ID than the CRC32 as once i reencode a file that CRC is useless. you can already do it for movies and i always get 100% scraping results that way so i was hoping i could do the same for my tv shows & anime.

if there is currently a way to do this i would be greatly pleased with any help that could be provided.


User avatar
The Source
Posts: 19140
Joined: 16 Nov 2011, 08:59
Location: Taipei

Re: Place TVDB episode ID into each filename

Post by rednoah »

What are you trying to achieve? If you have extended attributes supported and enabled it'll already dump the object model as json string into xattr fields.

Code: Select all

filebot -script fn:xattr "Firefly - 1x01 - The Train Job.mkv"

Code: Select all

D:\workspace\testdata\AMC-TEST\Firefly - 1x01 - The Train Job.mkv
	filename: firefly.101.mkv
	metadata: {"@type":"net.sourceforge.filebot.web.Episode","seriesName":"Firefly","seriesStartDate":{"year":2002,"month":9,"day":20},"season":1,"episode":1,"title":"The Train Job","absolute":2,"special":null,"airdate":{"year":2002,"month":9,"day":20},"series":{"@type":"net.sourceforge.filebot.web.TheTVDBSearchResult","seriesId":78874,"name":"Firefly"}}
@see ... &t=5#p5394

EDIT: In layman terms, filebot is storing all info for later reference regardless of the filename.
:idea: Please read the FAQ and How to Request Help.
Post Reply