IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> v2.50 - how to handle multi-valued tags?
mrinferno
post Apr 3 2012, 01:22
Post #1


Member


Group: Full Members
Posts: 9
Joined: 16-August 07
From: USA
Member No.: 5459
Mp3tag Version: 2.49a



based on the release notes i thought this issue was fixed:
QUOTE
FIX: regression regarding output of multi-valued tag fields for discogs web sources
since v2.49b.


however, i'm not using discogs web sources, but do have some scripts with multi-valued tag fields.

in my scripts i had been using:
QUOTE
say "\\\\"


this hasn't worked since 2.49b and now it doesn't work in 2.50 either, the newer versions just output a single backslash.

is there a coding change in the web sources language i need to apply to my scripts?

i tried changing to 6 backslashes, since using the 4 backslashes was resulting in only a single backslash in the tag panel, but that doesn't work. 4 or 6 gets translated back to 1 backslash.
then of course upon saving the tag, no multi-valued tags are created.

any help would be appreciated.
hopefully there is a way to fix, i don't want to be stuck at 2.49a indefinitely.

thanks in advance.

Go to the top of the page
 
+Quote Post
pone
post Apr 3 2012, 16:18
Post #2


Member


Group: Full Members
Posts: 1571
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.50



I don't know why the release notes say it is fixed. I have made the same experience as you.

However, the workaround is, you have to double the backslashes compared to version 2.49a, eight backslashes to have two backslahes in the output:

say "\\\\\\\\"


Another workaound is using the unicode hex value. This was new introduced in 2.49b. The unicode hex value for a backslash is "005c". Write "\u005c" to get one backslash. For two backslashes

say "\u005c\u005c"


Here is a German topic about the same issue:
http://forums.mp3tag.de/index.php?showtopi...ost&p=62454
Have a look at the test script I attached to the last post there, this will make things clear.

This post has been edited by pone: Apr 3 2012, 16:18
Go to the top of the page
 
+Quote Post
mrinferno
post Apr 4 2012, 00:03
Post #3


Member


Group: Full Members
Posts: 9
Joined: 16-August 07
From: USA
Member No.: 5459
Mp3tag Version: 2.49a



sweet! perfect, i was hoping it would be something easy.

8 backslashes does make sense, since 4 was only giving me 1.

anyways, i used the unicode hex value, that seems to be the most foolproof.

just tried it and it works like a charm.
thanks for the assistance!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd May 2013 - 07:06