Commit Graph

38 Commits

Author SHA1 Message Date
cwilvx 07a4f97e17 rewrite db stuff with scalars and generators
+ dump mixes with less than x=4 artists
+ try: disable pragma mmap_size
2025-02-23 20:48:40 +03:00
cwilvx a6814407b8 go back to waitress 2025-02-12 22:55:16 +03:00
cwilvx 48b6d16c8f serve app with gevent 2025-02-12 22:22:15 +03:00
cwilvx beec5bc7d3 try: ditch waitress 2025-02-07 17:10:27 +03:00
cwilvx 2a12487220 lastfm: dump failed scrobbles locally
+ bump tinytag to v2.0.0 and refactor taglib.py
+ add explicit flag to track model
2025-01-06 00:18:17 +03:00
cwilvx c4a73f0d63 first recommendation draft 2024-10-25 23:26:08 +03:00
cwilvx ca31054f48 fix: folder endpoint returning same track for different files of the same trackhash
+ fix: chunked streaming. return instead of yield chunks
2024-08-15 17:07:34 +03:00
cwilvx 727dea748c remove hardcoded db location
+ move Db engine to module
2024-07-05 05:00:28 +03:00
cwilvx a5634f267f move to xxh3 hashing algorithm
+ port: search
2024-07-03 11:12:06 +03:00
cwilvx 4a9f804e70 combine userdata and swing db into one
+ port populate to new db interface
+ add genrehashes and hash info to tracks
+ properly structure new db table files
+ move helpers to dedicated utils file
+ move settings from db to config file
+ move artists, albums, auth and favorites endpoint to new db interface
+ use folder store to index filepaths
+ paginate favorite pages
+ 56 moretiny changes 😅
2024-06-30 15:06:33 +03:00
cwilvx 1a66194c6c fix: slow folder track count
+ etc
2024-06-27 00:02:08 +03:00
cwilvx c42ec4dcde start: rewrite the database layer using a freaking ORM
+ start ditching in-mem stores
+ move main db table to a new name
+ experiments!
2024-06-24 00:26:47 +03:00
cwilvx acac50c932 add back the non-chunked streaming endpoint 2024-06-18 21:26:17 +03:00
cwilvx c8325101d5 fix is_favorite setter on populate 2024-05-26 14:17:12 +03:00
cwilvx 219b3e606e try using python 3.11 2024-05-25 16:43:15 +03:00
mungai-njoroge 04957dd5a9 set up auth 2024-04-25 18:18:52 +03:00
mungai-njoroge 0af1ae1d8e Finish documentation for all endpoints
+ fix #193 (settings https redirect)
+ fix open api docs on binary
+ fix git error on binary
+ remove flask-restful

hopefully, I didn't break something 😩
2024-03-24 16:14:47 +03:00
mungai-njoroge fb65ac9931 add open API specs 2024-03-24 16:14:47 +03:00
mungai-njoroge 67f28b8a9b steal some of @tcsenpai 's changes from the PR
+ ditch the LAST FM API KEY thing
+ expose the Musixmatch urls
+ use the kerve last fm api to download similar artist data
+ use google.it instead of the Google public dns to check internet connectivity (to make it work in all environments)
+ return og Dockerfile to fix ARM support
2024-02-16 23:57:23 +03:00
mungai-njoroge 4f48c33009 fix: recently added items sort order in the homepage
.ie. stop relying on folder last mod date, and use the latest file from the folder

+ bump watchdog to v4
+ add WIP docs (stashed in .github/code.docs for now)
2024-02-16 21:30:42 +03:00
mungai-njoroge b7e86ed79b add time ago on recent items
+ move to waitress wsgi server
+ refactor dates utils
+ create locustfile for stress test
2024-02-11 21:10:52 +03:00
mungai-njoroge 7749b4fc3c set up track logging
+ install flask restful
2023-12-01 10:55:07 +03:00
mungai-njoroge 8b6d10c832 remove telemetry
+ add docstrings to lyrics functions
2023-11-10 16:18:52 +03:00
mungai-njoroge 8fc32d7dd8 downgrade pyinstaller 2023-10-11 20:22:21 +03:00
mungai-njoroge ba88cf4a23 add telemetry using posthog
+ move build variables into a python file
+ rewrite logic to check if there's an internet connection
+ move IS_BUILD into settings
+ update pyintaller to 6.0.0
+ update other packages to latest
2023-09-25 20:27:20 +03:00
mungai-njoroge bacf68248b rewrite populate.py to minimize db and hdd reads
+ change process name in manage.py
+ update db query to save show albums as single, as an integer
+ enable periodic scans
+ misc
2023-09-11 11:37:36 +03:00
mungai-njoroge da88bbd9cc write LASTFM_API_KEY to config file
+ remove alive bar
2023-08-31 21:36:34 +03:00
mungai-njoroge 8b25a9265f pretty print help options using tabulate 2023-08-29 20:40:06 +03:00
mungai-njoroge 71cab5f5ea load settings from db, use api to change settings
+ add route to get all settings
+ add route to set any setting
+ add untested migration to add settings into settings db
+ compress json in api responses using FlaskCompress
+ serve gziped assets if browser accepts encoded files
+ misc
2023-08-24 15:52:09 +03:00
mungai-njoroge 861a854f91 add function to validate albums
+ extract colors in watchdogg
+ rename color db files
2023-07-12 08:56:30 +03:00
mungai-njoroge 4d310c39c3 add tests for sqlitemanager util class
+ implement pendulum in date_string_to_time_passed()
+ remove unused bisection_search_string
2023-06-21 12:18:19 +03:00
geoffrey45 740f45b9ac add route to open a file in file manager
+ try a new approach of cleaning remasters from track titles
2023-05-09 13:25:31 +03:00
geoffrey45 5487dad27b fix duplicate artist and album color entry in db
+ Remove folder store
+ Reduce fuzzy search score cutoff from 90% to 75%
+ use inheritance to init Artist class
+ misc
2023-03-26 18:01:26 +03:00
geoffrey45 7e15680f26 update supported audio files in settings.py
+ add win_replace_slash function to format win path strings
+ misc
2023-01-30 15:59:28 +03:00
geoffrey45 af4221e0c7 feat: exit the Populate function when another one is started
+ add test for the extract_fetured_artists_from_title function
2023-01-24 22:40:19 +03:00
geoffrey45 bcc4873766 handle XDG_CONFIG_HOME specification ...
+ fix bug that caused duplicate artist color entries to db
+ check if app is windows (prep for windows build)
+ remove caribou migrations lib
+ rename all api blueprints to "api"
+ unregister child directories when customizing root dirs
+ misc
2023-01-22 23:57:12 +03:00
geoffrey45 3dc9bc1f15 print local and remote app urls when app host is set to "0.0.0.0"
+ update app version in settings.py
2023-01-20 22:21:40 +03:00
Mungai Njoroge 198957bcae Move server code to this repo (#95)
move server code to this repo
2023-01-13 20:01:52 +03:00