Guest User

Untitled

a guest
Apr 22nd, 2018
11,712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.74 KB | None | 0 0
  1.  
  2. [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
  3. [18-04-22 10:34:24.0662] Plugins::Spotty::SettingsAuth::shutdownHelper (174) Quitting authentication daemon
  4. [18-04-22 10:34:24.0708] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to ddce5d49
  5. [18-04-22 10:34:24.0748] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
  6. [18-04-22 10:34:24.0768] Plugins::Spotty::Plugin::renameCacheFolder (371) Error: No newId found in '__AUTHENTICATE__'
  7. [18-04-22 10:34:24.0792] Plugins::Spotty::Plugin::renameCacheFolder (371) Backtrace:
  8.  
  9. frame 0: Slim::Utils::Log::logBacktrace (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Plugin.pm line 371)
  10. frame 1: Plugins::Spotty::Plugin::renameCacheFolder (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 168)
  11. frame 2: Plugins::Spotty::SettingsAuth::cleanup (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 78)
  12. frame 3: Plugins::Spotty::SettingsAuth::handler (/usr/share/perl5/Slim/Web/HTTP.pm line 1114)
  13. frame 4: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 884)
  14. frame 5: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 688)
  15. frame 6: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
  16. frame 7: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
  17. frame 8: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
  18. frame 9: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
  19. frame 10: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 727)
  20. frame 11: main::idle (/usr/sbin/squeezeboxserver line 677)
  21. frame 12: main::main (/usr/sbin/squeezeboxserver line 1213)
  22.  
  23. [18-04-22 10:34:24.0864] Plugins::Spotty::API::getToken (101) Didn't find cached token. Need to refresh.
  24. [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"
  25. [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"]}
  26. [18-04-22 10:34:24.6543] Plugins::Spotty::API::getToken (133) Received access token: {
  27. accessToken => "**removed**",
  28. expiresIn => 3600,
  29. scope => [
  30. "user-read-private",
  31. "user-follow-modify",
  32. "user-follow-read",
  33. "user-library-read",
  34. "user-library-modify",
  35. "user-top-read",
  36. "user-read-recently-played",
  37. "user-read-playback-state",
  38. "user-modify-playback-state",
  39. "playlist-read-private",
  40. "playlist-read-collaborative",
  41. "playlist-modify-public",
  42. "playlist-modify-private",
  43. ],
  44. tokenType => "Bearer",
  45. }
  46. [18-04-22 10:34:24.6562] Plugins::Spotty::API::getToken (134) Caching for 3600 seconds.
  47. [18-04-22 10:34:24.6591] Plugins::Spotty::API::_call (1310) Trying to read from cache for me
  48. [18-04-22 10:34:24.6625] Plugins::Spotty::API::_call (1319) API call: me
  49. [18-04-22 10:34:24.6730] Plugins::Spotty::API::getToken (96) Found cached token: **removed**
  50. [18-04-22 10:34:24.6749] Plugins::Spotty::API::_call (1310) Trying to read from cache for users/**removed**%40googlemail.com
  51. [18-04-22 10:34:24.6779] Plugins::Spotty::API::_call (1319) API call: users/**removed**%40googlemail.com
  52. [18-04-22 10:34:24.9610] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
  53. [18-04-22 10:34:24.9628] Plugins::Spotty::Plugin::renameCacheFolder (371) Error: No newId found in '__AUTHENTICATE__'
  54. [18-04-22 10:34:24.9649] Plugins::Spotty::Plugin::renameCacheFolder (371) Backtrace:
  55.  
  56. frame 0: Slim::Utils::Log::logBacktrace (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Plugin.pm line 371)
  57. frame 1: Plugins::Spotty::Plugin::renameCacheFolder (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 168)
  58. frame 2: Plugins::Spotty::SettingsAuth::cleanup (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Settings.pm line 54)
  59. frame 3: Plugins::Spotty::Settings::handler (/usr/share/perl5/Slim/Web/HTTP.pm line 1114)
  60. frame 4: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 884)
  61. frame 5: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 688)
  62. frame 6: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
  63. frame 7: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
  64. frame 8: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
  65. frame 9: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
  66. frame 10: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 727)
  67. frame 11: main::idle (/usr/sbin/squeezeboxserver line 677)
  68. frame 12: main::main (/usr/sbin/squeezeboxserver line 1213)
  69.  
  70. [18-04-22 10:34:24.9695] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
  71. [18-04-22 10:34:24.9712] Plugins::Spotty::Plugin::renameCacheFolder (371) Error: No newId found in '__AUTHENTICATE__'
  72. [18-04-22 10:34:24.9734] Plugins::Spotty::Plugin::renameCacheFolder (371) Backtrace:
  73.  
  74. frame 0: Slim::Utils::Log::logBacktrace (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Plugin.pm line 371)
  75. frame 1: Plugins::Spotty::Plugin::renameCacheFolder (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 168)
  76. frame 2: Plugins::Spotty::SettingsAuth::cleanup (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 178)
  77. frame 3: Plugins::Spotty::SettingsAuth::shutdownHelper (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Settings.pm line 100)
  78. frame 4: Plugins::Spotty::Settings::handler (/usr/share/perl5/Slim/Web/HTTP.pm line 1114)
  79. frame 5: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 884)
  80. frame 6: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 688)
  81. frame 7: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
  82. frame 8: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
  83. frame 9: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
  84. frame 10: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
  85. frame 11: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 727)
  86. frame 12: main::idle (/usr/sbin/squeezeboxserver line 677)
  87. frame 13: main::main (/usr/sbin/squeezeboxserver line 1213)
  88.  
  89. [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
  90. [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
  91. [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
  92. [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
  93. [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
  94. [18-04-22 10:34:25.1967] Plugins::Spotty::API::__ANON__ (1339) {
  95. country => "GB",
  96. display_name => "**removed**",
  97. external_urls => { spotify => "https://open.spotify.com/user/*removed*" },
  98. followers => { href => undef, total => 0 },
  99. href => "https://api.spotify.com/v1/users/*removed*",
  100. id => 119_145_008,
  101. images => [
  102. {
  103. height => undef,
  104. 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",
  105. width => undef,
  106. },
  107. ],
  108. product => "premium",
  109. type => "user",
  110. uri => "spotify:user:119145008",
  111. }
  112. [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)
  113. [18-04-22 10:34:25.2040] Plugins::Spotty::API::__ANON__ (1366) Data cached (https://api.spotify.com/v1/me)
  114. [18-04-22 10:34:25.2119] Plugins::Spotty::API::__ANON__ (1388) error: 400 Bad Request
  115. [18-04-22 10:34:25.2234] Plugins::Spotty::API::__ANON__ (1399) bless({
  116. _content => "",
  117. _headers => bless({
  118. "access-control-allow-credentials" => "true",
  119. "access-control-allow-headers" => "Accept, Authorization, Origin, Content-Type, Retry-After",
  120. "access-control-allow-methods" => "GET, POST, OPTIONS, PUT, DELETE, PATCH",
  121. "access-control-allow-origin" => "*",
  122. "access-control-max-age" => 604_800,
  123. "cache-control" => "private, max-age=0",
  124. connection => "close",
  125. "content-encoding" => "gzip",
  126. "content-length" => 90,
  127. "content-type" => "application/json; charset=utf-8",
  128. date => "Sun, 22 Apr 2018 10:34:24 GMT",
  129. server => "nginx",
  130. }, "HTTP::Headers"),
  131. _msg => "Bad Request",
  132. _previous => [],
  133. _rc => 400,
  134. _request => bless({
  135. _content => "",
  136. _headers => bless({
  137. "accept" => "application/json",
  138. "accept-encoding" => ["deflate, gzip", "gzip"],
  139. "accept-language" => "en",
  140. authorization => "Bearer **removed**",
  141. "cache-control" => "no-cache",
  142. connection => "close",
  143. host => "api.spotify.com",
  144. "icy-metadata" => 1,
  145. "user-agent" => "iTunes/4.7.1 (Linux; N; Debian; armv7l-linux; EN; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.2/1524136933",
  146. }, "HTTP::Headers"),
  147. _method => "GET",
  148. _protocol => "HTTP/1.0",
  149. _uri => bless(do{\(my $o = "https://api.spotify.com/v1/users/**removed**%40googlemail.com")}, "URI::https"),
  150. }, "HTTP::Request"),
  151. }, "HTTP::Response")
  152. [18-04-22 10:34:25.2531] Plugins::Spotty::SettingsAuth::startHelper (145) Starting Spotty Connect deamon:
  153. /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty -c /var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (mediaserver-pi) -a
  154. [18-04-22 10:34:33.0050] Plugins::Spotty::Connect::DaemonManager::initHelpers (70) Initializing Spotty Connect helper daemons...
  155. [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
  156. [18-04-22 10:34:45.1816] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:18:17:1a
  157. [18-04-22 10:34:45.1894] Plugins::Spotty::Connect::DaemonManager::initHelpers (70) Initializing Spotty Connect helper daemons...
  158. [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
  159. [18-04-22 10:34:45.1987] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
  160. /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
  161. [18-04-22 10:34:45.2270] Plugins::Spotty::API::getToken (96) Found cached token: **removed**
  162. [18-04-22 10:34:45.2294] Plugins::Spotty::API::_call (1310) Trying to read from cache for me
  163. [18-04-22 10:34:45.2323] Plugins::Spotty::API::_call (1313) Returning cached data for me
  164. [18-04-22 10:34:45.2401] Plugins::Spotty::API::_call (1314) {
  165. country => "GB",
  166. display_name => "**removed**",
  167. external_urls => { spotify => "https://open.spotify.com/user/*removed*" },
  168. followers => { href => undef, total => 0 },
  169. href => "https://api.spotify.com/v1/users/*removed*",
  170. id => 119_145_008,
  171. images => [
  172. {
  173. height => undef,
  174. 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",
  175. width => undef,
  176. },
  177. ],
  178. product => "premium",
  179. type => "user",
  180. uri => "spotify:user:*removed*",
  181. }
Advertisement
Add Comment
Please, Sign In to add comment