IPB

Welcome Guest ( Log In | Register )

> Notice!

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.

 
Reply to this topicStart new topic
> Clean artist names from Discogs, when the name comes with a number into brackets
djcaesar9114
post May 7 2017, 11:08
Post #1


Member


Group: Full Members
Posts: 10
Joined: 7-May 17
From: Paris
Member No.: 23390
Mp3tag Version: 2.82



Hello,

On Discogs, to avoid confusion, number are often added into brackets after an artist name.
Unfortunately, when MP3tag fetches info from Discogs, the number into brackets is taken into account.
Is it possible to get rid of it?
For example, you can see "Universe (7)" here: https://www.discogs.com/release/5214868

Thanks smile.gif
Go to the top of the page
 
+Quote Post
ohrenkino
post May 7 2017, 14:08
Post #2


Member


Group: Full Members
Posts: 8520
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.82



ZITAT(djcaesar9114 @ May 7 2017, 12:08) *
...the number into brackets is taken into account.
Is it possible to get rid of it?
...

You can run an action afterwards to delete the number:
Replace with regular expression for ARTIST
Search string: \(\d+\)$
Replace string:
(leave empty)


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
djcaesar9114
post May 7 2017, 14:57
Post #3


Member


Group: Full Members
Posts: 10
Joined: 7-May 17
From: Paris
Member No.: 23390
Mp3tag Version: 2.82



QUOTE (ohrenkino @ May 7 2017, 15:08) *
You can run an action afterwards to delete the number:
Replace with regular expression for ARTIST
Search string: \(\d+\)$
Replace string:
(leave empty)


Will do!
For non programmers, it could be tough, though smile.gif

Thank you wink.gif
Go to the top of the page
 
+Quote Post
DetlevD
post May 7 2017, 16:15
Post #4


Member


Group: Full Members
Posts: 6441
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.82



QUOTE (djcaesar9114 @ May 7 2017, 12:08) *
Hello, On Discogs, to avoid confusion, number are often added into brackets after an artist name. Unfortunately, when MP3tag fetches info from Discogs, the number into brackets is taken into account.
Is it possible to get rid of it? For example, you can see "Universe (7)" ...

Because of the many artists or bands, which are named "Universe", Discogs has added ident numbers to the artist name, so one can find "Universe (1)", "Universe (2)", "Universe (3)", and so forth.
Therefore it can help for later times, to save this special Discogs artist name within a dedicated tag-field, e. g. ARTIST_DISCOGS.
Once there exist such a tag-field, one can easily remove the trailing ident number, ...
and store the clean artist name into tag-field ARTIST.

Action "Format value" ... or ... Convert "Tag-Tag":
Tag-Field: ARTIST
Formatstring: $regexp(%ARTIST_DISCOGS%,'\s\(\d+\)$',)

DD.20170507.1715.CEST


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th May 2017 - 01:07