Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.
Also make sure you've read the Forum Guidelines before posting in this forum.
Mar 9 2012, 14:01
Post
#1
|
|
|
Member Group: Full Members Posts: 29 Joined: 14-June 11 Member No.: 14676 Mp3tag Version: 2.49 |
When I import the Discogs "Extra artists" field, I get e.g. this:
Composed By: Russell, Morrison; Lead Vocals: Ringo; Vocals [+]: Paul I'd like to extract only the composer(s) and get this: Russell; Morrison Of course one can assume that the credits are not always in the same order. Also, "Composed By" will sometimes be called "Written By" or something else. I'm pretty sure which expressions I have to use. It just doesn't quite 'fit' yet. Any ideas? This post has been edited by KeyMs92: Mar 9 2012, 14:07 |
|
|
|
![]() |
Mar 9 2012, 16:59
Post
#2
|
|
|
Member Group: Full Members Posts: 29 Joined: 14-June 11 Member No.: 14676 Mp3tag Version: 2.49 |
Thanks, works perfectly!
It would indeed be nice if this was integrated into the script. I think many people use this format for listing artists/composers. Out of curiosity, do you know of a way to easily compare the composers listing with other sources, Allmusic in particular? As I understand it there's no way to import Allmusic data in Mp3tag. If there was, it would be easy to export both composer listings and compare them in a text comparer tool. Usually, I work by using the Discogs tags as a starting point and then compare them with other sources. Most of the tags can easily be done manually, except the 'per-tag' tags like 'title' and 'composer'. This post has been edited by KeyMs92: Mar 9 2012, 17:00 |
|
|
|
Mar 9 2012, 17:28
Post
#3
|
|
![]() Member Group: Full Members Posts: 1571 Joined: 15-March 09 From: Germany Member No.: 9103 Mp3tag Version: 2.50 |
Thanks, works perfectly! It would indeed be nice if this was integrated into the script. I think many people use this format for listing artists/composers. Out of curiosity, do you know of a way to easily compare the composers listing with other sources, Allmusic in particular? As I understand it there's no way to import Allmusic data in Mp3tag. If there was, it would be easy to export both composer listings and compare them in a text comparer tool. Usually, I work by using the Discogs tags as a starting point and then compare them with other sources. Most of the tags can easily be done manually, except the 'per-tag' tags like 'title' and 'composer'. I have no idea how to compare data with Allmusic. As far as I know, it is forbidden to post Allmusic web sources scripts in Mp3tag, because they have complained against scripts running on their page. |
|
|
|
Mar 18 2012, 12:02
Post
#4
|
|
|
Member Group: Full Members Posts: 29 Joined: 14-June 11 Member No.: 14676 Mp3tag Version: 2.49 |
The only problem is that Discogs distinguishes between extraartists per track and per album. On the release page the latter group is the credits. This means only the composers that are listed as extraartists per track are retrieved.
Is there are already an action script available that extracts the composers from the credits and writes it to the tracks? (If there is, it must be a pretty complicated one!) This post has been edited by KeyMs92: Mar 18 2012, 12:03 |
|
|
|
Mar 18 2012, 13:38
Post
#5
|
|
![]() Member Group: Full Members Posts: 1571 Joined: 15-March 09 From: Germany Member No.: 9103 Mp3tag Version: 2.50 |
The only problem is that Discogs distinguishes between extraartists per track and per album. On the release page the latter group is the credits. This means only the composers that are listed as extraartists per track are retrieved. Is there are already an action script available that extracts the composers from the credits and writes it to the tracks? (If there is, it must be a pretty complicated one!) I know it's complicated. For the new discogs script I'm also trying to get it from both sections. I don't think it will work completely without mistakes, but I'm getting pretty close. I will take a few days until I upload the script. It has got pretty complicated and I have to do a few other things in that thing called "real life". Anyway, for your action, try this: Action 1: Format Value Field: COMPOSER Formatstring: $if($eql($regexp(%mixartist%,.*(Composed By|Written-By|Written By).+,yes),yes),$replace($regexp($regexp(%mixartist%,'.*(^|; )[^:]*(Composed By|Written-By|Written By)[^:]*: (.+?(;|$)).*',$3),;$,),',',;),%composer%) Action 2: Format Value Field: COMPOSER TEMP Formatstring: $if($eql($regexp(%credits%,.*(Composed By|Written-By|Written By).+,yes),yes),$replace($regexp($regexp(%credits%,'.*(^|; )[^:]*(Composed By|Written-By|Written By)[^:]*: (.+?(;|$)).*',$3),;$,),',',;),) Action 3: Format Value Field: COMPOSER Formatstring: %composer%$if($and(%composer%,%composer temp%),; ,)%composer temp% Action 4: Remove Fields Fields: COMPOSER TEMP Note that I have used %credits% in the second action. Use the tag-field there where you have stored the album credits. This post has been edited by pone: Mar 20 2012, 10:30 |
|
|
|
KeyMs92 Format Discogs "Extra artists" field Mar 9 2012, 14:01
pone Assuming you want to extract from the MIXARTIST fi... Mar 9 2012, 14:52
KeyMs92 Hmm... If I put the actions in a seperate action g... Mar 20 2012, 10:27
pone ZITAT(KeyMs92 @ Mar 20 2012, 10:27) Hmm..... Mar 20 2012, 10:32
KeyMs92 QUOTE There was a typo in my post above. i've ... Apr 18 2012, 14:38
pone ZITAT(KeyMs92 @ Apr 18 2012, 15:38) It ma... Apr 18 2012, 15:58
KeyMs92 QUOTE (pone @ Apr 18 2012, 16:58) I have ... Apr 18 2012, 18:36![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 12:00 |