GNOME Bugzilla – Bug 685192
Problems playing audio CDs
Last modified: 2013-03-13 17:10:01 UTC
Using Debian Sid/unstable with Totem 3.4.2-1, inserting an audio CD into the drive and starting Totem, selecting »File« the audio CD is listed there. Clicking on that, instead of playing the CD the file open dialog is opened and the following is printed to the terminal. (totem:25778): GLib-GIO-CRITICAL **: g_mount_guess_content_type_sync: assertion `G_IS_MOUNT (mount)' failed (totem:25778): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (totem:25778): GLib-CRITICAL **: g_filename_to_uri: assertion `filename != NULL' failed
I know that Rhythmbox is the recommended program to play audio CDs, but Totem should handle this use case better though.
(In reply to comment #0) > Using Debian Sid/unstable with Totem 3.4.2-1, inserting an audio CD into the > drive and starting Totem, selecting »File« the audio CD is listed there. The correct name is »Movie« and not »File«. […]
The same issue was reported to the Debian BTS and was assigned the number #574680 [1]. So this issue is present since version 2.28.5. Though in with 3.4 $ totem cdda:// does not work anymore. $ totem cdda:// (totem:27415): Totem-WARNING **: Tried to set sidebar page 'properties' but it does not exist WARNING: gnome-keyring:: couldn't connect to: /home/joey/.cache/keyring-0oJyN7/pkcs11: Datei oder Verzeichnis nicht gefunden (totem:27415): Totem-WARNING **: chapters: failed to load CMML file cdda://.cmml: Der angegebene Ort ist nicht eingehängt ** Message: Error: Das CD-Laufwerk konnte nicht zum Lesen geöffnet werden. gstcdparanoiasrc.c(283): gst_cd_paranoia_src_open (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstCdParanoiaSrc:source: cdda_identify failed [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574680
(In reply to comment #3) > The same issue was reported to the Debian BTS and was assigned the number > #574680 [1]. > > So this issue is present since version 2.28.5. Though in with 3.4 > > $ totem cdda:// > > does not work anymore. It's not supposed to work either. In fact, it hasn't work since we removed support for audio CD playback. The error up top is a different one though.
The problem is that the playlist parser says that the directory is unhandled:
+ Trace 231638
When it should work: $ ./parser cdda://sr0/ ** Message: Added URI "cdda://sr0/Track%201.wav"... ** Message: Added URI "cdda://sr0/Track%202.wav"... ** Message: Added URI "cdda://sr0/Track%203.wav"... ** Message: Added URI "cdda://sr0/Track%204.wav"... ** Message: Added URI "cdda://sr0/Track%205.wav"... ** Message: Added URI "cdda://sr0/Track%206.wav"... ** Message: Added URI "cdda://sr0/Track%207.wav"... ** Message: Added URI "cdda://sr0/Track%208.wav"...
Fixed in gnome-3-8 and master. (FWIW, https://bugzilla.redhat.com/show_bug.cgi?id=714714 is the reason it took so long) commit f997acf0f569ffbcf2a985d89c16188ed6c3aaa4 Author: Bastien Nocera <hadess@hadess.net> Date: Wed Mar 13 18:07:32 2013 +0100 main: Handle cdda:// URIs as normal files As we don't special-case the audio CDs anywhere anymore, don't block totem-pl-parser from handling it like a directory full of files. This also fixes loads of warnings from the autoload-subtitles plugin when launching totem cdda://sr0/ https://bugzilla.gnome.org/show_bug.cgi?id=685192