Thanks ronnie for adding the link. It is a general article about setting up an ufw firewall on Debian 11, and it is now clear to me that ports 6000 to 6007 have no relation with Spotify Connect functionality. And FYI, I can connect to my SB Boom when using the Spotify Desktop app on my desktop PC, with firewall enabled on my Linux Mint server that runs LMS with Spotty plugin.
Announcement
Collapse
No announcement yet.
[Announce] Spotty 4.0 - integrate local library with your Spotify collection (LMS 8+)
Collapse
X
-
For illustration some screenshots are shown below.
1. Screenshot of Spotify Desktop app on Windows PC. In this app the SB Boom is shown as device "On other networks". Note that the ESP Muse has the Spotify Connect function implemented in recent versions of the squeezelite-esp32 firmware, and does not rely on Spotty for this functionality.
2. Screenshot of Spotify Android app on Google Pixel 4a smartphone (Off topic: my Google Chromecast sometimes shows up and sometimes does not show up in the Spotify Android app)
3. Firewall settings on Linux Mint sever that runs LMS+Spotty plugin. Apparently it is not needed to open ports for Spotty Spotify Connect functionality.
Code:Status: active Logging: off Default: deny (incoming), allow (outgoing), disabled (routed) New profiles: skip To Action From -- ------ ---- 137,138/udp (Samba) ALLOW IN Anywhere 139,445/tcp (Samba) ALLOW IN Anywhere 3483/tcp ALLOW IN Anywhere 3483/udp ALLOW IN Anywhere 9000/tcp ALLOW IN Anywhere 9090/tcp ALLOW IN Anywhere 80/tcp ALLOW IN Anywhere 443/tcp ALLOW IN Anywhere 2049 ALLOW IN 192.168.178.19 22/tcp ALLOW IN Anywhere
Last edited by CJS; 2023-04-19, 21:06.| LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |Comment
-
-
I have an old iphone and thought I would install IPeng and IPeng Playback so I could use it as a squeezebox player. It works great, but I noticed something while playing Spotty.
LMS shows the playback as "1411kbps CBR, Ogg Vorbis (Spotify) (Converted to PCM)" when playing on the iphone, but "320k VBR, Ogg Vorbis (Spotify)" when playing on a SB Touch.
Is the iphone actually receiving and playing a cd quality file through the attached USB DAC, or am I being fooled (again).
Mike
Comment
-
I have an old iphone and thought I would install IPeng and IPeng Playback so I could use it as a squeezebox player. It works great, but I noticed something while playing Spotty.
LMS shows the playback as "1411kbps CBR, Ogg Vorbis (Spotify) (Converted to PCM)" when playing on the iphone, but "320k VBR, Ogg Vorbis (Spotify)" when playing on a SB Touch.
Is the iphone actually receiving and playing a cd quality file through the attached USB DAC, or am I being fooled (again).
Michael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)👍 1Comment
-
Hi everyone,
I am new with LMS. I have this situation. I set up the LMS in a docker container and installed picoreplayer on a raspberry pi. in order to stream from spotify on the LMS I installed the Spotty plugin (v 4.8.8). Unfortunately, the player did not show up automatically in the spotify app and I had to add an account manually. Since I don't use the streamer exclusively myself I also added my wife's account. I selected the name of the player to run in spotify connect. Currently it looks like this: audio works, from the LMS I can play music from my account or my wife's account. The problem arises when I want to play music directly from the spotify app. Device appears only on that app whose account I select in LMS. For example, I select my wife's account in the LMS, in her phone app it appears to select the device, in my app on my phone it no longer appears. If I select my account in the LMS the same thing happens, in my app it appears, in her it no longer appears. Is this normal and is this how it works? There is no way that the option to select a device appears simultaneously in my app and in hers, and depending on who wants to play music then they have this option without having to select an account in the LMS?
Thanks in advance for your answer and sorry for my English.
---------------
Ok, I found the solution in another topic. "Host" mode in docker is required.
Last edited by harashoo; 2023-07-11, 19:57.Comment
-
Hi everyone,
I am new with LMS. I have this situation. I set up the LMS in a docker container and installed picoreplayer on a raspberry pi. in order to stream from spotify on the LMS I installed the Spotty plugin (v 4.8.8). Unfortunately, the player did not show up automatically in the spotify app and I had to add an account manually. Since I don't use the streamer exclusively myself I also added my wife's account. I selected the name of the player to run in spotify connect. Currently it looks like this: audio works, from the LMS I can play music from my account or my wife's account. The problem arises when I want to play music directly from the spotify app. Device appears only on that app whose account I select in LMS. For example, I select my wife's account in the LMS, in her phone app it appears to select the device, in my app on my phone it no longer appears. If I select my account in the LMS the same thing happens, in my app it appears, in her it no longer appears. Is this normal and is this how it works? There is no way that the option to select a device appears simultaneously in my app and in hers, and depending on who wants to play music then they have this option without having to select an account in the LMS?
Thanks in advance for your answer and sorry for my English.
---------------
Ok, I found the solution in another topic. "Host" mode in docker is required.
In case it might be usefull, hereby a chunk of my server.log:
Code:[23-07-14 19:10:44.3220] main::init (377) Starting Logitech Media Server (v8.3.2, 1684876716, Tue May 23 23:55:07 CEST 2023) perl 5.032001 - x86_64-linux-gnu-thread-multi [23-07-14 19:10:44.8551] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: spotify://connect-1689275501365 found in playlist: file:///config/prefs/clientplaylist_0200c21e2eb0.m3u doesn't exist on disk - skipping! [23-07-14 19:10:44.8556] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: file:///music/spotify:/connect-1689275501365 found in playlist: file:///config/prefs/clientplaylist_0200c21e2eb0.m3u doesn't exist on disk - skipping! [23-07-14 19:10:44.8581] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: spotify://connect-1689349006541 found in playlist: file:///config/prefs/clientplaylist_0200e3219012.m3u doesn't exist on disk - skipping! [23-07-14 19:10:44.8585] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: file:///music/spotify:/connect-1689349006541 found in playlist: file:///config/prefs/clientplaylist_0200e3219012.m3u doesn't exist on disk - skipping! [23-07-14 19:23:05.0752] main::init (377) Starting Logitech Media Server (v8.3.2, 1684876716, Tue May 23 23:55:07 CEST 2023) perl 5.032001 - x86_64-linux-gnu-thread-multi [23-07-14 19:23:07.2659] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: spotify://connect-1689349006541 found in playlist: file:///config/prefs/clientplaylist_0200e3219012.m3u doesn't exist on disk - skipping! [23-07-14 19:23:07.2663] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: file:///music/spotify:/connect-1689349006541 found in playlist: file:///config/prefs/clientplaylist_0200e3219012.m3u doesn't exist on disk - skipping! [23-07-14 19:23:07.2685] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: spotify://connect-1689275501365 found in playlist: file:///config/prefs/clientplaylist_0200c21e2eb0.m3u doesn't exist on disk - skipping! [23-07-14 19:23:07.2688] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: file:///music/spotify:/connect-1689275501365 found in playlist: file:///config/prefs/clientplaylist_0200c21e2eb0.m3u doesn't exist on disk - skipping! [23-07-14 19:31:45.0277] Slim::Utils::Timers::__ANON__ (272) Error: Timer Plugins::Spotty::Connect::__ANON__ failed: [23-07-14 20:23:34.6801] Plugins::Spotty::Settings::Auth::handler (83) Autorisatie mislukt: [23-07-14 20:23:52.1570] Plugins::Spotty::API::__ANON__ (1448) API call: users/blabla.bla%40yahoo.com [23-07-14 20:23:52.1572] Plugins::Spotty::API::__ANON__ (1452) error: 400 Bad Request
Last edited by Videopac; 2023-07-14, 20:31.2x Touch, working on a Odroid-C2/Soekris-DAC/Hypex-Ncore all-in-one solution.Comment
-
Failed to get spotty working:
Logitech Media Server Version: 8.3.1 - 1676361197 @ Fri 17 Feb 2023 06:37:09 AM CET
Hostname: LMS
Server IP Address: 192.168.40.37
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: x86_64-linux
Spotify client on IOS An windows shows my squeezebox devices.
Server log
[23-07-19 12:07:04.7823] Plugins::Spotty::Connect:aemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[23-07-19 12:07:04.7827] Plugins::Spotty::Connect:aemonManager::initHelpers (122) This is the sync group's master, or a standalone player with Spotify Connect enabled: dc:a6:32:3d:6e:48
[23-07-19 12:07:04.7830] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: aa:aa:67:ce:37:f8
[23-07-19 12:07:04.7832] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: aa:aa:3c:51:d6:a9
[23-07-19 12:07:04.7835] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: aa:aa:0f:c8:cc:00
[23-07-19 12:07:04.7837] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: aa:aa:15:08:af:32
[23-07-19 12:07:04.7839] Plugins::Spotty::Connect:aemonManager::initHelpers (122) This is the sync group's master, or a standalone player with Spotify Connect enabled: 00:c0:ca:b0:43:fc
[23-07-19 12:07:04.7842] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: aa:aa:c1:7b:03:67
[23-07-19 12:07:21.1449] Plugins::Spotty::Connect::_connectEvent (371) Got called from spotty helper for dc:a6:32:3d:6e:48: start
[23-07-19 12:07:21.1454] Plugins::Spotty::API::Token::get (226) Didn't find cached token. Need to refresh.
[23-07-19 12:07:21.1459] Plugins::Spotty::API::Token::_logCommand (155) Trying to get access token: "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64" -n "Squeezebox" -c "/var/lib/squeezeboxserver/cache/spotty/dca6323d6e48" -i "0c595b86e5bb43a89b3a8aa8170f1e15" --disable-discovery --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" --save-token "/tmp/spt-FIOzf2Y7"
[23-07-19 12:07:21.1526] Plugins::Spotty::API::Token::get (226) Didn't find cached token. Need to refresh.
[23-07-19 12:07:21.2282] Plugins::Spotty::Connect::_connectEvent (371) Got called from spotty helper for 00:c0:ca:b0:43:fc: stop
[23-07-19 12:07:21.2299] Plugins::Spotty::API::Token::get (226) Didn't find cached token. Need to refresh.
[23-07-19 12:07:21.2309] Plugins::Spotty::API::Token::_logCommand (155) Trying to get access token: "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64" -n "Squeezebox" -c "/var/lib/squeezeboxserver/cache/spotty/00c0cab043fc" -i "0c595b86e5bb43a89b3a8aa8170f1e15" --disable-discovery --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" --save-token "/tmp/spt-dLcGtCAE"
[23-07-19 12:07:21.2356] Plugins::Spotty::API::Token::get (226) Didn't find cached token. Need to refresh.
[23-07-19 12:07:21.6438] Plugins::Spotty::Connect::_connectEvent (371) Got called from spotty helper for dc:a6:32:3d:6e:48: stop
[23-07-19 12:07:21.6446] Plugins::Spotty::API::Token::get (226) Didn't find cached token. Need to refresh.
[23-07-19 12:07:21.6454] Plugins::Spotty::API::Token::_logCommand (155) Trying to get access token: "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64" -n "Squeezebox" -c "/var/lib/squeezeboxserver/cache/spotty/dca6323d6e48" -i "0c595b86e5bb43a89b3a8aa8170f1e15" --disable-discovery --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" --save-token "/tmp/spt-T5AQT4R7"
[23-07-19 12:07:21.6497] Plugins::Spotty::API::Token::get (226) Didn't find cached token. Need to refresh.
[23-07-19 12:07:23.1477] Plugins::Spotty::Connect::_connectEvent (371) Got called from spotty helper for dc:a6:32:3d:6e:48: volume
[23-07-19 12:07:23.1486] Plugins::Spotty::API::Token::get (226) Didn't find cached token. Need to refresh.
[23-07-19 12:07:23.1499] Plugins::Spotty::API::Token::_logCommand (155) Trying to get access token: "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64" -n "Squeezebox" -c "/var/lib/squeezeboxserver/cache/spotty/dca6323d6e48" -i "0c595b86e5bb43a89b3a8aa8170f1e15" --disable-discovery --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" --save-token "/tmp/spt-r5GpyCXk"
[23-07-19 12:07:23.1533] Plugins::Spotty::Connect::_connectEvent (388) Ignoring volume reset to 49
[23-07-19 12:07:23.1590] Plugins::Spotty::Connect::_connectEvent (371) Got called from spotty helper for dc:a6:32:3d:6e:48: change
[23-07-19 12:07:23.1603] Plugins::Spotty::API::Token::get (226) Didn't find cached token. Need to refresh.
[23-07-19 12:07:23.1611] Plugins::Spotty::API::Token::_logCommand (155) Trying to get access token: "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64" -n "Squeezebox" -c "/var/lib/squeezeboxserver/cache/spotty/dca6323d6e48" -i "0c595b86e5bb43a89b3a8aa8170f1e15" --disable-discovery --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" --save-token "/tmp/spt-6EIgCE0j"
[23-07-19 12:07:23.1655] Plugins::Spotty::API::Token::get (226) Didn't find cached token. Need to refresh.
[23-07-19 12:07:36.1478] Plugins::Spotty::API::Token::_killTokenHelper (201) Timed out waiting for a token
[23-07-19 12:07:36.1495] Plugins::Spotty::Connect::__ANON__ (413) Current Connect state:
(
{ name => "Failed to get access token", progress => 0, type => "text" },
"start",
)
[23-07-19 12:07:36.1499] Plugins::Spotty::Connect::__ANON__ (434) Unknown command called? start
{ name => "Failed to get access token", progress => 0, type => "text" }
[23-07-19 12:07:36.2332] Plugins::Spotty::API::Token::_killTokenHelper (201) Timed out waiting for a token
[23-07-19 12:07:36.2340] Plugins::Spotty::Connect::__ANON__ (413) Current Connect state:
(
{ name => "Failed to get access token", progress => 0, type => "text" },
"stop",
)
[23-07-19 12:07:36.2344] Plugins::Spotty::Connect::__ANON__ (434) Unknown command called? stop
{ name => "Failed to get access token", progress => 0, type => "text" }
[23-07-19 12:07:36.6478] Plugins::Spotty::API::Token::_killTokenHelper (201) Timed out waiting for a token
[23-07-19 12:07:36.6484] Plugins::Spotty::Connect::__ANON__ (413) Current Connect state:
(
{ name => "Failed to get access token", progress => 0, type => "text" },
"stop",
)
[23-07-19 12:07:36.6487] Plugins::Spotty::Connect::__ANON__ (434) Unknown command called? stop
{ name => "Failed to get access token", progress => 0, type => "text" }
[23-07-19 12:07:38.1524] Plugins::Spotty::API::Token::_killTokenHelper (201) Timed out waiting for a token
[23-07-19 12:07:38.1630] Plugins::Spotty::API::Token::_killTokenHelper (201) Timed out waiting for a token
[23-07-19 12:07:38.1634] Plugins::Spotty::Connect::__ANON__ (413) Current Connect state:
(
{ name => "Failed to get access token", progress => 0, type => "text" },
"change",
)
Any ideas? What am I missing?
Thanks in advance
Players: 2* Pi 4B Allo Digione Signature with 7", 1* Allo BOSS2 DAC, 2* Pi 2B Pi2Media 502DAC with 7", 4* SB Radio, Sonos Port, Yamaha WXAD-10
PSU: 3* Shanti LPS Dual, 2* Customised Talema transformer Linear PSU, OEM
Server: Logitech Media Server Version: 8.3.x on Debian 11.6.x on ESXi 5.1 on custom build server
NAS: Synology DS1618+
Remotes: iPeng8, Squeezepad
Music: iTunes (ALAC)
Hifi: Multiple Cyrus systems. Main system: DAC XP+ & PSX-R2, AV Master 8.0, 3* Mono X200, X-Power, Piega 50Comment
-
Are you running any kind of firewall? Make sure it doesn't block any of the following going out: 4070 (AP), 443, 80, 5353/UDP.
And disable the fallback option.
Michael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)Comment
-
Players: 2* Pi 4B Allo Digione Signature with 7", 1* Allo BOSS2 DAC, 2* Pi 2B Pi2Media 502DAC with 7", 4* SB Radio, Sonos Port, Yamaha WXAD-10
PSU: 3* Shanti LPS Dual, 2* Customised Talema transformer Linear PSU, OEM
Server: Logitech Media Server Version: 8.3.x on Debian 11.6.x on ESXi 5.1 on custom build server
NAS: Synology DS1618+
Remotes: iPeng8, Squeezepad
Music: iTunes (ALAC)
Hifi: Multiple Cyrus systems. Main system: DAC XP+ & PSX-R2, AV Master 8.0, 3* Mono X200, X-Power, Piega 50Comment
-
Players: 2* Pi 4B Allo Digione Signature with 7", 1* Allo BOSS2 DAC, 2* Pi 2B Pi2Media 502DAC with 7", 4* SB Radio, Sonos Port, Yamaha WXAD-10
PSU: 3* Shanti LPS Dual, 2* Customised Talema transformer Linear PSU, OEM
Server: Logitech Media Server Version: 8.3.x on Debian 11.6.x on ESXi 5.1 on custom build server
NAS: Synology DS1618+
Remotes: iPeng8, Squeezepad
Music: iTunes (ALAC)
Hifi: Multiple Cyrus systems. Main system: DAC XP+ & PSX-R2, AV Master 8.0, 3* Mono X200, X-Power, Piega 50Comment
-
HI there.
Ive used LMS in Docker and Spotty before and everything worked fine until a few weeks ago. I made a new install to latest firmware (8.3.1 and 4.8.8 respectively) but cannot autenticate anymore. I dont believe I've changed anything in my network...
LMS Docker 8.3.1
Synology 916+
Spotty 4.8.8
helper x64 1.3
tried authenticating with spotify ap (automatic authentication) and in the LMS settings page with Username/PW.
Log automatic authentication:
[23-07-24 11:02:34.5867] Plugins::Spotty::Connect:aemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[23-07-24 11:02:34.5873] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:49:9d:ca
[23-07-24 11:02:34.5877] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: 00:00:00:00:00:00
[23-07-24 11:02:34.5880] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:26:40:9b
[23-07-24 11:03:34.5922] Plugins::Spotty::Connect:aemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[23-07-24 11:03:34.5929] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:49:9d:ca
[23-07-24 11:03:34.5935] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: 00:00:00:00:00:00
[23-07-24 11:03:34.5941] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:26:40:9b
[23-07-24 11:04:34.5959] Plugins::Spotty::Connect:aemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[23-07-24 11:04:34.5966] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:49:9d:ca
[23-07-24 11:04:34.5972] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: 00:00:00:00:00:00
[23-07-24 11:04:34.5977] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:26:40:9b
[23-07-24 11:05:34.5986] Plugins::Spotty::Connect:aemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[23-07-24 11:05:34.5990] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:49:9d:ca
[23-07-24 11:05:34.5995] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: 00:00:00:00:00:00
[23-07-24 11:05:34.5998] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:26:40:9b
[23-07-24 11:06:15.1244] Plugins::Spotty::AccountHelper::renameCacheFolder (147) Trying to rename __AUTHENTICATE__ to
[23-07-24 11:06:15.1248] Plugins::Spotty::AccountHelper::renameCacheFolder (149) Error: No newId found in '__AUTHENTICATE__'
[23-07-24 11:06:15.1255] Plugins::Spotty::AccountHelper::renameCacheFolder (149) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/config/cache/InstalledPlugins/Plugins/Spotty/AccountHelper.pm line 149)
frame 1: Plugins::Spotty::AccountHelper::renameCacheFolder (/config/cache/InstalledPlugins/Plugins/Spotty/Settings/Auth.pm line 187)
frame 2: Plugins::Spotty::Settings::Auth::cleanup (/config/cache/InstalledPlugins/Plugins/Spotty/Settings.pm line 61)
frame 3: Plugins::Spotty::Settings::handler (/lms/Slim/Web/HTTP.pm line 1168)
frame 4: Slim::Web::HTTP::generateHTTPResponse (/lms/Slim/Web/HTTP.pm line 933)
frame 5: Slim::Web::HTTP:rocessURL (/lms/Slim/Web/HTTP.pm line 728)
frame 6: Slim::Web::HTTP:rocessHTTP (/lms/Slim/Networking/IO/Select.pm line 122)
frame 7: (eval) (/lms/Slim/Networking/IO/Select.pm line 118)
frame 8: Slim::Networking::IO::Select::__ANON__ (/lms/Slim/Networking/IO/Select.pm line 167)
frame 9: (eval) (/lms/Slim/Networking/IO/Select.pm line 167)
frame 10: Slim::Networking::IO::Select::loop (/lms/slimserver.pl line 721)
frame 11: main::idle (/lms/slimserver.pl line 671)
frame 12: main::main (/lms/slimserver.pl line 1210)
[23-07-24 11:06:15.2139] Plugins::Spotty::AccountHelper::renameCacheFolder (147) Trying to rename __AUTHENTICATE__ to
[23-07-24 11:06:15.2145] Plugins::Spotty::AccountHelper::renameCacheFolder (149) Error: No newId found in '__AUTHENTICATE__'
[23-07-24 11:06:15.2152] Plugins::Spotty::AccountHelper::renameCacheFolder (149) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/config/cache/InstalledPlugins/Plugins/Spotty/AccountHelper.pm line 149)
frame 1: Plugins::Spotty::AccountHelper::renameCacheFolder (/config/cache/InstalledPlugins/Plugins/Spotty/Settings/Auth.pm line 187)
frame 2: Plugins::Spotty::Settings::Auth::cleanup (/config/cache/InstalledPlugins/Plugins/Spotty/Settings.pm line 61)
frame 3: Plugins::Spotty::Settings::handler (/lms/Slim/Web/HTTP.pm line 1168)
frame 4: Slim::Web::HTTP::generateHTTPResponse (/lms/Slim/Web/HTTP.pm line 933)
frame 5: Slim::Web::HTTP:rocessURL (/lms/Slim/Web/HTTP.pm line 728)
frame 6: Slim::Web::HTTP:rocessHTTP (/lms/Slim/Networking/IO/Select.pm line 122)
frame 7: (eval) (/lms/Slim/Networking/IO/Select.pm line 118)
frame 8: Slim::Networking::IO::Select::__ANON__ (/lms/Slim/Networking/IO/Select.pm line 167)
frame 9: (eval) (/lms/Slim/Networking/IO/Select.pm line 167)
frame 10: Slim::Networking::IO::Select::loop (/lms/slimserver.pl line 721)
frame 11: main::idle (/lms/slimserver.pl line 671)
frame 12: main::main (/lms/slimserver.pl line 1210)
[23-07-24 11:06:15.2439] Plugins::Spotty::AccountHelper::renameCacheFolder (147) Trying to rename __AUTHENTICATE__ to
[23-07-24 11:06:15.2443] Plugins::Spotty::AccountHelper::renameCacheFolder (149) Error: No newId found in '__AUTHENTICATE__'
[23-07-24 11:06:15.2448] Plugins::Spotty::AccountHelper::renameCacheFolder (149) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/config/cache/InstalledPlugins/Plugins/Spotty/AccountHelper.pm line 149)
frame 1: Plugins::Spotty::AccountHelper::renameCacheFolder (/config/cache/InstalledPlugins/Plugins/Spotty/Settings/Auth.pm line 187)
frame 2: Plugins::Spotty::Settings::Auth::cleanup (/config/cache/InstalledPlugins/Plugins/Spotty/Settings.pm line 61)
frame 3: Plugins::Spotty::Settings::handler (/lms/Slim/Web/HTTP.pm line 1168)
frame 4: Slim::Web::HTTP::generateHTTPResponse (/lms/Slim/Web/HTTP.pm line 933)
frame 5: Slim::Web::HTTP:rocessURL (/lms/Slim/Web/HTTP.pm line 728)
frame 6: Slim::Web::HTTP:rocessHTTP (/lms/Slim/Networking/IO/Select.pm line 122)
frame 7: (eval) (/lms/Slim/Networking/IO/Select.pm line 118)
frame 8: Slim::Networking::IO::Select::__ANON__ (/lms/Slim/Networking/IO/Select.pm line 167)
frame 9: (eval) (/lms/Slim/Networking/IO/Select.pm line 167)
frame 10: Slim::Networking::IO::Select::loop (/lms/slimserver.pl line 721)
frame 11: main::idle (/lms/slimserver.pl line 671)
frame 12: main::main (/lms/slimserver.pl line 1210)
[23-07-24 11:06:15.3296] Plugins::Spotty::Settings::Auth::startHelper (163) Starting Spotty Connect deamon:
/config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 -c /config/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (lmscommunity-logitechmediaserver1) -a --ap-port=12321
[23-07-24 11:06:15.3382] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[23-07-24 11:06:15.3617] Plugins::Spotty::Helper::_findBin (195) Found helper application: /config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[23-07-24 11:06:15.3629] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
[23-07-24 11:06:15.3773] Plugins::Spotty::Helper::_findBin (195) Found helper application: /config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
[23-07-24 11:06:33.7395] Plugins::Spotty::Settings::Auth::startHelper (163) Starting Spotty Connect deamon:
/config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 -c /config/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (lmscommunity-logitechmediaserver1) -a --ap-port=12321
[23-07-24 11:06:34.6015] Plugins::Spotty::Connect:aemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[23-07-24 11:06:34.6023] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:49:9d:ca
[23-07-24 11:06:34.6026] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: 00:00:00:00:00:00
[23-07-24 11:06:34.6029] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:26:40:9b
[23-07-24 11:07:34.6038] Plugins::Spotty::Connect:aemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[23-07-24 11:07:34.6044] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:49:9d:ca
[23-07-24 11:07:34.6047] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: 00:00:00:00:00:00
[23-07-24 11:07:34.6050] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:26:40:9b
[23-07-24 11:07:40.0887] Plugins::Spotty::Settings::Auth::startHelper (163) Starting Spotty Connect deamon:
/config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 -c /config/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (lmscommunity-logitechmediaserver1) -a --ap-port=12321
[23-07-24 11:08:34.6060] Plugins::Spotty::Connect:aemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[23-07-24 11:08:34.6066] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:49:9d:ca
[23-07-24 11:08:34.6069] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: 00:00:00:00:00:00
[23-07-24 11:08:34.6072] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:26:40:9b
[23-07-24 11:09:13.0040] Plugins::Spotty::Importer::needsUpdate (363) Checking Spotify library state...
[23-07-24 11:09:34.6104] Plugins::Spotty::Connect:aemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[23-07-24 11:09:34.6112] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:49:9d:ca
[23-07-24 11:09:34.6119] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: 00:00:00:00:00:00
[23-07-24 11:09:34.6125] Plugins::Spotty::Connect:aemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: b8:27:eb:26:40:9b
authentication with username/PW:
[23-07-24 11:23:46.1483] Plugins::Spotty::Settings::Auth::startHelper (163) Starting Spotty Connect deamon:
/config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 -c /config/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (lmscommunity-logitechmediaserver1) -a --ap-port=12321
[23-07-24 11:23:46.1569] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[23-07-24 11:23:46.2152] Plugins::Spotty::Helper::_findBin (195) Found helper application: /config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[23-07-24 11:23:46.2165] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
[23-07-24 11:23:46.2311] Plugins::Spotty::Helper::_findBin (195) Found helper application: /config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
[23-07-24 11:24:04.1550] Plugins::Spotty::Settings::Auth::handler (69) Trying to authenticate using: "/config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64" -c "/config/cache/spotty/__AUTHENTICATE__" -n "Spotify Authorization (lmscommunity-logitechmediaserver1)" -u "jnrmr" -p "********" -a --disable-discovery --ap-port 12321 --verbose
any suggestion how to fix this appriciated.
Comment
-
4070 TCP/UDP
443 TCP
80 TCP
5353 UDP
[23-07-24 16:44:41.1969] Plugins::Spotty::API::Token::_gotTokenInfo (168) Got response: {"error":"Failed to get access token."}
[23-07-24 16:44:41.1971] Plugins::Spotty::API::Token::_gotTokenInfo (187) Failed to get access token.
[23-07-24 16:44:41.1984] Plugins::Spotty::Connect::__ANON__ (413) Current Connect state:
(
{ name => "Failed to get access token", progress => 0, type => "text" },
"change",
)
[23-07-24 16:44:41.2098] Plugins::Spotty::API::Token::_gotTokenInfo (168) Got response: {"error":"Failed to get access token."}
[23-07-24 16:44:41.2100] Plugins::Spotty::API::Token::_gotTokenInfo (187) Failed to get access token.
[23-07-24 16:44:41.2104] Plugins::Spotty::Connect::__ANON__ (413) Current Connect state:
(
{ name => "Failed to get access token", progress => 0, type => "text" },
"stop",Players: 2* Pi 4B Allo Digione Signature with 7", 1* Allo BOSS2 DAC, 2* Pi 2B Pi2Media 502DAC with 7", 4* SB Radio, Sonos Port, Yamaha WXAD-10
PSU: 3* Shanti LPS Dual, 2* Customised Talema transformer Linear PSU, OEM
Server: Logitech Media Server Version: 8.3.x on Debian 11.6.x on ESXi 5.1 on custom build server
NAS: Synology DS1618+
Remotes: iPeng8, Squeezepad
Music: iTunes (ALAC)
Hifi: Multiple Cyrus systems. Main system: DAC XP+ & PSX-R2, AV Master 8.0, 3* Mono X200, X-Power, Piega 50Comment
-
What does "Host" mode in Docker mean? I'm struggling a lot since I need to use Docker to run LMS. At the moment everything runs fine except Spotty/Spotify => low WAF. I've tried everything but the Spotify app refuses to see my players. Everything works fine in iPeng, though.
In case it might be usefull, hereby a chunk of my server.log:
Code:[23-07-14 19:10:44.3220] main::init (377) Starting Logitech Media Server (v8.3.2, 1684876716, Tue May 23 23:55:07 CEST 2023) perl 5.032001 - x86_64-linux-gnu-thread-multi [23-07-14 19:10:44.8551] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: spotify://connect-1689275501365 found in playlist: file:///config/prefs/clientplaylist_0200c21e2eb0.m3u doesn't exist on disk - skipping! [23-07-14 19:10:44.8556] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: file:///music/spotify:/connect-1689275501365 found in playlist: file:///config/prefs/clientplaylist_0200c21e2eb0.m3u doesn't exist on disk - skipping! [23-07-14 19:10:44.8581] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: spotify://connect-1689349006541 found in playlist: file:///config/prefs/clientplaylist_0200e3219012.m3u doesn't exist on disk - skipping! [23-07-14 19:10:44.8585] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: file:///music/spotify:/connect-1689349006541 found in playlist: file:///config/prefs/clientplaylist_0200e3219012.m3u doesn't exist on disk - skipping! [23-07-14 19:23:05.0752] main::init (377) Starting Logitech Media Server (v8.3.2, 1684876716, Tue May 23 23:55:07 CEST 2023) perl 5.032001 - x86_64-linux-gnu-thread-multi [23-07-14 19:23:07.2659] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: spotify://connect-1689349006541 found in playlist: file:///config/prefs/clientplaylist_0200e3219012.m3u doesn't exist on disk - skipping! [23-07-14 19:23:07.2663] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: file:///music/spotify:/connect-1689349006541 found in playlist: file:///config/prefs/clientplaylist_0200e3219012.m3u doesn't exist on disk - skipping! [23-07-14 19:23:07.2685] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: spotify://connect-1689275501365 found in playlist: file:///config/prefs/clientplaylist_0200c21e2eb0.m3u doesn't exist on disk - skipping! [23-07-14 19:23:07.2688] Slim::Formats::Playlists::Base::playlistEntryIsValid (125) Warning: file:///music/spotify:/connect-1689275501365 found in playlist: file:///config/prefs/clientplaylist_0200c21e2eb0.m3u doesn't exist on disk - skipping! [23-07-14 19:31:45.0277] Slim::Utils::Timers::__ANON__ (272) Error: Timer Plugins::Spotty::Connect::__ANON__ failed: [23-07-14 20:23:34.6801] Plugins::Spotty::Settings::Auth::handler (83) Autorisatie mislukt: [23-07-14 20:23:52.1570] Plugins::Spotty::API::__ANON__ (1448) API call: users/blabla.bla%40yahoo.com [23-07-14 20:23:52.1572] Plugins::Spotty::API::__ANON__ (1452) error: 400 Bad Request
Comment
-
Spotty issue: Display and Playback of albums with missing tracks
(I am not sure if this issue has been discussed before on this forum. If so my apologies)
Since a few months I have a Spotify subscription and use Spotty to play albums an tracks on my squeezebox players. I recently discovered that there are several albums on Spotify with missing tracks. I am not sure why, but I guess that either the artist or the record company has not given permission to Spotify to stream these tracks from Spotify. Or maybe the record company wants to stimulate listeners to buy the full album from them.
When I play such albums with missing tracks on my phone using the Android Spotify app, the tracks that are missing are grayed out, and are automatically skipped when playing back the album on my phone or when using Spotify Connect.
=> The issue is that when I play such albums on my Squeezebox players using Spotty (using LMS Material skin as controller), the missing tracks are not identified as missing in the LMS playlist, and playback of the album is interrupted when the first missing track is reached in the playlist. In first instance I thought there was a playback issue with Spotty, but only after looking at the album in the Spotify app on my Android phone I could see that the album has missing tracks. LMS only continues with playing the next (non missing) track after hitting the "next track" button in LMS material.
The problem is illustrated in the picture below. The album with missing tracks in this example is the album "Deja Vu" from Crosby, Stills, Nash and Young. This album has 10 tracks, but 4 of them (tracks 4, 5, 9 and 10) are not available on Spotify. The missing tracks are still included in the LMS playlist, and in LMS it cannot be seen that these tracks are not available, see left side of the picture. The right side of the picture shows how the album is displayed in the Spotify app on Android. The missing tracks are grayed out in the track list (in this example track 4 "Helpless" and track 5 "Woodstock"), and when playing the album with the Android Spotify app, the missing tracks are automatically skipped.
=> My question is if it would be possible to modify Spotty such that:1) missing tracks are identified and 2) missing tracks are automatically skipped such that playback is not stopped when a missing track is reached. Thanks in advance for your attention.
Last edited by CJS; 2023-08-05, 12:54.| LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |Comment
Comment