michaelherger / Spotty-Plugin

A Spotify plugin for the Lyrion Music Server (fka. Logitech Media Server) and Squeezebox compatible players
124 stars 24 forks source link

Spotty 4.11.100 does not appear in spotify app #145

Open emuell36 opened 1 month ago

emuell36 commented 1 month ago

Hey,

first of all thank's for this great work. (I have seen the finance discussion on slimdevices forum and I think this would be one of the very few projects I would even support with a subscription).

Issue: Spotty is complaining about missung token but does also not appear in spotify app for authentication.

What I did so far: Updated LMS to latest version as well as Spotty Rebuild the LMS conatiner in host mode

My Setup: LMS 9.0.0 Docker host mode (during container build I get the information that Port bindings are ignored in host mode - so settings seem to work). Spotty version 4.11.100

server.log (right from fresh start up): [24-10-19 06:52:52.2690] main::init (387) Starting Lyrion Music Server (v9.0.0, 1729171340, Fri Oct 18 02:56:28 UTC 2024) perl 5.036000 - x86_64-linux-gnu-thread-multi [24-10-19 06:52:52.8135] Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (637) Fulltext index missing or outdated - re-building [24-10-19 06:52:52.8137] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (516) Starting fulltext index build [24-10-19 06:52:52.8139] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (524) Initialize fulltext table [24-10-19 06:52:52.8154] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (537) Create fulltext index for tracks [24-10-19 06:52:52.8159] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (547) Create fulltext index for albums [24-10-19 06:52:52.8163] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (556) Create fulltext index for contributors [24-10-19 06:52:52.8170] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (566) Create fulltext index for works [24-10-19 06:52:52.8176] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (575) Create fulltext index for playlists [24-10-19 06:52:52.8200] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (590) Optimize fulltext index [24-10-19 06:52:52.8209] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (605) Fulltext index build done! [24-10-19 06:52:52.9411] main::checkDataSource (1110) Warning: Schema updated or no media found in the database, initiating scan. [24-10-19 06:52:53.8328] Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (637) Fulltext index missing or outdated - re-building [24-10-19 06:52:57.0153] Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (637) Fulltext index missing or outdated - re-building

Scanner.log [24-10-19 06:52:53.4377] main::main (213) Starting Lyrion Music Server scanner (v9.0.0, 1729171340, Fri Oct 18 02:56:28 UTC 2024) perl 5.036000 [24-10-19 06:52:53.6418] Slim::Music::Import::runImporter (581) Starting Slim::Media::MediaFolderScan scan [24-10-19 06:52:53.6421] Slim::Utils::Scanner::Local::rescan (180) Discovering audio files in /media [24-10-19 06:52:53.6880] Slim::Utils::Scanner::Local::ANON (192) Start processing found tracks [24-10-19 06:52:53.6882] Slim::Utils::Scanner::Local::ANON (200) Connect do DB [24-10-19 06:52:53.6883] Slim::Utils::Scanner::Local::ANON (203) Get latest ID [24-10-19 06:52:53.6885] Slim::Utils::Scanner::Local::ANON (228) Build temporary table for deleted tracks [24-10-19 06:52:53.6889] Slim::Utils::Scanner::Local::ANON (249) Build temporary table for new tracks [24-10-19 06:52:53.6892] Slim::Utils::Scanner::Local::ANON (269) Build temporary table for changed tracks [24-10-19 06:52:53.6894] Slim::Utils::Scanner::Local::ANON (292) Get deleted tracks count [24-10-19 06:52:53.6896] Slim::Utils::Scanner::Local::ANON (299) Get new tracks count [24-10-19 06:52:53.6897] Slim::Utils::Scanner::Local::ANON (304) Get changed tracks count [24-10-19 06:52:53.6899] Slim::Utils::Scanner::Local::deleteTracks (421) Removing deleted audio files (0) [24-10-19 06:52:53.6900] Slim::Utils::Scanner::Local::updateTracks (588) Rescanning changed audio files (0) [24-10-19 06:52:53.6901] Slim::Utils::Scanner::Local::addTracks (504) Scanning new audio files (0) [24-10-19 06:52:53.6903] Slim::Music::Import::endImporter (714) Completed Slim::Media::MediaFolderScan Scan in 0.048 seconds. [24-10-19 06:52:53.6909] Slim::Music::Import::runImporter (581) Starting Plugins::Spotty::Importer scan [24-10-19 06:52:53.7321] Slim::Music::Import::endImporter (714) Completed Plugins::Spotty::Importer Scan in 0.041 seconds. [24-10-19 06:52:53.7325] Slim::Music::Import::runImporter (581) Starting Slim::Plugin::ExtendedBrowseModes::Libraries scan [24-10-19 06:52:53.7327] Slim::Music::Import::endImporter (714) Completed Slim::Plugin::ExtendedBrowseModes::Libraries Scan in 0.000 seconds. [24-10-19 06:52:53.7330] Slim::Music::Import::runImporter (581) Starting Slim::Plugin::FullTextSearch::Plugin scan [24-10-19 06:52:53.7334] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (516) Starting fulltext index build [24-10-19 06:52:53.7336] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (524) Initialize fulltext table [24-10-19 06:52:53.7342] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (537) Create fulltext index for tracks [24-10-19 06:52:53.7379] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (547) Create fulltext index for albums [24-10-19 06:52:53.7384] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (556) Create fulltext index for contributors [24-10-19 06:52:53.7387] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (566) Create fulltext index for works [24-10-19 06:52:53.7393] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (575) Create fulltext index for playlists [24-10-19 06:52:53.7413] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (590) Optimize fulltext index [24-10-19 06:52:53.7450] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (605) Fulltext index build done! [24-10-19 06:52:53.7453] Slim::Music::Import::endImporter (714) Completed Slim::Plugin::FullTextSearch::Plugin Scan in 0.012 seconds. [24-10-19 06:52:53.7459] Slim::Music::Artwork::precacheAllArtwork (658) Starting precacheArtwork for 0 albums [24-10-19 06:52:53.7460] Slim::Music::Import::endImporter (714) Completed precacheArtwork Scan in 0.000 seconds. [24-10-19 06:52:53.7462] Slim::Music::Import::runScanPostProcessing (483) Starting Database optimization. [24-10-19 06:52:53.7726] Slim::Music::Import::endImporter (714) Completed dbOptimize Scan in 0.026 seconds.

emuell36 commented 1 month ago

Damn it.... I had a webserver container running on the same mashine which occupied port 80 :/

Any chance to share port 80 between to containers?

michaelherger commented 1 month ago

The test version doesn't have Connect support. I really only provided it as a quick solution to the playback issues many were seeing starting a few weeks back. But its Connect integration is completely broken. If you've switched to the test version because the regular build didn't work for you, then I'm sorry, you'll have to be patient. If you switched because you wanted to help testing, then you might be able to go back to the regular build by removing the additional repository from the plugins page and remove/reinstall the plugin. Settings should survive.