id3 icon indicating copy to clipboard operation
id3 copied to clipboard

Verbose option

Open J-P- opened this issue 9 years ago • 8 comments
trafficstars

Hello again. Hope that all is well.

This appears to be an issue. When I type and run "id3 test.mp3" I get what appears to be expected output: the 7 primary key/value pairs added to the file name and format. However, when I run the same with the -v option, I get an extended output with many of the values missing, even those viewable without the -v option. See below for the outputs. Thanks.


ID3 test.mp3

Gives:

m:\_TEMP\_TEST\
>id3 test.mp3
File: test.mp3
Metadata: ID3v2.3
Title: 08—THIS TOWN
Artist: 06—FRANK SINATRA
Album: 02—ALBUM
Track: 19
Year: 2003
Genre: 09—GENRE1
Comment: 13—COMMENT_LINE1  13—COMMENT_LINE2  13—COMMENT_LINE3

ID3 -v test.mp3

Gives:

m:\_TEMP\_TEST\
>id3 -v test.mp3
#file   test.mp3
#tag    ID3v2
{TALB}

{TPE1}
        06—FRANK SINATRA
{TPE2}

{TBPM}

{COMM::eng}
        13—COMMENT_LINE1
        13—COMMENT_LINE2
        13—COMMENT_LINE3

{TCOM}

{TPE3}

{TIT1}

{TCOP}

{TPOS}

{TENC}

{TSSE}
        20—ENCODEDSETTINGS
{TCON}

{TKEY}

{IPLS}

{TCMP}

{TSRC}

{TEXT}

{TPE4}

{TOAL}

{TOPE}

{TOLY}

{TORY}

{POPM}

{POPM}

{TPUB}

{TIT3}

{TIT2}

{TRCK}

{TYER}

{TSOA}

{TSOP}

{TSOT}
        58—TITLESORT--V2.3--U16--GENRE1+GENRE2
{TSO2}
        51—ALBUMARTISTSORT
{TXXX:ASIN}

{TXXX:BAND}

{TXXX:CATALOGNUMBER}

{TXXX:itunesadvisory}

{TXXX:TEST3}

J-P- avatar Jun 09 '16 16:06 J-P-

Could you copy the tag (e.g. using 'id3 -2 --duplicate test.mp3 foo' ) to an empty file and attach it here? Or if you prefer, send me a small original file by email which triggers this. Thanks!

squell avatar Jun 10 '16 20:06 squell

@squell Emailed file. Thanks.

J-P- avatar Jun 10 '16 21:06 J-P-

I'm unable to reproduce it; on both Windows and Linux id3 shows the same data with or without -v.

What system are you on, exactly? If you're on Windows, what is the 'system locale for non-Unicode programs'? (You can find that under Control Panel -> Region & Languages -> Administrative).

squell avatar Jun 19 '16 21:06 squell

@squell OS: Windows 7 / current Locale for non-Unicode: EN (US) Don't know what else to say, except that it is reproducible with that and other files. The transfer option, -D, does work well and as expected.

J-P- avatar Jun 19 '16 21:06 J-P-

  1. And if you run 'id3 -v' on the exact file you sent me, you get the same behaviour reported?

  2. Also, do you really see a "blank" field at "POPM", or do you see "<binary data>"? (This is a hardcoded ASCII string in the program; I can't think of any reason it should not show up)

  3. What happens if you run id3 -q "%_{TALB}" test.mp3 ?

squell avatar Jun 19 '16 21:06 squell

@squell

  1. Yes.
  2. The first report was a copy & paste from the Windows CMD Console.
  3. 02—ALBUM (copy & paste)

Assuming it worked, on my end, as expected, how could one import the dump—en masse—to the mp3? Or, do I have to parse each line?

J-P- avatar Jun 19 '16 21:06 J-P-

Thanks! I don't understand this bug. When I have more time, I'll prepare a version of id3 that we can use (hopefully) to hunt this bug down. I'll also try some more Windows machines in the meantime to see if I can reproduce it myself.

squell avatar Jun 19 '16 22:06 squell

@squell Thanks. This is not that critical, as I can get the values individually. Assuming a dump worked on my end as expected, how could one import the dump—en masse—to the mp3? Or, do I have to parse each line?

J-P- avatar Jun 19 '16 22:06 J-P-