Rename Audio files using ID3 tags instead of AcoustID lookup

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Rename Audio files using ID3 tags instead of AcoustID lookup

Post by rednoah »

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]
:idea: Please read the FAQ and How to Request Help.
bashers
Posts: 20
Joined: 09 Mar 2014, 09:07

Re: Rename Audio files using ID3 tags instead of AcoustID lo

Post by bashers »

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

Re: Rename Audio files using ID3 tags instead of AcoustID lo

Post by Tweak_four17 »

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

Re: Rename Audio files using ID3 tags instead of AcoustID lo

Post by bashers »

Thanks. I think I'll give that a try
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename Audio files using ID3 tags instead of AcoustID lo

Post by rednoah »

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"
:idea: Please read the FAQ and How to Request Help.
Niteman
Posts: 1
Joined: 01 Nov 2014, 00:28

Re: Rename Audio files using ID3 tags instead of AcoustID lo

Post by Niteman »

deleted.
Last edited by Niteman on 03 Nov 2014, 20:27, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename Audio files using ID3 tags instead of AcoustID lo

Post by rednoah »

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. :lol:
:idea: Please read the FAQ and How to Request Help.
Post Reply