Bug 13921 - doesn't read certain tags in non-standard encoding (ID3 v1.1 tags probably)
Summary: doesn't read certain tags in non-standard encoding (ID3 v1.1 tags probably)
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: easytag (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-07 18:10 MSK by Ivan Zakharyaschev
Modified: 2017-05-23 10:18 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2008-01-07 18:10:17 MSK
easytag-2.1-alt1
id3lib-3.8.3-alt5

Very often you get files with tags in CP1251, a non-standard encoding for tags.

Fortunately, easytag is able to read fields in non-standard encodings -- menu
"Scanner" > "Process Fields" > "Options" > "ID3 Tag Settings" > "Use non
standard character set for reading ID3 tags".

Usually this feature works, but it doesn't work for some files, e.g.,
http://baza.com/audio/2005-live-in-san-francisco/04-vse-napominaet-o-tebe.mp3 .

Probably, the difference is that in those files the tags that are not decoded
correctly are ID3 v1.1 tags. Compare:

A file whose tags easytag decodes correctly:
http://baza.com/audio/seriously-new-records/manjaki--020905.mp3

$ mpgtx -i manjaki--020905.mp3 
Skipped -2 zeroes at start of file
mpgtx: AT EOF - please stop me!
mmm, this file does not start with a pack, offset: -2 
use the desperate_mode switch as the first option -X to search for a header in
the whole file!
if you want to force the operation. May yield to an endless loop if no valid
header is found!
Does not even begin with a 00 00 01 xx sequence!

No success at all.
manjaki--020905.mp3
  Audio : Mpeg 1 layer 3
  Estimated Duration: 08:32.17s
  192 kbps  44100 Hz
  Frame size: 627 bytes
  Stereo,  No emphasis,  original
  ID3 v1.1 tag
     ----------------
     title   : лЮМЭЪЙХ (ОСЯРШЕ)
     artist  : гЮУЮП лЮИ
     album   : дНАПНИ НУНРШ! sessions
     track   : 0
     year    : 2005
     genre   : Dance
     ----------------
  ID3 v2.3.0 tag (more info on http://www.id3.org/)
     ----------------
     TRCK : (empty)
     TENC : (empty)
     WXXX : (skipped)
     TCOP : (empty)
     TOPE : (empty)
     TCOM : (empty)
     COMM : (lang: ) : (empty)
     TCON : (3)Dance
     TYER : 2005
     TALB : дНАПНИ НУНРШ! sessions
     TPE1 : гЮУЮП лЮИ
     TIT2 : лЮМЭЪЙХ (ОСЯРШЕ)
     ----------------

$ 

-- ID3 v2.3.0 tags are filled

vs. the file whose tags aren't decoded correctly by easytag:
http://baza.com/audio/2005-live-in-san-francisco/04-vse-napominaet-o-tebe.mp3

$ $ mpgtx -i 04-vse-napominaet-o-tebe.mp3 
Skipped -2 zeroes at start of file
mpgtx: AT EOF - please stop me!
mmm, this file does not start with a pack, offset: -2 
use the desperate_mode switch as the first option -X to search for a header in
the whole file!
if you want to force the operation. May yield to an endless loop if no valid
header is found!
Does not even begin with a 00 00 01 xx sequence!

No success at all.
04-vse-napominaet-o-tebe.mp3
  Audio : Mpeg 1 layer 3
  Estimated Duration: 02:37.48s
  160 kbps  44100 Hz
  Frame size: 522 bytes
  Stereo,  No emphasis,  copy
  ID3 v1.1 tag
     ----------------
     title   : бЯ╦ МЮОНЛХМЮЕР Н РЕАЕ
     artist  : гЮУЮП лЮИ
     album   : Live in San Francisco
     track   : 0
     year    : 2005
     genre   : Blues
     ----------------
  ID3 v2.3.0 tag (more info on http://www.id3.org/)
     ----------------
     TRCK : (empty)
     TENC : (empty)
     WXXX : (skipped)
     TCOP : (empty)
     TOPE : (empty)
     TCOM : (empty)
     TCON : (0)Blues
     TYER : 2005
     TALB : Live in San Francisco
     TPE1 : гЮУЮП лЮИ
     TXXX : EngineerZak May
     GEOB : (skipped)
     COMM : (lang: eng) : Recorded live at "Last Day Saloon" in San Francisco,
CA by Michael Khitrov, 22.05.05
     TIT2 : (empty)
     ----------------

$ 

-- as you see, there is no ID3 v2.3.0 tag for the title here, only an ID3 v1.1
tag. So I think the problem is in reading ID3 v1.1 tags.
Steps to Reproduce:
1. Start easytag, set the above mentioned option ("Scanner" > "Process Fields" >
"Options" > "ID3 Tag Settings" > "Use non standard character set for reading ID3
tags") to Windows-1251, save options, exit.
2. Download, for example,
http://baza.com/audio/2005-live-in-san-francisco/04-vse-napominaet-o-tebe.mp3
3. Run easytag on it.
Actual Results:  
The title tag is not decoded and shown correctly: Âñ¸ íàïîìèíàåò î òåáå

Expected Results:  
It is decoded correctly.
Comment 1 Konstantin Pavlov 2009-10-15 11:04:42 MSD
to maintainer
Comment 2 ildar 2017-05-23 10:18:46 MSK
если актуально, может, перевесить на текущего мэйнтейнера?