# Web Sources Discussion

**URL:** https://community.mp3tag.de/c/development/web-sources-discussion/15.md?page=5

[Latest](https://community.mp3tag.de/latest.md) · [Categories](https://community.mp3tag.de/categories.md) · [Tags](https://community.mp3tag.de/tags.md)

**Page:** 6

---

## [Problem parsing JSON with a value that has no wrapped quotes](https://community.mp3tag.de/t/problem-parsing-json-with-a-value-that-has-no-wrapped-quotes/50625)

<div class="topic-metadata">

**Author:** [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Replies:** 4\
**Last updated:** [October 30, 2020, 3:38pm UTC](https://community.mp3tag.de/t/problem-parsing-json-with-a-value-that-has-no-wrapped-quotes/50625 "2020-10-30T15:38:12Z")

</div>

Here's the file. Beatport by &stevehero v5.0#Search Release\_TEMP.src (3.5 KB) The line in question is line 113. I've used this json\_select\_many "artists" "id" "\\\\u005c\\\\u005c"but it's not grabbing the info. The script …

---

## [Joining more than one value from an element](https://community.mp3tag.de/t/joining-more-than-one-value-from-an-element/50626)

<div class="topic-metadata">

**Author:** [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Replies:** 0\
**Last updated:** [October 29, 2020, 10:00pm UTC](https://community.mp3tag.de/t/joining-more-than-one-value-from-an-element/50626 "2020-10-29T22:00:58Z")

</div>

Here's the script. Beatport by &stevehero v5.0#Search Release\_Joining Question.src I was hoping to join multiple values from elements of the artist array below. The array is like so: "artists": \[{ "id": 25274, …

---

## [Replace tag in web sources framework](https://community.mp3tag.de/t/replace-tag-in-web-sources-framework/50514)

<div class="topic-metadata">

**Author:** [@henriquebs12](https://community.mp3tag.de/u/henriquebs12)\
**Replies:** 1\
**Last updated:** [October 17, 2020, 10:26pm UTC](https://community.mp3tag.de/t/replace-tag-in-web-sources-framework/50514 "2020-10-17T22:26:59Z")

</div>

Is it possible to replace a tag if it's empty in a .src file? For example, replace inside the loop: Set "ITUNESACCOUNT" "me@email.com" Say "|" Set "ITUNESOWNER" "Name" Say "|" But I don't know how to do it only if th…

---

## [GD3 support possible?](https://community.mp3tag.de/t/gd3-support-possible/50228)

<div class="topic-metadata">

**Author:** [@RGFreenet](https://community.mp3tag.de/u/RGFreenet)\
**Replies:** 1\
**Last updated:** [September 19, 2020, 9:59am UTC](https://community.mp3tag.de/t/gd3-support-possible/50228 "2020-09-19T09:59:36Z")

</div>

Can I import cover art and tags from GD3? I checked the forum but did not find any hint. Thanks.

---

## [Json question ifnot](https://community.mp3tag.de/t/json-question-ifnot/49912)

<div class="topic-metadata">

**Author:** [@Romano](https://community.mp3tag.de/u/Romano)\
**Replies:** 14\
**Last updated:** [August 22, 2020, 7:29pm UTC](https://community.mp3tag.de/t/json-question-ifnot/49912 "2020-08-22T19:29:37Z")

</div>

What is the proper way to(an array), if as nothing, it doesnt count? i mean if it as something do one thing, if as nothing do another. arrangers i made this but if array as nothing dont work. \> # Arrangers \> outp…

---

## [Web source title track](https://community.mp3tag.de/t/web-source-title-track/49577)

<div class="topic-metadata">

**Author:** [@Romano](https://community.mp3tag.de/u/Romano)\
**Replies:** 1\
**Last updated:** [August 15, 2020, 2:40pm UTC](https://community.mp3tag.de/t/web-source-title-track/49577 "2020-08-15T14:40:13Z")

</div>

I am improving a websource but when a album as only one track, the title apears in the adicional ifnformation but not in the tracks box, is this normal?

---

## [\`replace "|" "$verticalBar()"\` doesn't work with \`gotoline 1\`](https://community.mp3tag.de/t/replace-verticalbar-doesnt-work-with-gotoline-1/49893)

<div class="topic-metadata">

**Author:** [@mr\_bug](https://community.mp3tag.de/u/mr_bug)\
**Replies:** 0\
**Last updated:** [August 12, 2020, 10:03pm UTC](https://community.mp3tag.de/t/replace-verticalbar-doesnt-work-with-gotoline-1/49893 "2020-08-12T22:03:02Z")

</div>

I've got a sources script where replace "|" "$verticalBar()" is being used in the \[ParserScriptAlbum\] section, however each time gotoline 1 is called, further occurrences of | have not been replaced (as seen by the debug…

---

## [Documentation for 'ifoutput' and 'ifnotoutput'](https://community.mp3tag.de/t/documentation-for-ifoutput-and-ifnotoutput/19106)

<div class="topic-metadata">

**Author:** [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Replies:** 2\
**Last updated:** [July 1, 2017, 8:29am UTC](https://community.mp3tag.de/t/documentation-for-ifoutput-and-ifnotoutput/19106 "2017-07-01T08:29:39Z")

</div>

Whats the correct syntax for the two new web sources framework functions ’ifoutput’ and ‘ifnotoutput’. Is there an argument to be used along with them? My try: outputto "ARTIST" ifoutput "ALBUMARTIST" say “somethin…

---

## [Import Tunebat BPM and more \[Request\]](https://community.mp3tag.de/t/import-tunebat-bpm-and-more-request/42822)

<div class="topic-metadata">

**Author:** [@jp.primard](https://community.mp3tag.de/u/jp.primard)\
**Replies:** 9\
**Last updated:** [July 1, 2020, 8:06am UTC](https://community.mp3tag.de/t/import-tunebat-bpm-and-more-request/42822 "2020-07-01T08:06:12Z")

</div>

Hello, Currently I'm using mixmeister to insert the BPM value of my songs. I've found this online site (https://tunebat.com/) which gives the BPM and Camelot, Key, danceability... for example :slightly\_smiling\_face: h…

---

## [Do..While question(websource)](https://community.mp3tag.de/t/do-while-question-websource/49460)

<div class="topic-metadata">

**Author:** [@Romano](https://community.mp3tag.de/u/Romano)\
**Replies:** 0\
**Last updated:** [June 27, 2020, 6:50pm UTC](https://community.mp3tag.de/t/do-while-question-websource/49460 "2020-06-27T18:50:17Z")

</div>

In the do ... While Parser Commands, like in the list of tracks, how to stop the getting all of the tracks if it finds in the middle of the command per example this line "\<!-- / tracklist tools menu --\> ? This is beca…

---

## [GNUDB instead of freedb](https://community.mp3tag.de/t/gnudb-instead-of-freedb/49423)

<div class="topic-metadata">

**Author:** [@poster](https://community.mp3tag.de/u/poster)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 11:15am UTC](https://community.mp3tag.de/t/gnudb-instead-of-freedb/49423 "2020-06-26T11:15:14Z")

</div>

The tip with changing the adress of free.db in File-\>Options-\>Tag-Sources-\>freedb-\>Adress to gnudb.gnudb.org seems to work.

---

## [Discogs search results showing total tracks - narrow results request](https://community.mp3tag.de/t/discogs-search-results-showing-total-tracks-narrow-results-request/48984)

<div class="topic-metadata">

**Author:** [@Ron\_Mark](https://community.mp3tag.de/u/Ron_Mark)\
**Replies:** 2\
**Last updated:** [May 17, 2020, 4:22pm UTC](https://community.mp3tag.de/t/discogs-search-results-showing-total-tracks-narrow-results-request/48984 "2020-05-17T16:22:19Z")

</div>

When searching music one finds diffferent versions for different countries and or reissues much later after the original...is there a way to have the search results popup window show the total number of tracks per releas…

---

## [Regex to match a phrase](https://community.mp3tag.de/t/regex-to-match-a-phrase/48797)

<div class="topic-metadata">

**Author:** [@Romano](https://community.mp3tag.de/u/Romano)\
**Replies:** 7\
**Last updated:** [April 30, 2020, 8:22pm UTC](https://community.mp3tag.de/t/regex-to-match-a-phrase/48797 "2020-04-30T20:22:15Z")

</div>

what is the regex to search for a phrase or a word? to mach exacly, i mean if a search for moon, i dont per example moonrise? \[SearchBy\]=%album% edit: i guess i solve it? \[SearchBy\]=$regexp(%album%,\\b(\\w\*%album%)\\b,,1…

---

## [Outputto artist image](https://community.mp3tag.de/t/outputto-artist-image/48726)

<div class="topic-metadata">

**Author:** [@Romano](https://community.mp3tag.de/u/Romano)\
**Replies:** 3\
**Last updated:** [April 25, 2020, 9:25am UTC](https://community.mp3tag.de/t/outputto-artist-image/48726 "2020-04-25T09:25:08Z")

</div>

In websources there is a "outputto "Coverurl", what is the outputto for the artist image? Edit:

---

## [How can i import lyrics using rapidapi in wordpress](https://community.mp3tag.de/t/how-can-i-import-lyrics-using-rapidapi-in-wordpress/48714)

<div class="topic-metadata">

**Author:** [@robin69](https://community.mp3tag.de/u/robin69)\
**Replies:** 3\
**Last updated:** [April 23, 2020, 7:44pm UTC](https://community.mp3tag.de/t/how-can-i-import-lyrics-using-rapidapi-in-wordpress/48714 "2020-04-23T19:44:35Z")

</div>

Hello Guys, I want to scrap data from genius using rapid api and fetch it into my wordpress blog. Can anyone guide me? How can i do that? #alos vailable for paid work.

---

## [Web source help](https://community.mp3tag.de/t/web-source-help/48624)

<div class="topic-metadata">

**Author:** [@Romano](https://community.mp3tag.de/u/Romano)\
**Replies:** 1\
**Last updated:** [April 22, 2020, 9:04am UTC](https://community.mp3tag.de/t/web-source-help/48624 "2020-04-22T09:04:42Z")

</div>

@dano or someone, just a question please. i made a webscript and it works but if the search page as fewer results than the While 99 (per example) it gives an error. I mean if the results are 4, and i put "do...While …

---

## [Amazon web source](https://community.mp3tag.de/t/amazon-web-source/48586)

<div class="topic-metadata">

**Author:** [@Romano](https://community.mp3tag.de/u/Romano)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 6:13pm UTC](https://community.mp3tag.de/t/amazon-web-source/48586 "2020-04-15T18:13:44Z")

</div>

After all day, i managed to put a start at an Amazon.co.uk web source, this is as work in progress, as i am tired now, if anyone want to help: Github I made it useful for now just for music covers.

---

## [Web sources set command](https://community.mp3tag.de/t/web-sources-set-command/48500)

<div class="topic-metadata">

**Author:** [@Romano](https://community.mp3tag.de/u/Romano)\
**Replies:** 1\
**Last updated:** [April 11, 2020, 1:14pm UTC](https://community.mp3tag.de/t/web-sources-set-command/48500 "2020-04-11T13:14:28Z")

</div>

What is the best way to fetch per example year and put it in another tag per example albumsort? i put this in a web source but only appear %year% and not the number, as the Year is already ouputto. maybe there is simple…

---

## [Debug file in websources](https://community.mp3tag.de/t/debug-file-in-websources/48446)

<div class="topic-metadata">

**Author:** [@Romano](https://community.mp3tag.de/u/Romano)\
**Replies:** 6\
**Last updated:** [April 7, 2020, 8:49am UTC](https://community.mp3tag.de/t/debug-file-in-websources/48446 "2020-04-07T08:49:48Z")

</div>

Sometimes(most common) the debug file don't appear, this is an example folder: DebugWriteInput "C:\\mp3tag.html" Debug "ON" "C:\\mp3tagdebug.txt" i really like this to work, as is the best way i learn.

---

## [Track Listings from Discogs mess up track numbering under certain circumstances](https://community.mp3tag.de/t/track-listings-from-discogs-mess-up-track-numbering-under-certain-circumstances/48026)

<div class="topic-metadata">

**Author:** [@JeremyForThaWin](https://community.mp3tag.de/u/JeremyForThaWin)\
**Replies:** 1\
**Last updated:** [March 7, 2020, 2:52pm UTC](https://community.mp3tag.de/t/track-listings-from-discogs-mess-up-track-numbering-under-certain-circumstances/48026 "2020-03-07T14:52:01Z")

</div>

I realize this is super specific, but I guess thats why we send in reports! When getting a track listing via discogs where an individual track is split up into sub-tracks, the information is displayed as if they are ind…

---

## [Bulk Update Year Field with Discog/Other Sites](https://community.mp3tag.de/t/bulk-update-year-field-with-discog-other-sites/15366)

<div class="topic-metadata">

**Author:** [@lugosi](https://community.mp3tag.de/u/lugosi)\
**Replies:** 4\
**Last updated:** [February 20, 2020, 4:37pm UTC](https://community.mp3tag.de/t/bulk-update-year-field-with-discog-other-sites/15366 "2020-02-20T16:37:23Z")

</div>

Hi! I have finally decided to tackle the retagging of a fairly large library and have chosen Mp3Tag for the task (for fairly obvious reasons, I think :laughing: ) I have made good progress and am nearing the end of my …

---

## [Selection of a nested array is not working](https://community.mp3tag.de/t/selection-of-a-nested-array-is-not-working/47777)

<div class="topic-metadata">

**Author:** [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 2:53pm UTC](https://community.mp3tag.de/t/selection-of-a-nested-array-is-not-working/47777 "2020-02-05T14:53:32Z")

</div>

\[Name\]=beatport.com \[v5.0 by stevehero™\] (◣\_◢) \[BasedOn\]=https://www.beatport.com \[IndexUrl\]=https://www.beatport.com/search/releases?q=%s&per-page=25&sort=release-desc \[AlbumUrl\]= \[WordSeparator\]=+ \[IndexFormat\]=% ↓ ID …

---

## [Trouble with selecting the first array element using json\_select\_array](https://community.mp3tag.de/t/trouble-with-selecting-the-first-array-element-using-json-select-array/47371)

<div class="topic-metadata">

**Author:** [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Replies:** 7\
**Last updated:** [January 14, 2020, 6:43pm UTC](https://community.mp3tag.de/t/trouble-with-selecting-the-first-array-element-using-json-select-array/47371 "2020-01-14T18:43:17Z")

</div>

Here's the code I have, see the bottom of this for the album and selection of the release array and then selecting the name which doesn't work. In the help file, it doesn't mention whether or they are 0 or 1 based array…

---

## [How to improve Web Source scripts performance?](https://community.mp3tag.de/t/how-to-improve-web-source-scripts-performance/43637)

<div class="topic-metadata">

**Author:** [@vikaesar](https://community.mp3tag.de/u/vikaesar)\
**Replies:** 1\
**Last updated:** [January 14, 2020, 6:40pm UTC](https://community.mp3tag.de/t/how-to-improve-web-source-scripts-performance/43637 "2020-01-14T18:40:01Z")

</div>

Hi, As I've been coding a tag source script for Google Play Music I've found that the lack of arithmetic functions in the framework entails having to resort to convoluted loops to do the dirty work and grab some tricky …

---

## [MusicBrainz Returning \<Error\>](https://community.mp3tag.de/t/musicbrainz-returning-error/46748)

<div class="topic-metadata">

**Author:** [@SteveSng56](https://community.mp3tag.de/u/SteveSng56)\
**Replies:** 4\
**Last updated:** [December 9, 2019, 11:29am UTC](https://community.mp3tag.de/t/musicbrainz-returning-error/46748 "2019-12-09T11:29:14Z")

</div>

Since updating to the latest version of MP3Tag (2.98) I've been having trouble with MusicBrainz, my preferred source. Searching for an album on MusicBrainz works just fine. When I choose a specific album and either dou…

---

## [Using complex regexp in the new inlcude file](https://community.mp3tag.de/t/using-complex-regexp-in-the-new-inlcude-file/46893)

<div class="topic-metadata">

**Author:** [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Replies:** 5\
**Last updated:** [November 15, 2019, 11:02am UTC](https://community.mp3tag.de/t/using-complex-regexp-in-the-new-inlcude-file/46893 "2019-11-15T11:02:08Z")

</div>

@Florian, this is the contents of my Beatport by &stevehero v5.0#RELEASE Search by Relea&Se.src file. \[SearchBy\]=Album search|$trim($regexp($regexp($regexp(%album%,\\b-\\b|\_,' '),(?i)\\\[.\*\\\]|cd\\s\*\\d\*|\[^\\s\]+.com|\\bep\\b|feat…

---

## [Disc are not showing at musicbrainz](https://community.mp3tag.de/t/disc-are-not-showing-at-musicbrainz/46738)

<div class="topic-metadata">

**Author:** [@nielsprins1](https://community.mp3tag.de/u/nielsprins1)\
**Replies:** 20\
**Last updated:** [October 21, 2019, 9:09am UTC](https://community.mp3tag.de/t/disc-are-not-showing-at-musicbrainz/46738 "2019-10-21T09:09:01Z")

</div>

Hi all. Im new here though im using MP3Tag for a long time, and i do have an issue. When i select my tracks (a full cd) and want to search it with musicbrainz im able to select which disc i want, but after that in the n…

---

## [Documentation for 2.98 WSF additions](https://community.mp3tag.de/t/documentation-for-2-98-wsf-additions/46507)

<div class="topic-metadata">

**Author:** [@Crissov](https://community.mp3tag.de/u/Crissov)\
**Replies:** 4\
**Last updated:** [October 8, 2019, 9:56am UTC](https://community.mp3tag.de/t/documentation-for-2-98-wsf-additions/46507 "2019-10-08T09:56:43Z")

</div>

Version 2.98 apparently introduces some very welcome additions to the Web Sources Framework, but I cannot see them being documented yet.

---

## [Barely working metalstorm.net Script](https://community.mp3tag.de/t/barely-working-metalstorm-net-script/45760)

<div class="topic-metadata">

**Author:** [@Metallizer](https://community.mp3tag.de/u/Metallizer)\
**Replies:** 0\
**Last updated:** [June 27, 2019, 3:18pm UTC](https://community.mp3tag.de/t/barely-working-metalstorm-net-script/45760 "2019-06-27T15:18:34Z")

</div>

Hi, Huge fan of mp3tag. Thanks for this wonderful software. I don't have any proramming skills and my trade is completely different. The only scripting I know is AutoHotKey and I was in effort to automate the tagging p…

---

## [Using the Google Play Music web source](https://community.mp3tag.de/t/using-the-google-play-music-web-source/45694)

<div class="topic-metadata">

**Author:** [@frqs](https://community.mp3tag.de/u/frqs)\
**Replies:** 19\
**Last updated:** [June 18, 2019, 9:32am UTC](https://community.mp3tag.de/t/using-the-google-play-music-web-source/45694 "2019-06-18T09:32:15Z")

</div>

[Previous page](https://community.mp3tag.de/c/development/web-sources-discussion/15.md?page=4)

[Next page](https://community.mp3tag.de/c/development/web-sources-discussion/15.md?page=6)
