mherger wrote:
> >Ok, you seem to be pretty technical :-). Could you please try to
> replace
> http with https (or vice versa) for one of those non-working URLs? Would
>
> they work then (using curl or the like)?
>
> --
>
> Michael
Yikes, my last post was over engineered!! It seems if we modify the
streamUrl returned from MSB.com and change the scheme from http:// to
https://, the resulting URL will succeed.
This is a much simpler workaround. There is no need to know a Tidal
sessionId.
1. In a terminal, cd to the location of your squeezeboxserver Perl
modules. For many Linuxes, this will be /usr/share/perl5, but can vary.
2. Now cd to Slim/Plugin/WiMP
3. Start editing the file ProtocolHandler.pm
4. Find the subroutine _gotTrack and change the initial lines to this.:
Code:
--------------------
sub _gotTrack {
my ( $client, $info, $params ) = @_;
main::DEBUGLOG && $log->is_debug && $log->debug('Original URL: ' .
$info->{url});
# START workaround for bad streamUrl scheme from MSB.com #
if ($info->{url}) {
$info->{url} =~ s/http:/https:/;
}
# END workaround for bad streamUrl scheme from MSB.com #
my $song = $params->{song};
--------------------
5. Restart LMS.
Apologies for the more complicated solution I proposed moments ago. I
should have actually done as Michael asked. Thanks for suggesting it,
Michael!
--Carl
------------------------------------------------------------------------
csmig's Profile: http://forums.slimdevices.com/member.php?userid=37011
View this thread: http://forums.slimdevices.com/showthread.php?t=112300
_______________________________________________
squeezenetwork mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezenetwork