Page 1 of 1

[BUG] Concatenating Artist && Album Artist

Posted: 14 Nov 2016, 06:05
by costonbw
I am normalizing music files for use in Plex. Occasionally FileBot concatenates the tags for 'Artist' and 'Album Artist'. So, if the Artist is "A-ha" and the Album Artist is "A-ha" then using the {n} or {Artist} tags in an expression results in "A-ha A-ha"

Here is a clip of the tags I used to test:

Image

Here is a clip of the bindings and finished product:

Image

Version info etc below:

Code: Select all

filebot -version
FileBot 4.7.2 (r4178) / Java(TM) SE Runtime Environment 1.8.0_112

Code: Select all

filebot -script fn:sysinfo
FileBot 4.7.2 (r4178)
JNA Native: 4.0.1
MediaInfo: 0.7.87
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Script Bundle: 2016-11-07 (r458)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_112
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 1 GB Max Memory / 149 MB Used Memory
OS: Mac OS X (x86_64)
Package: APP
Data: /Users/Brad/.filebot
uname: Darwin Brads-Mac-mini.local 16.1.0 Darwin Kernel Version 16.1.0: Wed Oct 19 20:31:56 PDT 2016; root:xnu-3789.21.4~4/RELEASE_X86_64 x86_64
Done ヾ(@⌒ー⌒@)ノ
I'm working around this by eliminating Album Artist when possible, as it's usually not different from Artist. But that requires an extra step, and I'm normalizing a large music library. I hope the information here helps. Please let me know if any clarification would be helpful, or if you see something I'm doing wrong.

Re: [BUG] Concatenating Artist && Album Artist

Posted: 14 Nov 2016, 06:59
by rednoah
For music {n} is defined as follows:

n ... albumArtist if albumArtist is defined, otherwise artist

n does not combine albumArtist + artist in anyway. On your screenshots it looks like that, so there must be something wrong with the data FileBot is getting from AcoustID or MediaInfo (presumably you're using "ID3 Tags" but you didn't say so).

You can use albumArtist or artist directly if you don't like the value n gives you. You also want to look at what FileBot thinks these values are if n doesn't work the way you'd like.


What does the raw MediaInfo table say?

MediaInfo key to FileBot binding map:

Code: Select all

Album/Performer => albumArtist
Performer => artist
Image