# Doppelte Inhalte im Tag

**URL:** https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623
**Category:** Allgemein
**Created:** [May 9, 2024, 12:56am UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623 "2024-05-09T00:56:00Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![JamesBlond](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f07891/32.png) [@JamesBlond](https://community.mp3tag.de/u/JamesBlond)
#### Post date: [May 9, 2024, 12:56am UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623/1 "2024-05-09T00:56:00Z")

</div>

Hallo Leute

Mein Poblem,

Dppelter Wert im TAG CATALOGNUMBER:  
hab öfter zwei mal den gleichen wert in TAG's  
Zb: 724355319821, 724355319821

Sorry ich habe schon x möglichkeiten versucht, aber der löscht dann auch ungleiche.

ZB;

Von: CDTIVMIX01, 724355319821  
Nach: 724355319821

Nur löschen wenn zwei mal das gleiche Vorhanden ist.  
Von: 724355319821, 724355319821  
Nach: 724355319821

Bitte um Hilfe

Danke

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [May 9, 2024, 5:59am UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623/2 "2024-05-09T05:59:06Z")

</div>

Versuche eine Aktion vom Typ "Tag-Feld formatieren" für CATALOGNUMBER  
Format string: `$if($eql($regexp(%catalognumber%,'(.*), (.*)',$1),$regexp(%catalognumber%,'(.*), (.*)',$2)),$regexp(%catalognumber%,'(.*), (.*)',$1),%catalognumber%)`

---

<div class="post-metadata">

### Author: ![JamesBlond](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f07891/32.png) [@JamesBlond](https://community.mp3tag.de/u/JamesBlond)
#### Post date: [May 9, 2024, 12:17pm UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623/3 "2024-05-09T12:17:17Z")

</div>

Funktioniert einwandfrei 😉  
Vielen Dank

---

<div class="post-metadata">

### Author: ![JamesBlond](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f07891/32.png) [@JamesBlond](https://community.mp3tag.de/u/JamesBlond)
#### Post date: [May 9, 2024, 7:02pm UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623/4 "2024-05-09T19:02:49Z")

</div>

Sorry hier noch ein beispiel wo es nicht funktioniert.

[https://www.discogs.com/release/8501794-Blake-Neely-Arrow-Original-Television-Soundtrack-Season-2](https://www.discogs.com/release/8501794-Blake-Neely-Arrow-Original-Television-Soundtrack-Season-2)

CATALOGNUMBER: LLLCD 1317, LLLCD 1317, LLLCD 1317, LLLCD 1317

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [May 9, 2024, 7:09pm UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623/5 "2024-05-09T19:09:31Z")

</div>

Versuche mal  
Format string: `$if($eql($regexp(%catalognumber%,'(.*?), (.*)',$1),$regexp(%catalognumber%,'(.*), (.*)',$2)),$regexp(%catalognumber%,'(.*?), (.*)',$1),%catalognumber%)`

---

<div class="post-metadata">

### Author: ![JamesBlond](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f07891/32.png) [@JamesBlond](https://community.mp3tag.de/u/JamesBlond)
#### Post date: [May 9, 2024, 9:21pm UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623/6 "2024-05-09T21:21:57Z")

</div>

It works, Thanks again 😉

---

<div class="post-metadata">

### Author: ![JamesBlond](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f07891/32.png) [@JamesBlond](https://community.mp3tag.de/u/JamesBlond)
#### Post date: [May 9, 2024, 9:47pm UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623/7 "2024-05-09T21:47:56Z")

</div>

Not really on all, if they mix names with same number , sorry

[https://www.discogs.com/release/1403925-Michael-Kamen-Band-Of-Brothers-Music-From-The-HBO-Miniseries](https://www.discogs.com/release/1403925-Michael-Kamen-Band-Of-Brothers-Music-From-The-HBO-Miniseries)

Play-Tone - SK 89719, Sony Classical - 0897192000, Sony Music Soundtrax - 0897192000

---

<div class="post-metadata">

### Author: ![JamesBlond](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f07891/32.png) [@JamesBlond](https://community.mp3tag.de/u/JamesBlond)
#### Post date: [May 9, 2024, 11:28pm UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623/8 "2024-05-09T23:28:25Z")

</div>

Debug 2:

Hier wird eine Zahl am schluss abgeschnitten ?  
[https://www.discogs.com/release/2466705-Christopher-Young-The-Informers-Original-Motion-Picture-Score](https://www.discogs.com/release/2466705-Christopher-Young-The-Informers-Original-Motion-Picture-Score)

Before.: LKS 340822  
After....: LKS 34082

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [May 10, 2024, 5:47am UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623/9 "2024-05-10T05:47:58Z")

</div>

> [@JamesBlond](#):
>
> Before.: LKS 340822  
> After....: LKS 34082

Mehreres  
Der Ausdruck kann nur so gut werden wie die vorgestellten Muster. Bis jetzt habe ich nur Beispiele gesehen mit wiederholten Stückchen, die von Komma getrennt sind.  
Das Beispiel mit LKS 34082 passt nicht dazu... und ich kann die Beobachtung nicht nachstellen:  
 ![grafik](https://community.mp3tag.de/uploads/default/original/3X/0/4/04bf2380847c465fedf9e2ed5300a2fdbd4be5bd.png)

Das andere Beispiel mit

> [@JamesBlond](#):
>
> Play-Tone - SK 89719, Sony Classical - 0897192000, Sony Music Soundtrax - 0897192000

sieht für mich überhaupt nicht danach aus, dass dort doppelte information enthalten ist, da für mich Sony Music classical absolut nicht Sony Music Soundtrax ist und dann nur die Nummer abzuschneiden kaum einen Sinn ergibt.  
Darüber hinaus wäre die vermeintlich gedoppelte Nummer dann mit einem Bindestrich abgetrennt und nicht mit einem Komma, was dann auch nicht zu den bisher vorgestellten Mustern passt.  
Ich glaube nicht, dass man die ganzen Sonderlocken in einem einzigen, wartbaren Ausdruck behandeln kann, sondern dass dafür mehrere sinnvoller sind.  
Die kannst du doch aber bestimmt jetzt mit den vorhandenen Vorschlägen erstellen.  
Oder du behandelst die Sonderlocken per Hand.

---

<div class="post-metadata">

### Author: ![JamesBlond](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f07891/32.png) [@JamesBlond](https://community.mp3tag.de/u/JamesBlond)
#### Post date: [May 10, 2024, 12:13pm UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623/10 "2024-05-10T12:13:16Z")

</div>

> [@JamesBlond](#):
>
> 0897192000

Alles klar, vielen dank für die Hilfe und Erklärungen

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [June 9, 2024, 12:13pm UTC](https://community.mp3tag.de/t/doppelte-inhalte-im-tag/64623/11 "2024-06-09T12:13:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
