Welcome Guest

Pages: 1
Req: Add tag mapping of Discogs data
PowderPostMarch 4, 2013, 14:07
Pro
Posts: 116
Registered:
March 4, 2013, 18:53
Normal topicReq: Add tag mapping of Discogs data

Currently the information from Discogs is stored in fixed fields. This is not very flexible. I would be great to have the possibility to edit the fields the information is stored in.
E.g. catalog number is always stored in "DISCOGS_CATALOG_NUMBER", i would like to have it in "CATALOGNUMBER", others maybe in "CAT#".
Another example: You store the style in the mood field. Not bad, but maybe it would be usefule to create multiple genre fields instead:

Discogs Info:
-----------
Genre: Electronic
Style: Ambient, Experimental

-->

Tagged fields:
------------
Genre:Electronic
Genre: Ambient
Genre: Experimental

It would be really good to have more possibilities here.

2MR2PostMarch 4, 2013, 14:36
Avatar photo
Administrator
Posts: 2084
Registered:
August 23, 2012, 19:27
Normal topicRe: Req: Add tag mapping of Discogs data

I can look at providing field mappings in the future. For now it is possible to have a post import script which makes all the desired changes.

Either of these issues can be resolved by writing a script once and running it after every Discogs and/or MusicBrainz import.

If you have a set of functions that you'd like to perform and would like help with the scripting, just send me the list and I'd be happy to help.

PowderPostMarch 4, 2013, 14:52
Pro
Posts: 116
Registered:
March 4, 2013, 18:53
Normal topicRe: Req: Add tag mapping of Discogs data

Okay thanks, I will have a look at scripting it.

PowderPostJune 13, 2013, 08:28
Pro
Posts: 116
Registered:
March 4, 2013, 18:53
Normal topicRe: Req: Add tag mapping of Discogs data

Another case when it would be useful to have a tag mapping:
If there is more than one publisher, the publisher field is tagged as Publisher1 & Publisher2. As I use the publisher field for symlink generation (labels/label_name/…) it would be better for me to just have the first label. It’s no big deal – I currently have to look over each release before creating the symlinks but with a feature like tag-mapping I could just tweak the settings to my needs and the manual input would decrease.

2MR2PostJune 13, 2013, 11:12
Avatar photo
Administrator
Posts: 2084
Registered:
August 23, 2012, 19:27
Normal topicRe: Req: Add tag mapping of Discogs data

You can automate this.

In an action:
Copy <Publisher> to <Variable1>
Find and Replace " &" remove it and everything after in <Variable1>
In the Create Symbolic Link Folder step use <variable1> as opposed to <Publisher>.
You can also reference <Variable1> in the rename template if you wish.

This won't do anything if there is no "&" in the publisher field.
It should get rid of your manual tweaking.

PowderPostJune 13, 2013, 15:37
Pro
Posts: 116
Registered:
March 4, 2013, 18:53
Normal topicRe: Req: Add tag mapping of Discogs data

I thought of that solution, too, but there are labels which contain & as well.

2MR2PostJune 13, 2013, 15:58
Avatar photo
Administrator
Posts: 2084
Registered:
August 23, 2012, 19:27
Normal topicRe: Req: Add tag mapping of Discogs data

Hmm, Yate either stores the fields as a single entity ('Combine multiple value items into a single value' option or stores then as multiple entries in the same value. Disabling the option would store them as publisher1;;;publisher2. (where ;;; is your 'multi value delimiter'). You could then search on the ;;; delimiter which does not occur in the online data.

If you don't want to go down this route for aesthetic reasons, I have another potential solution. I can create a new User defined field called 'First Label', 'First Publisher', 'Primary Label' or something similar. You could always then use the the following:

User Defined Fields
...User Defined Test Info
...name: First Label
...Export Value to Variable1
In the Create Symbolic Link Folder step use <variable1> as opposed to <Publisher>

Does this make sense?

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.018 seconds.