[Slim-Checkins] r9446 - in /trunk/server: Slim/Utils/Scanner.pm
types.conf
andy at svn.slimdevices.com
andy at svn.slimdevices.com
Wed Sep 6 12:17:34 PDT 2006
Author: andy
Date: Wed Sep 6 12:17:33 2006
New Revision: 9446
URL: http://svn.slimdevices.com?rev=9446&view=rev
Log:
Add support for audio/asf content-type
Modified:
trunk/server/Slim/Utils/Scanner.pm
trunk/server/types.conf
Modified: trunk/server/Slim/Utils/Scanner.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Utils/Scanner.pm?rev=9446&r1=9445&r2=9446&view=diff
==============================================================================
--- trunk/server/Slim/Utils/Scanner.pm (original)
+++ trunk/server/Slim/Utils/Scanner.pm Wed Sep 6 12:17:33 2006
@@ -922,6 +922,7 @@
&& $type ne 'application/x-mms-framed'
&& $type ne 'application/vnd.ms.wms-hdr.asfv1'
&& $type ne 'audio/x-ms-wma'
+ && $type ne 'audio/asf'
) {
# It's not audio, treat it as ASX redirector
$::d_scan && msgf("scanWMA: Stream returned non-audio content-type: $type, treating as ASX redirector\n");
Modified: trunk/server/types.conf
URL: http://svn.slimdevices.com/trunk/server/types.conf?rev=9446&r1=9445&r2=9446&view=diff
==============================================================================
--- trunk/server/types.conf (original)
+++ trunk/server/types.conf Wed Sep 6 12:17:33 2006
@@ -41,7 +41,7 @@
swf swf application/x-shockwave-flash -
txt txt text/plain -
wav wav,wave audio/x-wav audio
-wma wma audio/x-ms-wma,application/vnd.ms.wms-hdr.asfv1,application/octet-stream,application/x-mms-framed audio
+wma wma audio/x-ms-wma,application/vnd.ms.wms-hdr.asfv1,application/octet-stream,application/x-mms-framed,audio/asf audio
wpl wpl application/vnd.ms-wpl playlist
xml xml,xsl text/xml -
xpf xspf application/xspf+xml playlist
More information about the checkins
mailing list