[gstreamer-bugs] [Bug 321532] [cddabasesrc] Support device setting in cdda:// URI

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Jul 13 16:43:06 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321532
 GStreamer | gst-plugins-base | Ver: HEAD CVS





------- Comment #19 from Brian Cameron  2006-07-13 23:43 UTC -------
Created an attachment (id=68889)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=68889&action=view)
patch to make cdda:// support /dev/foo#1 syntax


For our purposes at Sun, we want it so that when nautilus sends off a cdda://
URI that it works - like when you click on the CD icon that appears when the
audio CD is inserted.  It seems nautilus is currently sending cdda://device.  
So I created the attached patch that makes it work (using the 
cdda://device#track syntax above).

I realize that this is controversial, and that people have suggested changing
the format of the URL to something like "cdda://track?device=/dev/foo", but 
nautilus probably needs to be fixed to send this sort of URL when you click on
the CD icon.  I'm not sure how to make nautilus do this.

So, the code probably needs more work, but people can look at the attached
patch
for ideas of how to do this, or use it if they just want programs like totem
to stop complaining the cdda URI is not available.

I found that I had to interpret the device name in both the URI handling 
function and when the DEVICE property is set since some programs (like totem)
set the device property directly and this doesn't seem to trigger URI
interpreation.  


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list