[HELP WANTED] Not all songs get analyzed
I have set up a separate machine with Ubuntu 24.04 LTS & Docker specifically for testing this, as it got my main machine on its knees. Analysis started correctly, but was finished rather quickly (±2,5 hours). Connecting to the DB through ODBC I see it has only 1217 songs, out of a total of more than 130K. With those 1217 songs it does create playlists, sends them to Lyrion, the AI Chat and the similarity function work, so as a POC it works, but of course I'd like my full library to be in there. Is there a way to reset the analysis state and go through it again?
Thanks for sharing your feedback. First at all if you can share the log of both Flask and Worker container I can take a look at why it fail: sometimes is nothing of real problematic, maybe a database that hit the resource limit and not replying timely block the application. Sometimes instead could be something of more systemtic for which sharing the log could help me to solve.
Anyway, after exporting the log, you can just restart the analysis and it keep the status. If not restart just try to restart (WITHOUT CANCELLING THE DATA) the containers.
Analysis is specifically designed to just click "Start Analysis" with "Number of recent album" set to 0 and analyze just the new added. This is also useful when you add new album to the collection.
Attached the log files. I've tried restarting the analysisn but it only tells me "Main Analysis Complet" and stops. Screenshot of the FlaskApp page as well, as you can see the only change I've made is the Ollama settings.
Hi, thanks for the log, i see in it multiple of this:
Album 56379 contains only Spotify tracks and will be skipped as no tracks can be downloaded.
Did you use the Spoty Plugin for Lyrion and the song that you're not finding are from Spotify?
If yes, it is a fix needed by this #90 because basically you don't own the Spotify songs, so you can't download for the analysis itself.
If instead they are not son play from Spotify by the Spoty plugin, but just songs that for some reason have "Spotify" as a genre please let me know and share more details.
Hi, thanks for the log, i see in it multiple of this:
Album 56379 contains only Spotify tracks and will be skipped as no tracks can be downloaded.Did you use the Spoty Plugin for Lyrion and the song that you're not finding are from Spotify?
If yes, it is a fix needed by this #90 because basically you don't own the Spotify songs, so you can't download for the analysis itself.
If instead they are not son play from Spotify by the Spoty plugin, but just songs that for some reason have "Spotify" as a genre please let me know and share more details.
Yeah, I'm the guy who raised the bug with the Spotify songs, so I'm running the :devel branch. My physical library however contains around 130K songs, which do NOT have Spotify as genre
I've spun up an additional worker replica, So I can have an isolated log of what it does when triggering a new analysis
I think there was a bug in the Lyrion implementation call that get the last album. It fetched for some reason only the last 100 albums (regardless of what the user pass in the front-end input) and no more so for this reason it didn't analyzed all your song, not due to spotify.
I added an additional fix that is already in :devel, please download it (be sure that it download the new image) and retry. Unfortunely I don't have the Spoty plugin but as I said this error shouldn't be related to it.
If it work please confirm, if not work, please add additional log. thanks!
I redeployed the whole stack, to be certain of getting the latest versions everywhere, and I'm happy to say that the analysis window now shows something different already. It now shows the total number of albums as reported by Lyrion in the web interface, whereas previously it showed 100.
We're now just a bit over 30 hours in the analysis, with around 16K tracks in the DB, so this issue seems fixed. Thanks for the quick support!