Package: xfmedia
Version: 0.9.2
Severity: minor
Tags: patch
Hi,
Currently Xfmedia doesn't check for uppercase extensions when adding a
directory, so for example, loading a directory with *.OGG files instead
of *.ogg will fail, no tracks are displayed on the playlist.
I join a patch against src/mainwin-callbacks.c.
Regards,
François.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686-bigmem (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- mainwin-callbacks.c.orig 2006-11-27 07:21:23.000000000 +0000
+++ mainwin-callbacks.c 2008-08-28 15:05:14.000000000 +0000
@@ -1103,7 +1103,7 @@
p = g_strrstr(file, ".");
if(!p || !*(p+1))
continue;
- if(!strstr(allowed_extensions, p))
+ if(!strcasestr(allowed_extensions, p))
continue;
}