# SUGGESTION - JSON file to control settings of WS scripts

**URL:** https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623
**Category:** General Discussion
**Created:** [July 20, 2023, 9:34pm UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623 "2023-07-20T21:34:33Z")
**Posts on this page:** 11
**Page:** 2

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [August 17, 2023, 6:43pm UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623/21 "2023-08-17T18:43:49Z")

</div>

I'm experimenting with a dedicated `localizations` object in the `.settings` file, which lists all languages with localizations, where the individual localization items reference the `key` that is used at the control definition.

Example:

```json
{
  "key": "test",
  "title": "Test Settings",
  "settings": [
    {
      "type": "string",
      "key": "testChoices",
      "title": "Something to choose from",
      "description": "Select the preferred item",
      "choices": [
        "Item 1",
        "Item 2",
        "Item 3"
      ],
      "default": "Item 1"
    },
    {
      "type": "bool",
      "key": "testCheck",
      "title": "Something to check",
      "description": "Check to enable",
      "default": false
    }
  ],
  "localizations": {
    "de": [
      {
        "key": "test",
        "title": "Test Einstellungen"
      },
      {
        "key": "testChoices",
        "title": "Etwas zur Auswahl",
        "description": "Wählen Sie den gewünschten Eintrag"
      },
      {
        "key": "testCheck",
        "title": "Etwas zum Abhaken",
        "description": "Häkchen setzen zum Aktivieren"
      }
    ]
  }
}

```

Please note that localization items are optional and are referenced using the `key` from the individual items in the `settings` definition. The window title is referenced using the root `key` from the `settings` definition.

The language keys are using the ISO-639-1 language code.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [August 18, 2023, 9:22am UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623/22 "2023-08-18T09:22:33Z")

</div>

Localization of Tag Source configuration settings is now available with [Mp3tag v3.21i](https://community.mp3tag.de/t/455) and [Mp3tag for Mac v1.8.4](https://community.mp3tag.de/t/mp3tag-for-mac-v1-8-released/61431/7).

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [August 18, 2023, 9:53am UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623/23 "2023-08-18T09:53:49Z")

</div>

Thanks for that. I don't have much time to get the scripts updated but when I have them done I'll send them for testing to you. Esp for the mac version as I cannot test that.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [August 19, 2023, 11:13am UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623/24 "2023-08-19T11:13:59Z")

</div>

> [@Florian](#):
>
> I think all the remove fields settings should better be handled via the field checkboxes I’ve added to the adjust tag information dialog a while ago.

> [@stevehero](#):
>
> It doesn't stop people from editing the scripts and breaking them. Please see the latest few replies on the Beatport thread. So this is why I will be adding these global options.

I have to admit that I'm one of those users who will still see a need to edit Websource scripts myself.  
This is not so much because the contents of superfluous tag fields bother me - my workflow for new albums already provides for an action "Remove fields except" which solves this problem.

But:  
Many scripts provide much more information than is in my interest. For example, since I'm not interested in the specific tag content of MusicBrainz and Apple, these fields in the UI in the "Adjust tag information" window bother me because they distract from content that interests me and often also require horizontal and vertical scrolling to find the information for to keep an eye on essential tag fields.  
Therefore, my routine of calling the editor with each new web source script version and appending a series of "Set Tagfeld" lines at the end of the script will unfortunately have to remain the same.

I would therefore be interested in settings that could also influence the appearance of the "Adjust tag information" window in the way I described it.

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [August 19, 2023, 11:56am UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623/25 "2023-08-19T11:56:36Z")

</div>

That will be in the settings for my BP scripts. A checkbox to remove X tag.

I just need to find the time to update them.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [August 19, 2023, 12:22pm UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623/26 "2023-08-19T12:22:33Z")

</div>

> [@stevehero](#):
>
> A checkbox to remove X tag.

Just to better understand it:  
Why is a checkbox to remove X tag better/faster/easier then uncheck it directly in the "Adjust tag information"?  
@poster:  
The last selection of tags (checked / unchecked) will be remembered, so you have to choose your preferred tags only once per script in "Adjust tag information".

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [August 19, 2023, 12:34pm UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623/27 "2023-08-19T12:34:09Z")

</div>

Because people still edit the scripts and mess them up somehow. It's just and option not to have them clutter the UI with unwanted tags by the user.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [August 19, 2023, 1:23pm UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623/28 "2023-08-19T13:23:41Z")

</div>

> [@LyricsLover](#):
>
> The last selection of tags (checked / unchecked) will be remembered, so you have to choose your preferred tags only once per script in "Adjust tag information".

But checking/unchecking in the UI of the "Adjust tag information"-window has only influence on the tag-fields that are saved in the **file**. I edit the script so that I don't even see unwanted fields in the **UI** because they take up unnecessary space, which in turn requires horizontal and vertical scrolling depending on the script. In addition, additional fields that do not interest you at all prevent you from having an immediate view of the essentials.

---

<div class="post-metadata">

### Author: ![AreDigg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/bbe5ce/32.png) [@AreDigg](https://community.mp3tag.de/u/AreDigg)
#### Post date: [August 19, 2023, 5:54pm UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623/29 "2023-08-19T17:54:56Z")

</div>

People editing the scripts are fine by me, but it is a problem when they share them and don’t follow up when they fail or contain bugs. It is a frustration when others come to me telling why it doesn’t work, and it is because they or someone else made changes that was the reason for the fails.

---

<div class="post-metadata">

### Author: ![AreDigg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/bbe5ce/32.png) [@AreDigg](https://community.mp3tag.de/u/AreDigg)
#### Post date: [September 3, 2023, 12:11am UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623/30 "2023-09-03T00:11:53Z")

</div>

Another suggestion would be to add an option to be able to add settings into IndexUrl or other options, like $var(var\_name) or similar?

---

<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: [October 3, 2023, 12:12am UTC](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623/31 "2023-10-03T00:12:51Z")

</div>

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

[Previous page](https://community.mp3tag.de/t/suggestion-json-file-to-control-settings-of-ws-scripts/61623.md?page=1)
