patches/sound-juicer-04-gvfs.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 17143 96674754a0b7
permissions -rwxr-xr-x
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

--- sound-juicer-2.28.0-old/libjuicer/sj-metadata-gvfs.c	2009-09-23 15:35:02.342698000 +0800
+++ sound-juicer-2.28.0/libjuicer/sj-metadata-gvfs.c	2009-09-23 16:34:01.084099000 +0800
@@ -63,7 +63,11 @@
 {
   if (g_str_has_prefix (device, "/dev/") == FALSE)
     return NULL;
+#ifdef __sun    
+  return g_strdup_printf ("cdda://%s", device + strlen ("/dev/rdsk/"));
+#else  
   return g_strdup_printf ("cdda://%s", device + strlen ("/dev/"));
+#endif   
 }
 
 static GList *