# \[WS\] HELP !!!

**URL:** https://community.mp3tag.de/t/ws-help/16672
**Category:** Web Sources Discussion
**Created:** [March 7, 2015, 11:21pm UTC](https://community.mp3tag.de/t/ws-help/16672 "2015-03-07T23:21:37Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [March 7, 2015, 11:21pm UTC](https://community.mp3tag.de/t/ws-help/16672/1 "2015-03-07T23:21:37Z")

</div>

Please help (Florian, Dano, Detlev, ohrenkino and others).  
I am stuck for long time (several months).

Looking for a solution on how to process (modify, format, etc) a collected tag within WS.  
Real case: Calculate total nr of tracks within JSON script.  
I add a character to tag tmpTOTALTRACKS for each track.  
E.g. (Outputto "tmptotaltracks"  
Say "A")  
At the end of the process I would like to format the value as I wish. Then I can fill the final tag TOTALTRACKS with formatted value.  
That would be possible only if tmpTOTALTRACKS can be transferred back to the "working string".  
Non-JSON scripts have a workaround; collect the information needed inside the working string and transfer it to the correct tag, but nothing for JSON.

Any idea?

---

<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: [March 8, 2015, 5:37pm UTC](https://community.mp3tag.de/t/ws-help/16672/2 "2015-03-08T17:37:35Z")

</div>

> [@Victor Kostas](#):
>
> ohrenkino ... Any idea?

Sorry, not my kind of topic.

---

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [March 8, 2015, 5:40pm UTC](https://community.mp3tag.de/t/ws-help/16672/3 "2015-03-08T17:40:00Z")

</div>

> [@ohrenkino](#):
>
> Sorry, not my kind of topic.

Thx, let's hope someone has a solution.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [March 8, 2015, 6:11pm UTC](https://community.mp3tag.de/t/ws-help/16672/4 "2015-03-08T18:11:27Z")

</div>

> [@Victor Kostas](#):
>
> ... Looking for a solution on how to process (modify, format, etc) a collected tag within WS. Real case: Calculate total nr of tracks within JSON script. I add a character to tag tmpTOTALTRACKS for each track. ... I would like to format the value as I wish. Then I can fill the final tag TOTALTRACKS with formatted value. ... Any idea?

Do have a closer look into the scripts from user 'pone'.  
I assume that he has already found out a way how to count repeated items, ...  
by filling up a text string by one char for each loop, ...  
and afterwards measuring the length of that string.

DD.20150308.2011.CET

---

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [March 8, 2015, 6:38pm UTC](https://community.mp3tag.de/t/ws-help/16672/5 "2015-03-08T18:38:14Z")

</div>

> [@DetlevD](#):
>
> Do have a closer look into the scripts from user 'pone'.  
> I assume that he has already found out a way how to count repeated items, ...  
> by filling up a text string by one char for each loop, ...  
> and afterwards measuring the length of that string.
> 
> DD.20150308.2011.CET

Yes, I know that.  
My point is I am using JSON and it is not possible to achieve the same thing.  
I think the solution would be a new command (smth like READ\_TAG "") to bring the tag value to "working area".  
I will turn in wait mode again and be patient, as this is definitely a task for one man only (Florian).  
Thank you guys.

---

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [March 18, 2015, 10:24pm UTC](https://community.mp3tag.de/t/ws-help/16672/6 "2015-03-18T22:24:25Z")

</div>

Let's keep this thread alive...  
Let's hope **Florian** will come will a solution.

---

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [November 8, 2015, 12:40pm UTC](https://community.mp3tag.de/t/ws-help/16672/7 "2015-11-08T12:40:01Z")

</div>

It looks I am waiting in vain. I have started one year ago a WS Framework which is blocked from this request.

**Current line** --\> **Tag** : OK **Tag** --\> **Tag** : OK

??????????? **Tag** --\> **Current Line** : ??????????

**OutputTo ""** defines the tag name to fill the data with.  
**Set ""** clears the .  
Various **Say** commands append value to the . You can also append a collected tag to another one ( **sayoutput** ).  
So we can append values to a tag but cannot modify it. That would be possible if we could get the value into current line.  
I am convinced the sibling WS command of _OutputTo_ (smth like _ReadTag_, _GetTag_, _LoadTag_, etc) is needed in WS development.  
The new command will retrieve (and put into the current line) the tag value filled from the same WS script.  
Another post [[WS] HELP !!!](https://community.mp3tag.de/t/16672/6) requests the same.

Any thoughts???

---

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [November 24, 2015, 5:28pm UTC](https://community.mp3tag.de/t/ws-help/16672/8 "2015-11-24T17:28:07Z")

</div>

Current line --\> Tag: OK  
Tag--\> Tag: OK  
**Tag --\> Current Line** : ????? Missing ?????

---

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [February 7, 2016, 7:50pm UTC](https://community.mp3tag.de/t/ws-help/16672/9 "2016-02-07T19:50:38Z")

</div>

@Florian,  
I have spent endless hours in my WS development (a kind of WS framework).  
This one and the [XML --\> JSON](https://community.mp3tag.de/t/16299/4) requests are blocking me for +18months now. I remember you promised the XML-\>JSON could be done.  
It would be very kind of you if you take into account those features.  
Ignoring constantly our requests (which at the end will increase your product value) is not nice even if you don't do it in purpose.  
I hope you read those threads and I would prefer a NO rather than waiting for 2 years in vain.  
At the end all my effort will go to the bin but at least I know it.  
Thank you in advance!!!
