Commit graph

12 commits

Author SHA1 Message Date
Chigozirim Igweamaka
7a2130ce22 refactor: replace downloadYTaudio with downloadYTaudio2 and update file handling 2025-07-09 12:35:55 +01:00
Chigozirim Igweamaka
4f1137e162 feat: add downloadYTaudio2 function to download YouTube audio using yt-dlp CLI 2025-07-09 12:35:08 +01:00
Chigozirim Igweamaka
29867c8b34 fix: delete non .wav file after conversion. 2025-07-09 12:30:31 +01:00
KaNaDaAT
c4b7f5a14a feat: Use env for credentials 2025-06-07 16:15:38 +02:00
KaNaDaAT
d6bea0a568 feat: Logging for downloader.go 2025-06-07 15:09:39 +02:00
KaNaDaAT
ab5be2f50e fix(db): prevent "database is locked" errors by improving SQLite usage
- Add explicit rows.Close() calls inside loops to avoid holding locks too long
- Add SQLite busy timeout (5s) to connection string to wait for locks instead of failing immediately
2025-05-15 21:49:34 +02:00
KaNaDaAT
1daf682062 fix: spotify regex pattern
Fix regex pattern to use non-capturing group for optional intl prefix in Spotify track URLs
2025-05-15 21:49:34 +02:00
KaNaDaAT
fbaf329872 refactor: switch to official Spotify developer API with client credentials flow
- Replaced deprecated web token endpoint with POST to accounts.spotify.com/api/token
- Integrated client credentials OAuth flow using client ID and secret
- Adjusted request headers to use Bearer token
2025-05-15 21:49:30 +02:00
KaNaDaAT
98e4d46a31 style: Some tidy up / logging 2025-05-15 20:05:35 +02:00
KaNaDaAT
112b90968a update: Versions
Xoutube.Client() did no longer work
2025-05-15 20:04:18 +02:00
Chigozirim Igweamaka
28eca1ea2a Delete songs folder 2025-04-12 14:32:44 +01:00
Chigozirim Igweamaka
8ea5a7a25b Restructure project: Move server-side files to a dedicated 'server' directory 2025-04-07 02:27:59 +01:00