[GH-ISSUE #1260] Home screen empty #578

Closed
opened 2026-02-27 19:31:22 +03:00 by kerem · 1 comment
Owner

Originally created by @cayco on GitHub (Mar 6, 2024).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1260

Describe the bug
I had working Spotty instalation on my LMS however a fefw days ago my Spotify Home screen became empty
CleanShot 2024-03-06 at 09 09 21@2x

There is 404 error while trying to grab https://api.spotify.com/v1/views/desktop-home?content_limit=20&country=PL&limit=20&locale=pl_PL&timestamp=2024-03-06T07%3A00%3A00&types=album%2Cplaylist%2Cartist%2Cshow%2Cstation however I think it eventually is able to read smth from the cache. I can't make much from logs so I' also attaching full file, with enable DEBUG at the end of a session (token and username were edited by hand later).

I can reproduce that on a fresh LMS installation, just by login to my account. All other pllaylists work OK. Original app works OK.

To reproduce
Steps to reproduce the behavior:

  1. Fresh install LMS, add Spotty plugin, login to Spotify account
  2. Open Spotty app on LMS
  3. Click Home
  4. See error

Log


[24-03-06 07:06:53.5065] Plugins::Spotty::AccountHelper::renameCacheFolder (134) Trying to rename __AUTHENTICATE__ to 
[24-03-06 07:06:53.5069] Plugins::Spotty::API::Web::__ANON__ (268) Web API call: https://api.spotify.com/v1/views/desktop-home?content_limit=20&country=PL&limit=20&locale=pl_PL&timestamp=2024-03-06T07%3A00%3A00&types=album%2Cplaylist%2Cartist%2Cshow%2Cstation
[24-03-06 07:06:53.6193] Plugins::Spotty::API::Web::__ANON__ (255) error: 404 Not Found
[24-03-06 07:06:53.6194] Plugins::Spotty::API::Web::__ANON__ (257) undef
[24-03-06 07:06:53.6201] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[24-03-06 07:06:53.6224] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[24-03-06 07:06:53.6226] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
[24-03-06 07:06:53.6249] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
[24-03-06 07:07:20.0983] Plugins::Spotty::AccountHelper::renameCacheFolder (134) Trying to rename __AUTHENTICATE__ to 
[24-03-06 07:07:20.0985] Plugins::Spotty::Connect::DaemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[24-03-06 07:07:20.0986] Plugins::Spotty::Connect::DaemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: aa:aa:87:73:96:1c
[24-03-06 07:07:20.0988] Plugins::Spotty::AccountHelper::renameCacheFolder (134) Trying to rename __AUTHENTICATE__ to 
[24-03-06 07:07:20.0990] Plugins::Spotty::API::Web::home (45) Returning cached Home menu structure for c4yc00 (2420799149243210645)
[24-03-06 07:07:20.0996] Plugins::Spotty::Connect::DaemonManager::__ANON__ (70) Discovery mode for Connect has changed - re-initialize Connect helpers
[24-03-06 07:07:20.1001] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[24-03-06 07:07:20.1020] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[24-03-06 07:07:20.1022] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
[24-03-06 07:07:20.1042] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
[24-03-06 07:07:21.0009] Plugins::Spotty::Connect::DaemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[24-03-06 07:07:21.0010] Plugins::Spotty::Connect::DaemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: aa:aa:87:73:96:1c
[24-03-06 07:07:22.8181] Plugins::Spotty::AccountHelper::renameCacheFolder (134) Trying to rename __AUTHENTICATE__ to 
[24-03-06 07:07:22.8183] Plugins::Spotty::AccountHelper::renameCacheFolder (134) Trying to rename __AUTHENTICATE__ to 
[24-03-06 07:07:22.8186] Plugins::Spotty::API::Web::home (45) Returning cached Home menu structure for c4yc00 (2420799149243210645)
[24-03-06 07:07:22.8302] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[24-03-06 07:07:22.8423] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[24-03-06 07:07:22.8428] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
[24-03-06 07:07:22.8541] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
[24-03-06 07:08:05.1119] Slim::Utils::ImageResizer::__ANON__ (67) daemon failed to connect: No such file or directory
[24-03-06 07:08:08.1359] Plugins::Spotty::API::__ANON__ (1352) Trying to read from cache for browse/featured-playlists?country=PL&limit=50&locale=pl_PL&timestamp=2024-03-06T07%3A00%3A00
[24-03-06 07:08:08.1361] Plugins::Spotty::API::__ANON__ (1361) API call: browse/featured-playlists?country=PL&limit=50&locale=pl_PL&timestamp=2024-03-06T07%3A00%3A00
[24-03-06 07:08:08.2426] Plugins::Spotty::API::__ANON__ (1420) Caching result for 60 (https://api.spotify.com/v1/browse/featured-playlists?country=PL&limit=50&locale=pl_PL&timestamp=2024-03-06T07%3A00%3A00)
[24-03-06 07:08:08.2475] Plugins::Spotty::API::Pipeline::_followOffset (166) There's more data to grab, queue them up: {
  50 => {
          _no_revalidate => 1,
          country        => "PL",
          limit          => 50,
          locale         => "pl_PL",
          offset         => 50,
          timestamp      => "2024-03-06T07:00:00",
        },
}

Host (what you are running librespot on):

  • OS: Linux Debian on dietPI, Spotty (v4.9.2), Logitech Media Server 8.5.0
  • Platform: RPi 4B but also on dietPI proxmox VM

Additional context
server 2.log.zip

Originally created by @cayco on GitHub (Mar 6, 2024). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1260 **Describe the bug** I had working Spotty instalation on my LMS however a fefw days ago my Spotify Home screen became empty ![CleanShot 2024-03-06 at 09 09 21@2x](https://github.com/librespot-org/librespot/assets/7169483/9e9c27e5-13ae-484c-ad75-8ca2949aefbf) There is 404 error while trying to grab ` https://api.spotify.com/v1/views/desktop-home?content_limit=20&country=PL&limit=20&locale=pl_PL&timestamp=2024-03-06T07%3A00%3A00&types=album%2Cplaylist%2Cartist%2Cshow%2Cstation` however I think it eventually is able to read smth from the cache. I can't make much from logs so I' also attaching full file, with enable DEBUG at the end of a session (token and username were edited by hand later). I can reproduce that on a fresh LMS installation, just by login to my account. All other pllaylists work OK. Original app works OK. **To reproduce** Steps to reproduce the behavior: 1. Fresh install LMS, add Spotty plugin, login to Spotify account 2. Open Spotty app on LMS 3. Click Home 4. See error **Log** ``` [24-03-06 07:06:53.5065] Plugins::Spotty::AccountHelper::renameCacheFolder (134) Trying to rename __AUTHENTICATE__ to [24-03-06 07:06:53.5069] Plugins::Spotty::API::Web::__ANON__ (268) Web API call: https://api.spotify.com/v1/views/desktop-home?content_limit=20&country=PL&limit=20&locale=pl_PL&timestamp=2024-03-06T07%3A00%3A00&types=album%2Cplaylist%2Cartist%2Cshow%2Cstation [24-03-06 07:06:53.6193] Plugins::Spotty::API::Web::__ANON__ (255) error: 404 Not Found [24-03-06 07:06:53.6194] Plugins::Spotty::API::Web::__ANON__ (257) undef [24-03-06 07:06:53.6201] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty [24-03-06 07:06:53.6224] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty [24-03-06 07:06:53.6226] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 [24-03-06 07:06:53.6249] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 [24-03-06 07:07:20.0983] Plugins::Spotty::AccountHelper::renameCacheFolder (134) Trying to rename __AUTHENTICATE__ to [24-03-06 07:07:20.0985] Plugins::Spotty::Connect::DaemonManager::initHelpers (92) Checking Spotty Connect helper daemons... [24-03-06 07:07:20.0986] Plugins::Spotty::Connect::DaemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: aa:aa:87:73:96:1c [24-03-06 07:07:20.0988] Plugins::Spotty::AccountHelper::renameCacheFolder (134) Trying to rename __AUTHENTICATE__ to [24-03-06 07:07:20.0990] Plugins::Spotty::API::Web::home (45) Returning cached Home menu structure for c4yc00 (2420799149243210645) [24-03-06 07:07:20.0996] Plugins::Spotty::Connect::DaemonManager::__ANON__ (70) Discovery mode for Connect has changed - re-initialize Connect helpers [24-03-06 07:07:20.1001] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty [24-03-06 07:07:20.1020] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty [24-03-06 07:07:20.1022] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 [24-03-06 07:07:20.1042] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 [24-03-06 07:07:21.0009] Plugins::Spotty::Connect::DaemonManager::initHelpers (92) Checking Spotty Connect helper daemons... [24-03-06 07:07:21.0010] Plugins::Spotty::Connect::DaemonManager::initHelpers (126) This is a standalone player with Spotify Connect disabled: aa:aa:87:73:96:1c [24-03-06 07:07:22.8181] Plugins::Spotty::AccountHelper::renameCacheFolder (134) Trying to rename __AUTHENTICATE__ to [24-03-06 07:07:22.8183] Plugins::Spotty::AccountHelper::renameCacheFolder (134) Trying to rename __AUTHENTICATE__ to [24-03-06 07:07:22.8186] Plugins::Spotty::API::Web::home (45) Returning cached Home menu structure for c4yc00 (2420799149243210645) [24-03-06 07:07:22.8302] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty [24-03-06 07:07:22.8423] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty [24-03-06 07:07:22.8428] Plugins::Spotty::Helper::_findBin (192) Trying helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 [24-03-06 07:07:22.8541] Plugins::Spotty::Helper::_findBin (195) Found helper application: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 [24-03-06 07:08:05.1119] Slim::Utils::ImageResizer::__ANON__ (67) daemon failed to connect: No such file or directory [24-03-06 07:08:08.1359] Plugins::Spotty::API::__ANON__ (1352) Trying to read from cache for browse/featured-playlists?country=PL&limit=50&locale=pl_PL&timestamp=2024-03-06T07%3A00%3A00 [24-03-06 07:08:08.1361] Plugins::Spotty::API::__ANON__ (1361) API call: browse/featured-playlists?country=PL&limit=50&locale=pl_PL&timestamp=2024-03-06T07%3A00%3A00 [24-03-06 07:08:08.2426] Plugins::Spotty::API::__ANON__ (1420) Caching result for 60 (https://api.spotify.com/v1/browse/featured-playlists?country=PL&limit=50&locale=pl_PL&timestamp=2024-03-06T07%3A00%3A00) [24-03-06 07:08:08.2475] Plugins::Spotty::API::Pipeline::_followOffset (166) There's more data to grab, queue them up: { 50 => { _no_revalidate => 1, country => "PL", limit => 50, locale => "pl_PL", offset => 50, timestamp => "2024-03-06T07:00:00", }, } ``` **Host (what you are running `librespot` on):** - OS: Linux Debian on dietPI, Spotty (v4.9.2), Logitech Media Server 8.5.0 - Platform: RPi 4B but also on dietPI proxmox VM **Additional context** [server 2.log.zip](https://github.com/librespot-org/librespot/files/14506827/server.2.log.zip)
kerem 2026-02-27 19:31:22 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@michaelherger commented on GitHub (Mar 6, 2024):

This is not a librespot issue. Please close this in favour of https://github.com/michaelherger/Spotty-Plugin/issues/117.

<!-- gh-comment-id:1980423687 --> @michaelherger commented on GitHub (Mar 6, 2024): This is not a librespot issue. Please close this in favour of https://github.com/michaelherger/Spotty-Plugin/issues/117.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#578
No description provided.