Spotify stops playing randomly or starts playing and changes music.

Max2Play Home Forums General Questions on Hardware and Max2Play Versions Spotify stops playing randomly or starts playing and changes music.

Viewing 18 posts - 1 through 18 (of 18 total)
  • 25. April 2020 at 16:42 #48617

    Hi,
    Congratulations for your awesome job!

    I have a clean install on three Raspberry Pi 4 and using multiroom and audio from the built-in jack. Music is randomly stopping or skipping to the next one when starting to play in Spotify. I’ve checked other issues reported in the forum, but none of those resolutions fixed my problem. I would appreciate your help! Probably it’s a newbie’s screw up!

    Thanks in advance!
    Goncalo

    28. April 2020 at 13:41 #48632

    Hi Goncalo,

    Thank you for the kind words. Let’s see if we can fix your problem.

    Which Max2Play version have you installed on the Pis? Do you use our Spotify Connect plugin or the Spotty plugin for the Squeezebox Server? Have you connected your devices to the Internet via LAN or WiFi?

    28. April 2020 at 19:03 #48651

    Hi Mario,

    here it goes:
    1 – Version 2.52
    2 – Spotify plugin for squeezebox server.
    3 – Device with server is connected by LAN. Others by Wifi.

    Best,
    Gonçalo

    29. April 2020 at 14:48 #48657

    Hi Goncalo,

    Could you connect your players via LAN for testing? If the problems still occur, we at least know that it is not the WiFi.

    29. April 2020 at 15:29 #48661

    Hi Mario,

    I have connected two of them by LAN. The third one is off as I don’t have enough cables. Still happens the same. I’ve selected a music to play and it started playing that music and approximately 30 to 45 seconds changed to the next one. Now it is playing from there. Seems to me having the same issues.

    Best,
    Gonçalo

    5. Mai 2020 at 13:38 #48693

    Hi Goncalo,

    Sorry for the late reply. Have you tested whether the problems also occur with other streams, for example internet radio or local music files?.

    5. Mai 2020 at 17:00 #48705

    Hi Mario,

    no worries! No, I haven’t tried any other service! Just music, YouTube and Netflix over Airplay on a single device without any problems.

    In the meantime I have:
    – uninstalled and re-installed spotty plugin in squeezebox server;
    – reduced audio settings to 160kbps in the plugin settings;
    – selected „Monitor the connection of the Spotty Connect helper with the Spotify servers. This can be useful if your Spotty Connect-enabled devices regularly disappear from the Spotify apps“, as sometimes I have to wait for the device to appear and then disappears again.

    The results were:
    – Music still stops randomly, but it only stops after a greater amount of time. It is a pretty good improvement for now;
    – Also, music changes didn’t happen again yet, so the „changing music problem“ seems solved.
    – Sometimes I still have to wait for the device to appear, then disappears again and can’t start to play. Sometimes it’s only one time, sometimes more… Seems random.

    At this point, I can’t really say what setting did what because it only got better when I did the last step, but maybe all of them together solved something.

    What I plan to do now:
    – reduce the audio settings to normal at 96kbps and see how it goes!

    Will get back to you as soon as it fails or in two days, hopefully, with everything sorted out! 🙂

    Best,
    Gonçalo

    5. Mai 2020 at 19:56 #48707

    Well Mario, that was fast!

    It still stops playing randomly. 🙁

    Gonçalo

    6. Mai 2020 at 13:52 #48710

    Hi Goncalo,

    Too bad that didn’t help. Please post the log of the Squeezebox Server here after your playback stops. You can find the log at Settings/Information.

    6. Mai 2020 at 15:38 #48718

    Hi Mario,
    here it goes:

    [20-05-06 11:09:16.3931] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/pause?device_id=c20411e8e7f70eb5fb6d64a87fdb23a0a16faa58
    [20-05-06 11:09:16.3939] Plugins::Spotty::API::__ANON__ (1419) error: 404 Not Found
    [20-05-06 11:39:29.9477] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: dc:a6:32:7a:40:a7 quartoAlegria, salaAlegria & cozinhaAlegria
    [20-05-06 11:44:12.4404] Plugins::Spotty::API::__ANON__ (1401) Invalid data
    [20-05-06 12:06:45.1200] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: dc:a6:32:7a:40:a7 quartoAlegria, salaAlegria & cozinhaAlegria
    [20-05-06 12:28:02.0361] Plugins::Spotty::API::__ANON__ (1401) Invalid data
    2020-05-06 12:30:01 squeezeboxserver_safe stopped.
    2020-05-06 12:30:09 squeezeboxserver_safe started.
    [20-05-06 12:30:14.3038] main::init (387) Starting Logitech Media Server (v7.9.3, 1586752599, Tue Apr 14 04:15:31 CEST 2020) perl 5.028001 - arm-linux-gnueabihf-thread-multi-64int
    [20-05-06 12:30:18.3196] Slim::Utils::IPDetect::_init (138) Warning: Couldn't call connect() - falling back to 127.0.0.1
    [20-05-06 12:30:18.4534] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 12:30:19.5180] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-06 12:30:26.4424] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 12:30:27.5126] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-06 12:30:34.2839] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 12:30:34.3509] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-06 12:30:36.4192] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
    [20-05-06 12:31:00.8714] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 12:31:01.2667] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    2020-05-06 12:31:47 squeezeboxserver_safe stopped.
    2020-05-06 12:31:47 squeezeboxserver_safe started.
    [20-05-06 12:31:49.7570] main::init (387) Starting Logitech Media Server (v7.9.3, 1586752599, Tue Apr 14 04:15:31 CEST 2020) perl 5.028001 - arm-linux-gnueabihf-thread-multi-64int
    [20-05-06 12:31:50.0224] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 12:31:50.0676] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-06 12:31:55.4532] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 12:31:55.5074] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-06 12:31:58.4329] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 12:31:58.4812] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-06 12:31:59.8378] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
    [20-05-06 12:32:08.1868] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 12:32:09.2162] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-06 12:39:00.9103] Plugins::Spotty::API::__ANON__ (1401) Invalid data
    [20-05-06 12:56:59.7185] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/pause?device_id=1a46519d3d817220de34a2c8c4f23b1cda8781db
    [20-05-06 12:56:59.7194] Plugins::Spotty::API::__ANON__ (1419) error: 404 Not Found
    [20-05-06 12:56:59.8597] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/pause?device_id=1a46519d3d817220de34a2c8c4f23b1cda8781db
    [20-05-06 12:56:59.8601] Plugins::Spotty::API::__ANON__ (1419) error: 404 Not Found
    [20-05-06 13:57:25.4300] main::init (387) Starting Logitech Media Server (v7.9.3, 1586752599, Tue Apr 14 04:15:31 CEST 2020) perl 5.028001 - arm-linux-gnueabihf-thread-multi-64int
    [20-05-06 13:57:25.7106] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 13:57:27.7532] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-06 13:57:29.4396] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 13:57:29.4923] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-06 13:57:32.4218] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 13:57:32.4690] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-06 13:57:33.8558] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
    [20-05-06 13:57:40.1027] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-06 13:57:40.4813] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-06 14:35:02.8961] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/pause?device_id=f78b360ad8e87bb015bcdd961858c0514aeeb7fd
    [20-05-06 14:35:02.8965] Plugins::Spotty::API::__ANON__ (1419) error: 404 Not Found
    [20-05-06 14:35:03.0209] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/pause?device_id=f78b360ad8e87bb015bcdd961858c0514aeeb7fd
    [20-05-06 14:35:03.0212] Plugins::Spotty::API::__ANON__ (1419) error: 404 Not Found
    6. Mai 2020 at 20:20 #48721

    I was having the same issue with Spotify (Spotty plugin):
    . plays 3 or 4 seconds and skips to next song randomly (sometimes plays song properly)
    . stops playing
    . wouldn’t reliably skip to next/previous song when directed

    I used LMS->Settings->Advance/File Types and disabled Ogg Vorbis for Spotty.
    It now transforms the stream to FLAC and works reliably.

    Tony

    6. Mai 2020 at 21:14 #48722

    Hi Tony,

    thank you so much for your feedback! I have tried it already and I can tell it’s pretty responsive.

    If it doesn’t stop in the meantime this is the solution! 🙂

    Gonçalo

    7. Mai 2020 at 15:12 #48732

    Hi guys,

    it is working pretty stable. Just had these stops since I’ve done what Tony suggested.
    Any thoughts for these stops?

    Thanks once again,
    Gonçalo

    [20-05-06 15:07:09.8647] Plugins::Spotty::API::__ANON__ (1401) Invalid data
    [20-05-06 16:04:36.2884] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: dc:a6:32:40:19:0e salaAlegria, cozinhaAlegria & quartoAlegria
    [20-05-06 23:38:03.6990] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: dc:a6:32:40:19:0e salaAlegria, cozinhaAlegria & quartoAlegria
    [20-05-07 01:03:21.2761] Plugins::Spotty::API::__ANON__ (1415) API call: albums/1To7kv722A8SpZF789MZy7?limit=50&market=from_token&offset=0
    [20-05-07 01:03:21.2770] Plugins::Spotty::API::__ANON__ (1419) error: Error reading headers: Server closed connection without sending any data back at /usr/share/squeezeboxserver/CPAN/Net/HTTP/Methods.pm line 306.
    	...propagated at /usr/share/squeezeboxserver/CPAN/Net/HTTPS/NB.pm line 264.
    [20-05-07 01:03:21.2809] Plugins::Spotty::API::__ANON__ (1415) API call: me/player?market=from_token
    [20-05-07 01:03:21.2817] Plugins::Spotty::API::__ANON__ (1419) error: Error reading headers: Server closed connection without sending any data back at /usr/share/squeezeboxserver/CPAN/Net/HTTP/Methods.pm line 306.
    	...propagated at /usr/share/squeezeboxserver/CPAN/Net/HTTPS/NB.pm line 264.
    [20-05-07 01:03:21.3445] Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Networking::Async::_async_read: Can't call method "isa" on an undefined value at /usr/share/perl5/Slim/Player/Squeezebox.pm line 776.
    ; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x78ee438)
    [20-05-07 10:57:15.0816] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: dc:a6:32:40:19:0e salaAlegria, cozinhaAlegria & quartoAlegria
    [20-05-07 11:39:52.2207] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: dc:a6:32:40:19:0e salaAlegria, cozinhaAlegria & quartoAlegria
    [20-05-07 14:02:50.2213] Plugins::Spotty::API::__ANON__ (1401) Invalid data
    7. Mai 2020 at 15:14 #48733

    Also, I wasn’t able to make it play again this last time at 14:02. I had to restart the server.

    7. Mai 2020 at 20:47 #48736

    That’s odd – my longest runs are around 2-3 hours and have never had an issue
    Longest listening sessions are maybe 60-70 or so songs with jump to next song (scanner_fwd) used occasionally

    I’m hoping your system stabilizes with your reboot.
    If you hadn’t rebooted after changing the Spotty Ogg Vorbis setting, perhaps something was left in an unstable state on your system.

    My environment:
    . Max2play 2.52
    . raspberry pi 4 (buster)
    . LMS 8.0 on same raspberry pi 4
    . Spotty 4.0.6 Audio set to extreme (320kps) and File Type Ogg Vorbis disabled
    . Justboom Digi+ Hat
    . Bluetooth used for Harmony Remote support
    . Kodi 18.3 installed

    From DEBUG Info:
    #### KERNEL ####
    Linux Rasp4 4.19.50-v7l+ #895 SMP Thu Jun 20 16:03:42 BST 2019 armv7l GNU/Linux

    #### LINUX-VERSION ####
    Distributor ID: Raspbian
    Description: Raspbian GNU/Linux 10 (buster)
    Release: 10
    Codename: buster

    8. Mai 2020 at 15:51 #48738

    Hi Tony,

    thank you for your setup! I have pretty much the same except for the Hat, Bluetooth and Kodi is installed but not running.

    I got these errors since yesterday. I do play more than 3 hours, and now even more with covid.

    If there is anything you can figure out from this log, it would be great!

    Thanks again,
    Gonçalo

    [20-05-07 21:59:47.9195] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-07 21:59:49.0810] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-07 21:59:54.6723] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-07 21:59:54.7321] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-07 22:00:02.9157] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-07 22:00:04.0722] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-07 22:00:05.6897] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
    [20-05-07 22:00:33.3738] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-07 22:00:34.4309] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    2020-05-07 22:01:14 squeezeboxserver_safe stopped.
    2020-05-07 22:01:14 squeezeboxserver_safe started.
    [20-05-07 22:01:16.9208] main::init (387) Starting Logitech Media Server (v7.9.3, 1586752599, Tue Apr 14 04:15:31 CEST 2020) perl 5.028001 - arm-linux-gnueabihf-thread-multi-64int
    [20-05-07 22:01:17.1933] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-07 22:01:19.2452] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-07 22:01:20.9853] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-07 22:01:22.0254] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-07 22:01:36.3956] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-07 22:01:37.4479] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-07 22:01:38.1371] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
    [20-05-07 22:01:44.4399] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-07 22:01:45.5043] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-07 22:04:25.8940] Plugins::Spotty::API::__ANON__ (1401) Invalid data
    [20-05-07 23:20:57.1125] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: dc:a6:32:40:19:0e salaAlegria, quartoAlegria & cozinhaAlegria
    [20-05-08 12:25:04.5513] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:25:04.5522] Plugins::Spotty::API::__ANON__ (1419) error: 504 Gateway Timeout
    [20-05-08 12:26:02.2109] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:26:02.2112] Plugins::Spotty::API::__ANON__ (1419) error: 504 Gateway Timeout
    [20-05-08 12:27:02.3699] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:27:02.3704] Plugins::Spotty::API::__ANON__ (1419) error: 504 Gateway Timeout
    [20-05-08 12:28:03.7222] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:28:03.7230] Plugins::Spotty::API::__ANON__ (1419) error: 504 Gateway Timeout
    [20-05-08 12:29:06.9392] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:29:06.9399] Plugins::Spotty::API::__ANON__ (1419) error: 504 Gateway Timeout
    [20-05-08 12:30:13.2424] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:30:13.2431] Plugins::Spotty::API::__ANON__ (1419) error: 504 Gateway Timeout
    [20-05-08 12:42:02.1222] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:42:02.1225] Plugins::Spotty::API::__ANON__ (1419) error: 502 Bad Gateway
    [20-05-08 12:43:02.3721] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:43:02.3724] Plugins::Spotty::API::__ANON__ (1419) error: 504 Gateway Timeout
    [20-05-08 12:44:21.7448] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:44:21.7456] Plugins::Spotty::API::__ANON__ (1419) error: 504 Gateway Timeout
    [20-05-08 12:45:02.1249] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:45:02.1252] Plugins::Spotty::API::__ANON__ (1419) error: 502 Bad Gateway
    [20-05-08 12:46:04.9968] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:46:04.9975] Plugins::Spotty::API::__ANON__ (1419) error: 504 Gateway Timeout
    [20-05-08 12:47:32.0485] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:47:32.0493] Plugins::Spotty::API::__ANON__ (1419) error: Timed out waiting for data
    [20-05-08 12:48:06.7551] Plugins::Spotty::API::__ANON__ (1415) API call: me/player/devices
    [20-05-08 12:48:06.7559] Plugins::Spotty::API::__ANON__ (1419) error: 504 Gateway Timeout
    [20-05-08 12:53:00.4325] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: dc:a6:32:40:19:0e salaAlegria, quartoAlegria & cozinhaAlegria
    [20-05-08 12:59:41.0871] Plugins::Spotty::API::__ANON__ (1415) API call: me/player?market=from_token
    [20-05-08 12:59:41.0880] Plugins::Spotty::API::__ANON__ (1419) error: 429 unknown
    [20-05-08 12:59:41.0893] Plugins::Spotty::API::error429 (1477) Access Rate limit exceeded for: me/player?market=from_token; retry after 2 seconds. Please report this issue to me. Thanks!
    [20-05-08 13:48:43.7060] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: dc:a6:32:40:19:0e salaAlegria, quartoAlegria & cozinhaAlegria
    2020-05-08 13:58:31 squeezeboxserver_safe stopped.
    2020-05-08 13:58:39 squeezeboxserver_safe started.
    [20-05-08 13:58:46.5774] main::init (387) Starting Logitech Media Server (v7.9.3, 1586752599, Tue Apr 14 04:15:31 CEST 2020) perl 5.028001 - arm-linux-gnueabihf-thread-multi-64int
    [20-05-08 13:58:47.2636] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-08 13:58:47.3330] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-08 13:58:50.7920] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-08 13:58:50.8419] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-08 13:58:55.8938] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-08 13:58:55.9705] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-08 13:58:57.6484] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
    [20-05-08 13:59:04.8706] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-08 13:59:05.9261] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    2020-05-08 14:00:12 squeezeboxserver_safe stopped.
    2020-05-08 14:00:12 squeezeboxserver_safe started.
    [20-05-08 14:00:14.9821] main::init (387) Starting Logitech Media Server (v7.9.3, 1586752599, Tue Apr 14 04:15:31 CEST 2020) perl 5.028001 - arm-linux-gnueabihf-thread-multi-64int
    [20-05-08 14:00:15.2646] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-08 14:00:15.3077] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-08 14:00:18.8352] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-08 14:00:18.8803] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-08 14:00:21.9012] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-08 14:00:21.9420] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-08 14:00:23.3245] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
    [20-05-08 14:00:29.5923] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [20-05-08 14:00:30.6298] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [20-05-08 14:39:42.0040] Plugins::Spotty::API::__ANON__ (1415) API call: me/player?market=from_token
    [20-05-08 14:39:42.0044] Plugins::Spotty::API::__ANON__ (1419) error: 429 unknown
    [20-05-08 14:39:42.0051] Plugins::Spotty::API::error429 (1477) Access Rate limit exceeded for: me/player?market=from_token; retry after 1 seconds. Please report this issue to me. Thanks!
    9. Mai 2020 at 5:58 #48739

    Unfortunately, I don’t have a solution for you Gonçalo.

    Off the top of my head it looks like you have some other issues in play.
    1. 504 Gateway Timeouts – looks like network or Spotify system server issues – this is not generated by you; but you may be doing something that causes the server to produce a time out.
    2. Access Rate limit exceeded – you are sending/receiving too much from Spotify.

    What else are you doing?
    Are you using anything to convert playlists to Spotify? You may be trying to do too much all at once.
    This is just from googling, I’m not familiar with these things as I don’t use playlist much on Spotify.

    Apparently, there may be a way to ask Spotify to increase your rate limit for a period of time.
    Otherwise, you can try to reduce your quality (lower than extreme 320kps) for a short duration to see if that clears up some of your issues. This would give you a data point to work with Spotify, if necessary.

    Tony

    • This reply was modified 4 years, 7 months ago by grimmt. Reason: elaborate on 504 Gateway cause
    15. Mai 2020 at 0:42 #48784

    Hi Tony,

    sorry for my late reply, I’ve changed to my second house and going to make a clean install on this one. I’ll let you know when I’m done! It might take a while as I have a lot of other work here.

    Regarding your comments:

    1 – I’m not aware of anything that might be causing this.
    2 – I’ve tried reducing quality. I’m just playing playlists directly from Spotify. I’ll try the new installation and see how it goes.

    Thanks once again for your patience,
    Gonçalo

Viewing 18 posts - 1 through 18 (of 18 total)

You must be logged in to reply to this topic.

Register here