Running FileBot from the console, Groovy scripting, shell scripts, etc
rednoah
The Source
Posts: 23947 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 12 Nov 2013, 16:25
You can use FileBot to rename audio files based on ID3 tags instead of AcoustID lookup simply by specifying
--db "ID3 Tags" .
e.g.
Code: Select all
filebot -rename "01-Classical_Gas.mp3" --db "ID3 Tags" --format "{pi.pad(2)}. {n} - {t}"
Code: Select all
Rename music using [ID3]
[MOVE] Rename [X:\01-Classical_Gas.mp3] to [01. Vanessa Mae - Classical Gas.mp3]
bashers
Posts: 20 Joined: 09 Mar 2014, 09:07
Post
by bashers » 29 Apr 2014, 19:37
Rednoah, is there anywhere specific in the config that this string "--db ID3" needs to reside as automated scripts use "--def "musicFormat" instead of "--format" as i cant get it to work for me
Does this work with fn:amc or only with manual rename??
Any help appreciated to tick of this one last feature of my fully automated video&music ingest service
Ashley
Code: Select all
filebot -script fn:amc -non-strict "//freenas/torrents" --log-file c:/filebotlogs/amc_films.log --action copy --conflict skip --def plex=192.168.2.3 --def subtitles=n --def clean=y --def "movieFormat=//freenas/films/{n} ({y})/{n} ({y})" --def "seriesFormat=//freenas/Video/TV Series/{n}/{n} - {'Season '+s}/{n } - {s00e00}" --def music=y --db ID3 --def "musicFormat=//freenas/Music/_Ashley/{artist}/{artist} - {album}/{pi.pad(2)} - {t}" artwork=n --def excludeList=c:/filebotlogs/amc_films_exclude.log
Tweak_four17
Donor
Posts: 53 Joined: 24 Apr 2014, 19:30
Post
by Tweak_four17 » 29 Apr 2014, 20:11
I believe --db only works with manual rename, if you want to use a different DB with AMC you would have to download the scripts, edit them and then run them locally.
It seems to me that the line you would need to edit in AMC is this one
Code: Select all
def dest = rename(file:files, format:format.music, db:'AcoustID')
bashers
Posts: 20 Joined: 09 Mar 2014, 09:07
Post
by bashers » 29 Apr 2014, 20:18
Thanks. I think I'll give that a try
rednoah
The Source
Posts: 23947 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 30 Apr 2014, 02:26
The AMC script does not officially support using ID3 Tags , but that modification should be rather easy.
Probably like this:
Code: Select all
def dest = rename(file:files, format:format.music, db:'ID3 Tags')
In simple filebot -rename calls you would set --db "ID3 Tags"
Niteman
Posts: 1 Joined: 01 Nov 2014, 00:28
Post
by Niteman » 01 Nov 2014, 00:45
deleted.
Last edited by
Niteman on 03 Nov 2014, 20:27, edited 1 time in total.
rednoah
The Source
Posts: 23947 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 01 Nov 2014, 03:40
The amc script overrides --db for each internal call with TheTVDB, TheMovieDB or AcoustID as necessary, so passing --db as no effect.
If you want the amc script to use ID3 Tags you need to modify it yourself. See the post exactly above yours.