In a plugin, I am trying to replace the display of a stream URL with a local protocol handler version.
I have seen that @expectingtofly VirginRadio plugin does this.
e.g.
myplugin:StationA
translated by my explodePlaylist to
h t t p: // radiostation.com/stream.mp3
but I want LMS / players to show the URL as
myplugin:StationA
not
h t t p: // radiostation.com/stream.mp3
I think that scanUrl is the place to do this.
My explodePlaylist is being called but my scanUrl is not.
I have a
use base qw(Slim::Player::Protocols::HTTPS);
I also have:
sub isAudio { 1 }
sub isRemote { 1 }
sub canDirectStream { 0 }
Any ideas why my scanUrl is not being called then the stream is set to start?
I have seen that @expectingtofly VirginRadio plugin does this.
e.g.
myplugin:StationA
translated by my explodePlaylist to
h t t p: // radiostation.com/stream.mp3
but I want LMS / players to show the URL as
myplugin:StationA
not
h t t p: // radiostation.com/stream.mp3
I think that scanUrl is the place to do this.
My explodePlaylist is being called but my scanUrl is not.
I have a
use base qw(Slim::Player::Protocols::HTTPS);
I also have:
sub isAudio { 1 }
sub isRemote { 1 }
sub canDirectStream { 0 }
Any ideas why my scanUrl is not being called then the stream is set to start?
Comment