Commit Graph

54 Commits

Author SHA1 Message Date
mungai-njoroge 5cf188dd38 save images in save items as playlist 2023-08-08 12:12:33 +03:00
mungai-njoroge f28d3f00bd support in_quotes search query 2023-08-06 22:09:39 +03:00
mungai-njoroge efb6aae927 misc 2023-08-02 14:26:19 +03:00
mungai-njoroge 9c9a187083 create a base class for all migration
+ save folder to playlist, sorting by last_mod
2023-07-31 16:44:37 +03:00
mungai-njoroge d9688455fb default migrations value to -1
+ tiny fixes
2023-07-30 15:06:56 +03:00
mungai-njoroge a0c51d5f82 add route to save folder as playlist
+ modify playlist table sql
2023-07-27 13:37:07 +03:00
mungai-njoroge d4a1a6ee1a fix typeerror on colorlib.py 2023-07-26 11:50:01 +03:00
mungai-njoroge 728c6c2def add route to remove playlist banner 2023-07-26 10:56:23 +03:00
mungai-njoroge 8b895f5efb extract thumbnail with overwrite for modified files 2023-07-19 18:06:58 +03:00
mungai-njoroge 18f6593666 handle the FileNotFoundError for os.path.getsize on watchdogg 2023-07-18 16:53:06 +03:00
mungai-njoroge e70d787580 misc 2023-07-17 11:30:05 +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 4a7416853a fix album having date = 0 2023-07-09 17:57:14 +03:00
mungai-njoroge 65d21d07da extract original thumbnail image 2023-07-06 13:52:32 +03:00
mungai-njoroge f5de09bd09 add last fm similar artists to db table
+ add db methods for the above
+ try and discard last fm store
2023-07-01 01:39:39 +03:00
mungai-njoroge 1cf5d38a96 fix duplicate albums with date = 0 2023-06-26 13:17:24 +03:00
mungai-njoroge 88be80b25d fix db insert duplicate unique fields error
+ save album date as timestamp in db
+ Rewrite artist image downloader with multiprocessing.Pool
2023-06-21 13:20:09 +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
mungai-njoroge 9d4f7af581 rewrite populate.get_image() to extract a
track thumbnail from the first track in an album that has one.

+ rewrite Populate.remove_modified with sets
+ clean the SqliteManager utility class
+ Rewrite ProcessTrackThumbnails to use a process pool instead of a thread pool
+ rewrite track store's  remove_tracks_by_filepaths to utilize sets
2023-06-21 09:20:56 +03:00
mungai-njoroge 1eac009fde prevent running migrations if is_fresh_install
+ fix: sqlite3.ProgrammingError: Cannot operate on a closed cursor on ProcessAlbumColors()
+ move processing artist images from periodic_scans to Populate
+ bump hash string limit from 7 to 10
+ add last_mod property to database
+ fix: TypeError: '<' not supported between instances of 'int' and 'str' on album page
2023-06-20 16:34:56 +03:00
mungai-njoroge cc6552cb94 check if track exists in db before sending file 2023-06-19 21:49:13 +03:00
geoffrey45 45bf7570a3 fix arg handlers and album versions route 2023-05-07 14:02:46 +03:00
geoffrey45 be7fc26fce add new flags to disable cleaning track and album titles
+ update readme
+
2023-05-05 23:11:56 +03:00
geoffrey45 51a5502efc add parsers to clean track titles .ie. remove remaster info
+ use getters to read flags
+ use the largest limit to get recent favorites
+ misc
2023-05-05 17:49:59 +03:00
geoffrey45 11d1b6ca36 extract feat from album titles 2023-04-17 02:21:42 +03:00
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