A recent change to trunk simplied things a bit, but it changed the way
contentType was checked. I needed to mod the server [r5398] to make
local conversion of mms streams play again...
See Slim/Player/Source.pm - what happens now: ~line 1128
Code:
--------------------
my $sock = Slim::Player::ProtocolHandlers->openRemoteStream($track,
$client);
--------------------
This calls your protocol handler to open the stream and starts the
pipeline to decode it.
Code:
--------------------
my $sock = Slim::Player::ProtocolHandlers->openRemoteStream($track,
$client);
--------------------
Then gets the content type for the stream. Because a pipeline is used
which is already decoding the stream, this needs to be the format of
the output of the pipeline. Assuming this format is the one the player
wants, it will result in the following getConvertCommand returning the
"-" null decode case which results in line ~1170 where the output of
the pipeline is used directly. [previous code used a differernt api to
detect the contentType of the pipeline, but a similar principle holds]
--
Triode
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=18904
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins