changeset 3162:5161ced1bce2 trunk

exclude cue:// from regular scheme check. it is temporal too.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 25 Jul 2007 18:49:27 +0900
parents 31355fc2bb9a
children 3398dae5fd3c
files src/audacious/input.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/input.c	Tue Jul 24 22:26:32 2007 +0200
+++ b/src/audacious/input.c	Wed Jul 25 18:49:27 2007 +0900
@@ -372,7 +372,9 @@
         *tmp = '\0';
 
     /* CD-Audio uses cdda:// dummy paths, no filedescriptor handling for it */
-    if (!g_strncasecmp(filename, "cdda://", 7)) {
+    /* also cuesheet uses cue:// */
+    if (!g_strncasecmp(filename, "cdda://", 7) ||
+        !g_strncasecmp(filename, "cue://", 6)) {
         for (node = get_input_list(); node != NULL; node = g_list_next(node))
         {
             ip = INPUT_PLUGIN(node->data);