After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670287 - flac tags with dash ( - ) in them causes problems
flac tags with dash ( - ) in them causes problems
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-17 14:01 UTC by Mehmet Giritli
Modified: 2012-04-04 12:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
head of flac file (900.00 KB, audio/flac)
2012-04-04 10:50 UTC, Mehmet Giritli
Details

Description Mehmet Giritli 2012-02-17 14:01:37 UTC
If you write some tag, say title, of a file containing a dash, e.g., "blah - more", the rest of the tag after dash won't be read. So, in my case, rhythmbox will display the tag value as only "blah" and not "blah - more". I can see the contents properly with the easytag program.
Comment 1 Tim-Philipp Müller 2012-03-14 13:42:00 UTC
Does:

    gst-launch-0.10 -t playbin2 uri=file:///path/to/foo.flac

show the tags correctly? If yes, then that would be a rhythmbox bug.
Comment 2 Mehmet Giritli 2012-03-18 10:08:28 UTC
I tried this today and this is what I get in such a file as mentioned above:

FOUND TAG      : found by element "flacparse0".
           title: The Four Seasons
                : Concerto In E Major “spring” I. Allegro
          artist: Herbert von Karajan
           album: The Four Seasons / L'estro Armonico
     disc number: 1


The title is actually set as:

The Four Seasons - Concerto In E Major “spring” I. Allegro

but as you can see it is split in two lines with gstreamer. I think gstreamer is to blame instead of rb?

If you need it I can upload file somewhere...
Comment 3 Tim-Philipp Müller 2012-03-18 23:02:00 UTC
Yes, please upload the file somewhere.
Comment 4 Tim-Philipp Müller 2012-04-03 16:23:47 UTC
Mehmet, could you upload the file somewhere please?

Or attach the beginning of it to this bug report, create it with: 

  $ head --bytes=900k /path/to/file.flac > 670287-head.flac
Comment 5 Mehmet Giritli 2012-04-04 10:50:06 UTC
Created attachment 211270 [details]
head of flac file
Comment 6 Tim-Philipp Müller 2012-04-04 11:44:54 UTC
The tag looks like this:

00000000  66 4c 61 43 00 00 00 22  12 00 12 00 00 00 0e 00  |fLaC..."........|
00000010  32 bc 0a c4 42 f0 00 8b  44 18 d4 a5 15 ec 9c 1a  |2...B...D.......|
00000020  69 37 bf ba 9d 47 ed cc  0c ca 04 00 01 5b 20 00  |i7...G.......[ .|
00000030  00 00 72 65 66 65 72 65  6e 63 65 20 6c 69 62 46  |..reference libF|
00000040  4c 41 43 20 31 2e 32 2e  31 20 32 30 30 37 30 39  |LAC 1.2.1 200709|
00000050  31 37 0b 00 00 00 16 00  00 00 54 49 54 4c 45 3d  |17........TITLE=|
00000060  54 68 65 20 46 6f 75 72  20 53 65 61 73 6f 6e 73  |The Four Seasons|
00000070  31 00 00 00 54 49 54 4c  45 3d 43 6f 6e 63 65 72  |1...TITLE=Concer|
00000080  74 6f 20 49 6e 20 45 20  4d 61 6a 6f 72 20 e2 80  |to In E Major ..|
00000090  9c 73 70 72 69 6e 67 e2  80 9d 20 49 2e 20 41 6c  |.spring... I. Al|
000000a0  6c 65 67 72 6f 1a 00 00  00 41 52 54 49 53 54 3d  |legro....ARTIST=|
000000b0  48 65 72 62 65 72 74 20  76 6f 6e 20 4b 61 72 61  |Herbert von Kara|
000000c0  6a 61 6e 29 00 00 00 41  4c 42 55 4d 3d 54 68 65  |jan)...ALBUM=The|
000000d0  20 46 6f 75 72 20 53 65  61 73 6f 6e 73 20 2f 20  | Four Seasons / |
000000e0  4c 27 65 73 74 72 6f 20  41 72 6d 6f 6e 69 63 6f  |L'estro Armonico|
000000f0  0c 00 00 00 44 49 53 43  4e 55 4d 42 45 52 3d 31  |....DISCNUMBER=1|
00000100  09 00 00 00 44 41 54 45  3d 31 39 37 32 0e 00 00  |....DATE=1972...|
00000110  00 54 52 41 43 4b 4e 55  4d 42 45 52 3d 30 31 0d  |.TRACKNUMBER=01.|
00000120  00 00 00 54 52 41 43 4b  54 4f 54 41 4c 3d 32 33  |...TRACKTOTAL=23|
00000130  0f 00 00 00 47 45 4e 52  45 3d 43 6c 61 73 73 69  |....GENRE=Classi|
00000140  63 61 6c 0f 00 00 00 44  49 53 43 49 44 3d 34 39  |cal....DISCID=49|
00000150  31 31 32 35 31 37 2f 00  00 00 4d 55 53 49 43 42  |112517/...MUSICB|
00000160  52 41 49 4e 5a 5f 44 49  53 43 49 44 3d 73 64 66  |RAINZ_DISCID=sdf|
00000170  4a 6f 44 4e 6c 5f 48 62  37 47 52 42 2e 7a 33 31  |JoDNl_Hb7GRB.z31|

As you can see there are clearly two separate TITLE= entries, which get (IMHO, correctly) translated into two separate title tags. So I think the tagging application is to blame here. Agreed?
Comment 7 Mehmet Giritli 2012-04-04 12:23:46 UTC
Weird. Will check with easytag. But yea, not a problem of gst obviously...

Thanks Tim.
Comment 8 Tim-Philipp Müller 2012-04-04 12:54:39 UTC
Alright, thanks.