Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350001 - gnome-base/gvfs: cdda support doesn't work
Summary: gnome-base/gvfs: cdda support doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-29 01:08 UTC by Mart Raudsepp
Modified: 2013-07-27 10:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2010-12-29 01:08:40 UTC
Hey,

It seems CD audio works rather... badly in stable GNOME right now.
I insert it, it pops up a nautilus window AND complains that it can't mount it, because it's already mounted (though I don't have USE=gdu on gvfs).
Then if I double-click on the track wav entries shown, it opens totem with a path of cdda:///dev/sr0/Track%201.wav or some such, and complains that it doesn't have CD Audio support, whereas gst-plugins-cdio and gst-plugins-gio are installed. The "Play Audio CD" menu entry is however shown, but greyed out.
Totem CAN play the thing if opening with just "totem cdda://" on the command line, however.

Additionally it would be nice to be able to play it in totem as a playlist, but I guess that's more of an upstream thing.

This is mostly yet another reminder for me of personal Gentoo GNOME experience issue to look at personally later, or hopefully someone can help out here as well.
Comment 1 Rafał Mużyło 2010-12-29 02:54:46 UTC
Do you have cdda set on gvfs ?
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-29 09:22:22 UTC
(In reply to comment #0)
> Hey,
> 
> It seems CD audio works rather... badly in stable GNOME right now.
> I insert it, it pops up a nautilus window AND complains that it can't mount it,
> because it's already mounted (though I don't have USE=gdu on gvfs).

not sure what's mounting it, if you have USE="cdda" on gvfs, it should not complain.

> Then if I double-click on the track wav entries shown, it opens totem with a
> path of cdda:///dev/sr0/Track%201.wav or some such, and complains that it
> doesn't have CD Audio support, whereas gst-plugins-cdio and gst-plugins-gio are
> installed.

This needs USE="cdda" on gvfs afaik.

> The "Play Audio CD" menu entry is however shown, but greyed out.

maybe it needs rhythmbox or sound-juicer to enable this feature ?

> Totem CAN play the thing if opening with just "totem cdda://" on the command
> line, however.

but it is a video player to start with :)

> Additionally it would be nice to be able to play it in totem as a playlist, but
> I guess that's more of an upstream thing.

rhythmbox/sound-juicer are better suited to play audio CD so I don't think it is worth pursuing on this point.
Comment 3 Rafał Mużyło 2010-12-29 11:59:09 UTC
looking at src/totem-menu.c, add_volume_to_menu, cdda support in gvfs should be sufficient.
Comment 4 Mart Raudsepp gentoo-dev 2010-12-30 11:25:21 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > Hey,
> > 
> > It seems CD audio works rather... badly in stable GNOME right now.
> > I insert it, it pops up a nautilus window AND complains that it can't mount it,
> > because it's already mounted (though I don't have USE=gdu on gvfs).
> 
> not sure what's mounting it, if you have USE="cdda" on gvfs, it should not
> complain.

I did add that USE flag to gvfs, yes.

> > Then if I double-click on the track wav entries shown, it opens totem with a
> > path of cdda:///dev/sr0/Track%201.wav or some such, and complains that it
> > doesn't have CD Audio support, whereas gst-plugins-cdio and gst-plugins-gio are
> > installed.
> 
> This needs USE="cdda" on gvfs afaik.

Got that.

> > The "Play Audio CD" menu entry is however shown, but greyed out.
> 
> maybe it needs rhythmbox or sound-juicer to enable this feature ?

Got sound-juicer there.

> > Totem CAN play the thing if opening with just "totem cdda://" on the command
> > line, however.
> 
> but it is a video player to start with :)

It's trying to open with totem when I double-click on the wav entries that are shown in the automount nautilus popup that shows the contents. There's an info bar on the top that shows I can rip or whatever with a button on the right that opens up sound-juicer for the thing. That sound-juicer works though.

> > Additionally it would be nice to be able to play it in totem as a playlist, but
> > I guess that's more of an upstream thing.
> 
> rhythmbox/sound-juicer are better suited to play audio CD so I don't think it
> is worth pursuing on this point.

For totem the main question is, why doesn't the path that nautilus gives it on open work for it, why does it complain I have missing CD Audio plugins and doesn't play the specified cdda:///dev/dr0/Track%201.wav, etc.
Comment 5 Pacho Ramos gentoo-dev 2011-01-28 19:36:15 UTC
This is an old problem I suffer for... ages?

Totem is unable to play CDs, but it's expected, the problem is that nautilus still offers it to play CDs:
https://bugzilla.gnome.org/show_bug.cgi?id=640819
Comment 6 Pacho Ramos gentoo-dev 2011-01-31 13:11:50 UTC
Per:
https://bugzilla.gnome.org/show_bug.cgi?id=640819#c13
https://bugzilla.gnome.org/show_bug.cgi?id=640819#c8

Looks like our gvfs cdda support is broken :-/

[ebuild   R   ] gnome-base/gvfs-1.6.6-r1  USE="avahi bash-completion cdda fuse gdu gnome gnome-keyring http udev -archive -bluetooth -doc -gphoto2 -hal -iphone -samba" 0 kB
Comment 7 Pacho Ramos gentoo-dev 2011-02-02 17:30:05 UTC
(In reply to comment #6)
> Per:
> https://bugzilla.gnome.org/show_bug.cgi?id=640819#c13
> https://bugzilla.gnome.org/show_bug.cgi?id=640819#c8
> 
> Looks like our gvfs cdda support is broken :-/
> 
> [ebuild   R   ] gnome-base/gvfs-1.6.6-r1  USE="avahi bash-completion cdda fuse
> gdu gnome gnome-keyring http udev -archive -bluetooth -doc -gphoto2 -hal
> -iphone -samba" 0 kB
> 

If you can help me on trying to find the problem I would highly appreciate it. Thanks
Comment 8 Sebastián Magrí 2011-06-10 11:54:10 UTC
I'm actually having a similar issue with GVFS saying it can't mount cdda:// or with a ServiceUnknown error from DBUS. I've looked at the upstream reports and I have not found something that changes my situation.
Comment 9 Pacho Ramos gentoo-dev 2011-06-10 12:00:22 UTC
Yes, we know the problem is still valid... but still have no idea about what is causing this as upstream thinks this is distribution specific :-S
Comment 10 Pacho Ramos gentoo-dev 2011-07-15 11:58:16 UTC
Can any gnome team member check the status of this problem with Gnome 3?
Comment 11 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-07-15 15:30:31 UTC
(In reply to comment #10)
> Can any gnome team member check the status of this problem with Gnome 3?

Under Gnome 3, when I insert an audio CD, I get a window pop up asking "You have just inserted an Audio CD. Choose what application to launch." If I select "Open folde", I get a Nautilus window with Track X.wav files. If I double-click on one of those files, Totem starts and *does not* play - the play/pause button simply has no effect (although no error messages pop up).

But if I open another file in Totem and then switch back to Track 1.wav using the recent file list in the Movie menu, Totem plays the CD track successfully.

This is with:
gnome-base/gvfs-1.8.2-r1  USE="archive avahi bash-completion bluetooth cdda doc fuse gdu gnome-keyring gphoto2 http ios samba udev (-prefix)"
gnome-base/nautilus-3.0.2  USE="doc exif gnome introspection xmp -sendto -test"
media-video/totem-3.0.1  USE="bluetooth doc introspection nautilus nsplugin python vala youtube -debug -iplayer -lirc (-tracker) -zeroconf"
Comment 12 Pacho Ramos gentoo-dev 2011-07-15 16:53:38 UTC
Then, it's still failing :S, could you please help me on upstream bug? Looks like they simply don't care... but looks like this problem is not exclusive to old gnome2 :-/

The upstream report is:
https://bugzilla.gnome.org/show_bug.cgi?id=640819
Comment 13 Pacho Ramos gentoo-dev 2012-01-30 09:52:51 UTC
Can anyone check with Gnome 3.2 and, if still valid, report this to upstream?
Comment 14 Pacho Ramos gentoo-dev 2013-07-27 10:14:39 UTC
Looks like CDs are finally being handled properly in Gnome 3.8