29 Commits

Author SHA1 Message Date
geoffrey45
1e4484b1c8 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-09 01:01:48 +03:00
geoffrey45
c465116f3d remove dups from get_tracks_by_albumhash 2023-03-27 04:35:49 +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
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
e23f2a6489 add route to fetch album color 2023-03-19 23:37:01 +03:00
geoffrey45
598e3d4c79 return playlist images on get_all_playlists route 2023-03-18 00:40:46 +03:00
geoffrey45
d21a834a00 fix get playlist tracks order
+ fix utils.get_home_res_path
2023-03-15 10:01:12 +03:00
geoffrey45
fed62bf7f4 add method and route to fetch similar artists from lastfm 2023-03-12 19:28:41 +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
97e29c3254 feat: add album dates to artist albums 2023-02-09 21:15:07 +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
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
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
2ba1b0386e feat: extract featured artists from track title 2023-01-24 18:53:30 +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
b404933f89 modify last updated date of a playlist on track added 2023-01-13 20:58:10 +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