Triode,
the patch for the localfile protocol handler does the initialization in
slimserver.pl. Could we do this in ProtocolHandlers.pm instead?
diff --git a/Slim/Player/ProtocolHandlers.pm
b/Slim/Player/ProtocolHandlers.pm
index 9a0a264..a982e70 100644
--- a/Slim/Player/ProtocolHandlers.pm
+++ b/Slim/Player/ProtocolHandlers.pm
@@ -19,7 +19,7 @@
# indexed by the URL protocol. built-in protocols are exist in the hash,
but
# have a zero value
my %protocolHandlers = (
- file => qw(Slim::Player::Protocols::File),
+ file => main::LOCALFILE
? qw(Slim::Player::Protocols::LocalFile)
: qw(Slim::Player::Protocols::File),
http => qw(Slim::Player::Protocols::HTTP),
icy => qw(Slim::Player::Protocols::HTTP),
mms => qw(Slim::Player::Protocols::MMS),
--
Michael
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix