Commit graph

313 commits

Author SHA1 Message Date
Chigozirim Igweamaka
14df5b3845 feat: enhance generateFingerprint function to handle stereo input audio 2025-07-16 05:08:05 +01:00
Chigozirim Igweamaka
95d51b0ff5 fix: update .gitignore to include token.json 2025-07-15 15:39:28 +01:00
Chigozirim Igweamaka
64e8ee696d feat: implement FingerprintAudio function to process audio files and generate fingerprints 2025-07-15 15:38:07 +01:00
Chigozirim Igweamaka
8a68843bc6 refactor: simplify WAV conversion and fingerprinting process 2025-07-15 15:37:28 +01:00
Chigozirim Igweamaka
c2fc834a0b refactor: simplify WAV conversion and fingerprinting process 2025-07-15 15:36:35 +01:00
Chigozirim Igweamaka
6635647061 feat: add ExtendMap function to merge two maps 2025-07-15 15:35:52 +01:00
Chigozirim Igweamaka
2b85c7fd97 feat: update ConvertToWAV function to determine channels from environment variable 2025-07-15 15:35:33 +01:00
Chigozirim Igweamaka
781438c7b8 feat: enhance ReadWavInfo and WavInfo struct to include left and right channel samples 2025-07-15 15:33:52 +01:00
Chigozirim Igweamaka
e3ddaa050a Update prerequisites to Include YT-DLP 2025-07-09 15:08:11 +01:00
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
Chigozirim Igweamaka
e51b06c159
Merge pull request #40 from KaNaDaAT/main
Spotify API and SQLite improvements
2025-06-27 11:01:56 -07: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
8f1ab855a2 Update README.md
Infos about the Spotify API
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
69bd180e99 fix: update .gitignore to ignore recordings directory 2025-04-12 14:34:46 +01:00
Chigozirim Igweamaka
5b24c06e6d fix: update .gitignore to correctly ignore the songs directory 2025-04-12 14:33:13 +01:00
Chigozirim Igweamaka
28eca1ea2a Delete songs folder 2025-04-12 14:32:44 +01:00
Chigozirim Igweamaka
649f19b4a0
Merge pull request #36 from cgzirim/development
Dockerize App
2025-04-08 02:49:12 +01:00
Chigozirim Igweamaka
fadd713226
Update README.md 2025-04-07 13:07:12 +01:00
Chigozirim Igweamaka
7b80c0b04e update docker-compose.yml to define named volumes for database and songs 2025-04-07 02:42:34 +01:00
Chigozirim Igweamaka
e740795f46 feat: add Dockerfile and docker-compose.yml for application setup 2025-04-07 02:29:40 +01:00
Chigozirim Igweamaka
cd231fe6a8 add example environment configuration file 2025-04-07 02:29:01 +01:00
Chigozirim Igweamaka
3a1cd1e7f1 chore: add .dockerignore file to exclude unnecessary files from Docker builds 2025-04-07 02:28: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
Chigozirim Igweamaka
7a5ad4bfcc fix: update start_server function to change directory to server path 2025-04-07 02:24:29 +01:00
Chigozirim Igweamaka
3cf204363d fix: correct source path in appspec.yml to point to server directory 2025-04-07 02:23:56 +01:00
Chigozirim Igweamaka
389d0fe794 chore: update .gitignore to include sqlite3 and .env files 2025-04-07 02:23:38 +01:00
Chigozirim Igweamaka
be76a55c52
Merge pull request #35 from cgzirim/development
Add WASM support for fingerprint generation on the client side
2025-04-01 18:12:07 +01:00
Chigozirim Igweamaka
2eb682ffe2 Merge main 2025-04-01 18:08:54 +01:00
Chigozirim Igweamaka
77e544ce41 Add ReformatWAV function for channel conversion 2025-04-01 17:57:25 +01:00
Chigozirim Igweamaka
8a918c74cd feat: implement audio snippet recording and fingerprint processing 2025-04-01 17:53:17 +01:00
Chigozirim Igweamaka
6647fa1af7 feat: add event handler to process new fingerprints 2025-04-01 17:46:30 +01:00
Chigozirim Igweamaka
8e1e34a7f5 feat: add FFmpeg dependencies 2025-04-01 17:45:14 +01:00
Chigozirim Igweamaka
66b0071698 feat: integrate FFmpeg for audio processing and add WASM support for fingerprint generation 2025-04-01 17:44:54 +01:00
Chigozirim Igweamaka
7e883c30d5 fix #34: add missing imports wav.go 2025-03-28 02:30:50 +01:00
Chigozirim Igweamaka
b6fc65eb73
Merge pull request #30 from JChris246/fix/no-title
[Fix] convert tags keys to lowercase
2025-03-15 14:23:46 +01:00
Chigozirim Igweamaka
603f6eac51
Merge branch 'main' into fix/no-title 2025-03-15 14:22:46 +01:00
Chigozirim Igweamaka
5f8f5a9ddc
Merge pull request #29 from JChris246/fix/rename-files
[Fix] allow moving files across drives
2025-03-15 13:45:44 +01:00
Chigozirim Igweamaka
de7a0de54d fix: remove uniqueness constraint on ytID in db schema to allow ytID to be null for multiple songs without one 2025-03-15 13:44:42 +01:00
JChris246
41c3c5ae4c fix: allow moving files across drives 2025-03-13 23:20:54 -04:00
JChris246
91c9e4c15a fix: convert tags keys to lowercase 2025-03-13 23:20:39 -04:00
Chigozirim Igweamaka
900c8152d2
Merge pull request #28 from cgzirim/development
Development
2025-03-11 19:55:26 +01:00
Chigozirim Igweamaka
34122d10a5 feat: add WASM binary and include wasm_exec.js in index.html 2025-03-11 19:53:02 +01:00