# Discogs (pone mod) no longer works

**URL:** https://community.mp3tag.de/t/discogs-pone-mod-no-longer-works/65730
**Category:** Web Sources Discussion
**Created:** [August 26, 2024, 3:12pm UTC](https://community.mp3tag.de/t/discogs-pone-mod-no-longer-works/65730 "2024-08-26T15:12:48Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![ms6676749](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/b4bc9f/32.png) [@ms6676749](https://community.mp3tag.de/u/ms6676749)
#### Post date: [September 2, 2024, 9:32pm UTC](https://community.mp3tag.de/t/discogs-pone-mod-no-longer-works/65730/12 "2024-09-02T21:32:32Z")

</div>

Try this:

```auto
# Credits
outputto "ALBUM_CREDITS"
gotoline 1
regexpreplace "(?:^.*\"extraartists\"\:\[)(.*$)" "$1"
ifnot "{\"id"
	regexpreplace "}$" "\],"
	regexpreplace "\,\"(images|thumb)\"\:.*?\]" ""
	regexpreplace "\,$" ""
	regexpreplace ",\"id\":\d+,\"resource_url\":\".*?\"" ""
	regexpreplace "\]$" ""
	regexpreplace ",({\"name)" "\r\n$1"
	replace ",\"tracks\":\"\"" ""
	replace ",\"anv\":\"\",\"join\":\"\"" ""
	replace "{" ""
	replace "}" ""
	regexpreplace "\r?\n" ""
	regexpreplace "(\"role\":\"[^\"]+\")(\"name\")" "$1<<NEWLINE>>$2"
	regexpreplace "\"name\":\"(.*?)\",\"role\":\"(.*?)\"" "$2 - $1"
	regexpreplace "<<NEWLINE>>" "\\\\"
	regexpreplace " \(\d+\)" ""
	sayrest
endif

```

Instead of the newline split in my code, the above should replace "\<\<NEWLINE\>\>" with "\\", the latter being a signpost for splitting the tag into multiple tags. This code is new, as it will need changes if the Credits have specific track information.

---

_[View the full topic](https://community.mp3tag.de/t/discogs-pone-mod-no-longer-works/65730)._
