Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
protonize opened this issue Aug 21, 2024 · 4 comments
Closed

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

protonize opened this issue Aug 21, 2024 · 4 comments

Comments

@protonize
Copy link

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

protonize

discord dm 👍

@Selbi182 Selbi182 closed this as completed Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants