29 Commits

Author SHA1 Message Date
geoffrey45
9bfc1ceed2 add --config flag to modify config path
+ use getters instead of constants in settings classes
+ refactor previous references
+ move get_xdg_config_dir() from settings.py to app.utils.xdg_utils.py
2023-04-17 02:21:42 +03:00
geoffrey45
e5f18f9301 use create_hash to compare album titles for is_single
+ add a few string checks for album.is_single
2023-04-17 02:21:42 +03:00
geoffrey45
3f1ae30dd5 add migration to drop album and artist tables 2023-03-27 06:44:11 +03:00
geoffrey45
fe6c12d856 use setters to manipulate artist and playlist objects 2023-03-26 18:57:25 +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
357afeb700 break settings.py into classes 2023-03-26 08:25:00 +03:00
geoffrey45
79029ae346 add folder count to folder route 2023-03-25 05:26:01 +03:00
geoffrey45
d43dcbff46 break down store.py into multiple files in a module
+ fix last updated date bug
2023-03-25 03:05:38 +03:00
geoffrey45
43c480cf3e remove print statement 2023-03-21 22:16:48 +03:00
geoffrey45
32bb3d37e1 add a store method to count the number of tracks in a folder
~ Courtesy of chatgpt3.5
+ add a few a TODO
2023-03-21 22:15:31 +03:00
geoffrey45
d21a834a00 fix get playlist tracks order
+ fix utils.get_home_res_path
2023-03-15 10:01:12 +03:00
geoffrey45
e3ec9db989 add method and route to search across tracks, albums and artists.
+ break models into separate files
+ same for the utils and setup
2023-03-09 13:08:50 +03:00
geoffrey45
c352037ccd rewrite remove duplicates to retain tracks with highest bitrate
+ bump fuzzy search cutoff to 90
+ remove unicodes from fuzzy search texts
2023-02-26 09:50:45 +03:00
geoffrey45
b1ac3e9a07 check todo at api/folder.py line:60
~ everything seems to work fine in Windows too
+ move ProcessArtistColors to Populate
2023-02-03 23:13:40 +03:00
geoffrey45
43732ba380 fix: artist and album colors not being assigned when root dir is changed 2023-02-01 16:04:33 +03:00
geoffrey45
7640f2cc1a add TODO: Move parsing title, album and artist to startup. 2023-02-01 14:48:23 +03:00
geoffrey45
838e19cf0f fix: errors raised by Pycharm 2023-02-01 14:00:21 +03:00
geoffrey45
95c1524b68 feat: add --no-feat flag to disable extracting featured artists
+ support square brackets when extracting featured artists
+ remove feat artists from track title
+ fix dir browser for linux
2023-02-01 13:34:53 +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
6818f9b0e8 handle watchdog's file created event using the on_modified
handler

+ move processing thumbnails and album colors to the populate class
+ move processing artist colors behind the populate call in run_periodic_checks
2023-01-25 13:43:09 +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
df6609e7f4 feat: support watching symlinks in watchdogg.py
+ remove code for auto-adding ~/Home to root_dirs during populate
2023-01-24 16:30:17 +03:00
geoffrey45
29e61b31c3 fix: remove favorite tracks whose values are None when getting favs
+ sync is_fav state when populating
2023-01-24 02:10:58 +03:00
geoffrey45
22fa3eef40 handle watching ~/ dir
+ fix bug that caused duplicate album colors in db
2023-01-23 17:10:05 +03:00
geoffrey45
d676459b9a feat: if no root dir is set, try ~/Music
if there's music in there, add it as a root dir
2023-01-23 10:19:21 +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
4e6e1f03dc move imgserver to app/api folder
+ add sqlite methods to configure custom root directories
+ add sqlite.settings module
+ remove date and app name from logger messages
+ add api route to browse directories
2023-01-21 18:07:20 +03:00
geoffrey45
b16db22798 update readme 2023-01-15 22:33:20 +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