I get the following error while trying to stream a song:
> [14-08-13 21:24:07.8019] Plugins::SqueezeCloud::Plugin::__ANON__ (304)
> fetching: h
> ttps://api.soundcloud.com/me/favorites.json?offset=0&limit=50&&oauth_token=1-DUMMY-1234567-bfca883ed127bef&
> [14-08-13 21:24:08.1727] Plugins::SqueezeCloud::Plugin::_parseTracks
> (214) parsing tracks
> [14-08-13 21:24:08.1747] Plugins::SqueezeCloud::Plugin::__ANON__ (320)
> this page: 7 total: 8050
> [14-08-13 21:24:08.1755] Plugins::SqueezeCloud::Plugin::__ANON__ (325)
> short page, truncate total to 7
> [14-08-13 21:24:10.5081]
> Plugins::SqueezeCloud::ProtocolHandler::getNextTrack (187) Getting track
> from soundcloud for 124019101
> [14-08-13 21:24:10.5989]
> Plugins::SqueezeCloud::ProtocolHandler::gotNextTrack (135) h
> ttps://api.soundcloud.com/tracks/124019101/download?client_id=1234567890dummy123456789
> [14-08-13 21:24:10.8662]
> Plugins::SqueezeCloud::ProtocolHandler::gotNextTrack (151) setting
> soundcloud_meta_124019101
> [14-08-13 21:25:27.0460]
> Plugins::SqueezeCloud::ProtocolHandler::getNextTrack (187) Getting track
> from soundcloud for 31323521
> [14-08-13 21:25:27.1906]
> Plugins::SqueezeCloud::ProtocolHandler::gotNextTrack (135) h
> ttps://api.soundcloud.com/tracks/31323521/stream?client_id=1234567890dummy123456789
> [14-08-13 21:25:27.4056]
> Plugins::SqueezeCloud::ProtocolHandler::gotNextTrack (151) setting
> soundcloud_meta_31323521
> [14-08-13 21:25:27.4158] Slim::Networking::IO::Select::__ANON__ (147)
> Error: Select task failed calling
> Slim::Networking::Async::HTTP::_http_read_body: Can't call method "isa"
> on an undefined value at /usr/share/perl5/Slim/Player/Squeezebox.pm line
> 746.
> ; fh=Slim::Networking::Async::Socket::HTTP=GLOB(0xd54a5b8)
(i've replaces https with h ttps because i'm not allowed to post urls).
I've traced it back to
> Line 746: } elsif (
> $handler->isa('Slim::Player::Protocols::SqueezePlayDirect') ) {
The Handler is set in these lines (From line 577):
> my $controller = $params->{'controller'};
> my $url = $controller->streamUrl();
> my $track = $controller->track();
> my $handler = $controller->protocolHandler();
For some reason the handler creating fails for stream_url types.
The strange thing is that the plugin works perfectly fine with songs
that support downloading and with the setting that it may use the
download url. Nothing works when using the stream_url. I've verified the
json result from Soundcloud and that works in the browser.
I've tried a couple of things (for example disabling the replace https
with http commands) but nothing worked.
Does it still work for you guys? Any idea what can be the problem?
------------------------------------------------------------------------
nldroid's Profile: http://forums.slimdevices.com/member.php?userid=63207
View this thread: http://forums.slimdevices.com/showthread.php?t=92723
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins