Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [18-04-22 10:34:23.4951] Plugins::Spotty::SettingsAuth::handler (63) Trying to authenticate using: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty -c "/var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__" -n "Spotify Authorization (mediaserver-pi)" -u "**removed**@googlemail.com" -p "********" -a --disable-discovery
- [18-04-22 10:34:24.0662] Plugins::Spotty::SettingsAuth::shutdownHelper (174) Quitting authentication daemon
- [18-04-22 10:34:24.0708] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to ddce5d49
- [18-04-22 10:34:24.0748] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
- [18-04-22 10:34:24.0768] Plugins::Spotty::Plugin::renameCacheFolder (371) Error: No newId found in '__AUTHENTICATE__'
- [18-04-22 10:34:24.0792] Plugins::Spotty::Plugin::renameCacheFolder (371) Backtrace:
- frame 0: Slim::Utils::Log::logBacktrace (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Plugin.pm line 371)
- frame 1: Plugins::Spotty::Plugin::renameCacheFolder (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 168)
- frame 2: Plugins::Spotty::SettingsAuth::cleanup (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 78)
- frame 3: Plugins::Spotty::SettingsAuth::handler (/usr/share/perl5/Slim/Web/HTTP.pm line 1114)
- frame 4: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 884)
- frame 5: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 688)
- frame 6: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
- frame 7: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
- frame 8: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
- frame 9: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
- frame 10: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 727)
- frame 11: main::idle (/usr/sbin/squeezeboxserver line 677)
- frame 12: main::main (/usr/sbin/squeezeboxserver line 1213)
- [18-04-22 10:34:24.0864] Plugins::Spotty::API::getToken (101) Didn't find cached token. Need to refresh.
- [18-04-22 10:34:24.0891] Plugins::Spotty::API::getToken (121) Trying to get access token: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty -n Squeezebox -c "/var/lib/squeezeboxserver/cache/spotty/ddce5d49" -i abcdef1234567890 --get-token --scope "user-read-private,user-follow-modify,user-follow-read,user-library-read,user-library-modify,user-top-read,user-read-recently-played,user-read-playback-state,user-modify-playback-state,playlist-read-private,playlist-read-collaborative,playlist-modify-public,playlist-modify-private"
- [18-04-22 10:34:24.6468] Plugins::Spotty::API::getToken (124) Got response: {"accessToken":"**removed**","expiresIn":3600,"tokenType":"Bearer","scope":["user-read-private","user-follow-modify","user-follow-read","user-library-read","user-library-modify","user-top-read","user-read-recently-played","user-read-playback-state","user-modify-playback-state","playlist-read-private","playlist-read-collaborative","playlist-modify-public","playlist-modify-private"]}
- [18-04-22 10:34:24.6543] Plugins::Spotty::API::getToken (133) Received access token: {
- accessToken => "**removed**",
- expiresIn => 3600,
- scope => [
- "user-read-private",
- "user-follow-modify",
- "user-follow-read",
- "user-library-read",
- "user-library-modify",
- "user-top-read",
- "user-read-recently-played",
- "user-read-playback-state",
- "user-modify-playback-state",
- "playlist-read-private",
- "playlist-read-collaborative",
- "playlist-modify-public",
- "playlist-modify-private",
- ],
- tokenType => "Bearer",
- }
- [18-04-22 10:34:24.6562] Plugins::Spotty::API::getToken (134) Caching for 3600 seconds.
- [18-04-22 10:34:24.6591] Plugins::Spotty::API::_call (1310) Trying to read from cache for me
- [18-04-22 10:34:24.6625] Plugins::Spotty::API::_call (1319) API call: me
- [18-04-22 10:34:24.6730] Plugins::Spotty::API::getToken (96) Found cached token: **removed**
- [18-04-22 10:34:24.6749] Plugins::Spotty::API::_call (1310) Trying to read from cache for users/**removed**%40googlemail.com
- [18-04-22 10:34:24.6779] Plugins::Spotty::API::_call (1319) API call: users/**removed**%40googlemail.com
- [18-04-22 10:34:24.9610] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
- [18-04-22 10:34:24.9628] Plugins::Spotty::Plugin::renameCacheFolder (371) Error: No newId found in '__AUTHENTICATE__'
- [18-04-22 10:34:24.9649] Plugins::Spotty::Plugin::renameCacheFolder (371) Backtrace:
- frame 0: Slim::Utils::Log::logBacktrace (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Plugin.pm line 371)
- frame 1: Plugins::Spotty::Plugin::renameCacheFolder (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 168)
- frame 2: Plugins::Spotty::SettingsAuth::cleanup (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Settings.pm line 54)
- frame 3: Plugins::Spotty::Settings::handler (/usr/share/perl5/Slim/Web/HTTP.pm line 1114)
- frame 4: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 884)
- frame 5: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 688)
- frame 6: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
- frame 7: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
- frame 8: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
- frame 9: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
- frame 10: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 727)
- frame 11: main::idle (/usr/sbin/squeezeboxserver line 677)
- frame 12: main::main (/usr/sbin/squeezeboxserver line 1213)
- [18-04-22 10:34:24.9695] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
- [18-04-22 10:34:24.9712] Plugins::Spotty::Plugin::renameCacheFolder (371) Error: No newId found in '__AUTHENTICATE__'
- [18-04-22 10:34:24.9734] Plugins::Spotty::Plugin::renameCacheFolder (371) Backtrace:
- frame 0: Slim::Utils::Log::logBacktrace (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Plugin.pm line 371)
- frame 1: Plugins::Spotty::Plugin::renameCacheFolder (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 168)
- frame 2: Plugins::Spotty::SettingsAuth::cleanup (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 178)
- frame 3: Plugins::Spotty::SettingsAuth::shutdownHelper (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Settings.pm line 100)
- frame 4: Plugins::Spotty::Settings::handler (/usr/share/perl5/Slim/Web/HTTP.pm line 1114)
- frame 5: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 884)
- frame 6: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 688)
- frame 7: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
- frame 8: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
- frame 9: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
- frame 10: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
- frame 11: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 727)
- frame 12: main::idle (/usr/sbin/squeezeboxserver line 677)
- frame 13: main::main (/usr/sbin/squeezeboxserver line 1213)
- [18-04-22 10:34:24.9827] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
- [18-04-22 10:34:25.0143] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
- [18-04-22 10:34:25.0178] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
- [18-04-22 10:34:25.0456] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
- [18-04-22 10:34:25.0729] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
- [18-04-22 10:34:25.1967] Plugins::Spotty::API::__ANON__ (1339) {
- country => "GB",
- display_name => "**removed**",
- external_urls => { spotify => "https://open.spotify.com/user/*removed*" },
- followers => { href => undef, total => 0 },
- href => "https://api.spotify.com/v1/users/*removed*",
- id => 119_145_008,
- images => [
- {
- height => undef,
- url => "https://scontent.xx.fbcdn.net/v/t1.0-1/c59.0.200.200/p200x200/10354686_10150004552801856_220367501106153455_n.jpg?_nc_cat=0&oh=589ad9f396d7514167b05e25aa37a41d&oe=5B5EA025",
- width => undef,
- },
- ],
- product => "premium",
- type => "user",
- uri => "spotify:user:119145008",
- }
- [18-04-22 10:34:25.1985] Plugins::Spotty::API::__ANON__ (1364) Caching result for 60 using max-age (https://api.spotify.com/v1/me)
- [18-04-22 10:34:25.2040] Plugins::Spotty::API::__ANON__ (1366) Data cached (https://api.spotify.com/v1/me)
- [18-04-22 10:34:25.2119] Plugins::Spotty::API::__ANON__ (1388) error: 400 Bad Request
- [18-04-22 10:34:25.2234] Plugins::Spotty::API::__ANON__ (1399) bless({
- _content => "",
- _headers => bless({
- "access-control-allow-credentials" => "true",
- "access-control-allow-headers" => "Accept, Authorization, Origin, Content-Type, Retry-After",
- "access-control-allow-methods" => "GET, POST, OPTIONS, PUT, DELETE, PATCH",
- "access-control-allow-origin" => "*",
- "access-control-max-age" => 604_800,
- "cache-control" => "private, max-age=0",
- connection => "close",
- "content-encoding" => "gzip",
- "content-length" => 90,
- "content-type" => "application/json; charset=utf-8",
- date => "Sun, 22 Apr 2018 10:34:24 GMT",
- server => "nginx",
- }, "HTTP::Headers"),
- _msg => "Bad Request",
- _previous => [],
- _rc => 400,
- _request => bless({
- _content => "",
- _headers => bless({
- "accept" => "application/json",
- "accept-encoding" => ["deflate, gzip", "gzip"],
- "accept-language" => "en",
- authorization => "Bearer **removed**",
- "cache-control" => "no-cache",
- connection => "close",
- host => "api.spotify.com",
- "icy-metadata" => 1,
- "user-agent" => "iTunes/4.7.1 (Linux; N; Debian; armv7l-linux; EN; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.2/1524136933",
- }, "HTTP::Headers"),
- _method => "GET",
- _protocol => "HTTP/1.0",
- _uri => bless(do{\(my $o = "https://api.spotify.com/v1/users/**removed**%40googlemail.com")}, "URI::https"),
- }, "HTTP::Request"),
- }, "HTTP::Response")
- [18-04-22 10:34:25.2531] Plugins::Spotty::SettingsAuth::startHelper (145) Starting Spotty Connect deamon:
- /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty -c /var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (mediaserver-pi) -a
- [18-04-22 10:34:33.0050] Plugins::Spotty::Connect::DaemonManager::initHelpers (70) Initializing Spotty Connect helper daemons...
- [18-04-22 10:34:45.1792] Plugins::Spotty::Connect::DaemonManager::__ANON__ (37) Spotify Account for player 00:04:20:18:17:1a has changed - re-initialize Connect helper
- [18-04-22 10:34:45.1816] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:18:17:1a
- [18-04-22 10:34:45.1894] Plugins::Spotty::Connect::DaemonManager::initHelpers (70) Initializing Spotty Connect helper daemons...
- [18-04-22 10:34:45.1920] Plugins::Spotty::Connect::DaemonManager::startHelper (100) Need to (re-)start Connect daemon for 00:04:20:18:17:1a
- [18-04-22 10:34:45.1987] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
- /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty -c /var/lib/squeezeboxserver/cache/spotty/00042018171a -n Living Room --disable-audio-cache --bitrate 96 --player-mac 00:04:20:18:17:1a --lms 192.168.1.64:9000
- [18-04-22 10:34:45.2270] Plugins::Spotty::API::getToken (96) Found cached token: **removed**
- [18-04-22 10:34:45.2294] Plugins::Spotty::API::_call (1310) Trying to read from cache for me
- [18-04-22 10:34:45.2323] Plugins::Spotty::API::_call (1313) Returning cached data for me
- [18-04-22 10:34:45.2401] Plugins::Spotty::API::_call (1314) {
- country => "GB",
- display_name => "**removed**",
- external_urls => { spotify => "https://open.spotify.com/user/*removed*" },
- followers => { href => undef, total => 0 },
- href => "https://api.spotify.com/v1/users/*removed*",
- id => 119_145_008,
- images => [
- {
- height => undef,
- url => "https://scontent.xx.fbcdn.net/v/t1.0-1/c59.0.200.200/p200x200/10354686_10150004552801856_220367501106153455_n.jpg?_nc_cat=0&oh=589ad9f396d7514167b05e25aa37a41d&oe=5B5EA025",
- width => undef,
- },
- ],
- product => "premium",
- type => "user",
- uri => "spotify:user:*removed*",
- }
Advertisement
Add Comment
Please, Sign In to add comment