Selbi182 / SpotifyDiscoveryBot

A Java-based bot that automatically crawls for new releases by your followed artists on Spotify. Never miss a release again!
GNU General Public License v3.0
15 stars 3 forks source link

Does it work atm, can't get any update. #5

Open protonize opened 2 months ago

protonize commented 2 months ago

Hello, what am I doing wrong?

All set. It has a connection with api via app client & secret. I have about 900+ artists in my acc. db is set.

after logging on I see default playlists. But no tracks in it. Started many times. All I can get is:

2024-08-21 16:37:03.600 INFO 16032 --- [ main] spotify.SpotifyDiscoveryBot : Starting SpotifyDiscoveryBot using Java 22.0.2 PID 16032 2024-08-21 16:37:03.667 INFO 16032 --- [ main] spotify.SpotifyDiscoveryBot : No active profile set, falling back to 1 default profile: "default" 2024-08-21 16:37:04.808 INFO 16032 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8182 (http) 2024-08-21 16:37:04.824 INFO 16032 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-08-21 16:37:04.824 INFO 16032 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.82] 2024-08-21 16:37:04.918 INFO 16032 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-08-21 16:37:04.918 INFO 16032 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1194 ms 2024-08-21 16:37:04.990 INFO 16032 --- [ main] spotify.util.SpotifyLogger : Establishing SQLite database connection: C:\Users\Desktop\SpotifyDiscoveryBot-v1.6\config\database.db 2024-08-21 16:37:05.414 WARN 16032 --- [ main] spotify.util.SpotifyLogger : Automatic purging of playlist additions has been enabled! {RE_RELEASE=2, ALBUM=2, REMIX=2, COMPILATION=2, SINGLE=2, EP=2, APPEARS_ON=2, LIVE=2} 2024-08-21 16:37:05.790 INFO 16032 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8182 (http) with context path '' 2024-08-21 16:37:05.806 INFO 16032 --- [ main] spotify.SpotifyDiscoveryBot : Started SpotifyDiscoveryBot in 2.758 seconds (JVM running for 3.256) 2024-08-21 16:37:06.245 INFO 16032 --- [ main] spotify.util.SpotifyLogger : ------------------------------------------------------------------------------------------------------------------------------------------------------------- 2024-08-21 16:37:07.560 INFO 16032 --- [ main] spotify.util.SpotifyLogger : Executing initial crawl... 2024-08-21 16:52:38.757 INFO 16032 --- [nio-8182-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2024-08-21 16:52:38.757 INFO 16032 --- [nio-8182-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2024-08-21 16:52:38.758 INFO 16032 --- [nio-8182-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms

Selbi182 commented 2 months ago

Two things.

First of all, the bot doesn't immediately give you new releases, because the first time you started it was used to index all your followed artists. It only starts giving you new releases AFTER that, because otherwise it wouldn't have any idea what a "new" release even is.

Secondly, judging by your log, you never waited for the initial crawl to finish:

2024-08-21 16:37:07.560 INFO 16032 --- [ main] spotify.util.SpotifyLogger : Executing initial crawl...

Since you're following a massive 900 artits (like holy hell, I thought I was crazy with 300 hahahaha) that process might take a very long time. If I may ask, how long have you been waiting?

protonize commented 2 months ago

I thought it should be finished.. I was waiting for about 40-50 min. k. I'll try to wait more. Text you later.

Selbi182 commented 2 months ago

Oh, that's definitely not correct... It shouldn't take more than 5-10 minutes. I got a suspicion you ran into a weird edge case due to your massive amount of followed artists.

If you don't mind, could you send me your Spotify profile so I can use your followed artists to debug this?

protonize commented 2 months ago

protonize

discord dm 👍