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 688098 - CDs with special characters in CD-Text cannot be used
CDs with special characters in CD-Text cannot be used
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: Removable Media
2.98
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-11 16:35 UTC by Paul Menzel
Modified: 2018-05-24 17:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2012-11-11 16:35:16 UTC
Inserting a CD containing »ù« in its CD-Text [1]

CD_DA

CD_TEXT {
  LANGUAGE_MAP {
    0: 9
  }
  LANGUAGE 0 {
    TITLE "M\372sica Brasileira"
    PERFORMER "Rio Maracatu e Caetano Veloso Transa"
    SIZE_INFO { 0,  1, 17,  0, 24, 22,  0,  0,  0,  0,  0,  0,
                0,  0,  0,  0,  0,  0,  0,  3, 48,  0,  0,  0,
                0,  0,  0,  0,  9,  0,  0,  0,  0,  0,  0,  0}
  }
}

the audio CD is shortly shown as Audio-CD in the left window/pane but then is removed right away. Brasero also has problems with this as reported in bug 687836 [2].

[1] https://en.wikipedia.org/wiki/CD_Text
[2] https://bugzilla.gnome.org/show_bug.cgi?id=687836
Comment 1 Paul Menzel 2012-11-11 16:41:16 UTC
(In reply to comment #0)
> Inserting a CD containing »ù« in its CD-Text [1]

I used the wrong accent `, the one used here is »ú« and seems to be UTF-8.
Comment 2 Paul Menzel 2012-11-11 19:55:25 UTC
`cdrdao read-toc bla.toc` can be used to see, if CD-Text is stored on an Audio CD and save it to `bla.toc`, which reads the whole disc though.

Thanks to __tim in #gstreamer, the following command line using GStreamer works too and is faster.

    $ gst-launch-1.0 --toc cdiocddasrc device=/dev/sr0 ! fakesink num-buffers=1 sync=true

Luckily, GStreamer 1.0.x is in Debian Sid/unstable. (Thanks to __tim again for reminding me of that.) Plesae note that the output of `gst-launch` is not stable so you should not use it in scripts and so on.
Comment 3 Paul Menzel 2012-11-11 21:50:12 UTC
(In reply to comment #2)
> `cdrdao read-toc bla.toc` can be used to see, if CD-Text is stored on an Audio
> CD and save it to `bla.toc`, which reads the whole disc though.
> 
> Thanks to __tim in #gstreamer, the following command line using GStreamer works
> too and is faster.
> 
>     $ gst-launch-1.0 --toc cdiocddasrc device=/dev/sr0 ! fakesink num-buffers=1
> sync=true

The `sync=true` can be left out according to __tim as we do want to stop right away anyway.

GStreamer also had a problem displaying the non-ASCII, which are also no UTF-8 if I understood __tim correctly. __tim pushed a fix already for GStreamer [1].

    cdio: use gst_tag_freeform_string_to_utf8() for CD-TEXT strings

    They're probably not going to be UTF-8, but ISO-8859-1 or somesuch
    if they're not plain ASCII.

[…]

[1] http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=c4335cf66395d2b272cbbf22eaa7703621f64ff9
Comment 4 GNOME Infrastructure Team 2018-05-24 17:44:48 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/1238.