917 Commits

Author SHA1 Message Date
mungai-njoroge
6439b512e9 preset mimetypes
+ add db and api methods to remove tracks from playlists
2023-07-21 01:15:57 +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
6ef3cc3545 add related albums route 2023-07-02 00:11:21 +03:00
mungai-njoroge
95214396e7 Handle ReadTimeout error 2023-07-01 20:39:09 +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
4a9d6bc3e6 rewrite split_artists parser to remove regex
+ write placehold functions to manage custom separators
2023-06-26 14:21:11 +03:00
mungai-njoroge
1cf5d38a96 fix duplicate albums with date = 0 2023-06-26 13:17:24 +03:00
mungai-njoroge
dbfa395207 add serializer functions for track and album objects 2023-06-24 16:47:54 +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
a201303bd9 turn off merging albums 2023-05-09 15:24:10 +03:00
geoffrey45
8e59a59ba2 implement merging album versions
+ add "limit" parameter to the useBisection function
+
2023-05-09 15:18:30 +03:00
geoffrey45
f6dc28f80d clean album title on tracks too if cleaning is set to true 2023-05-09 13:54:46 +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
b9f0204225 sort albums in get_artist_albums route 2023-05-08 16:19:38 +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
5d0b59ea60 add recent items to the get_all_favorites api route 2023-04-30 15:38:38 +03:00
geoffrey45
3ddb6295c6 fix get_base_album_title function multiple brackets bug 2023-04-30 14:13:26 +03:00
geoffrey45
c993e0b583 add api route to fetch other album versions
+ add parser functions to extract album version
2023-04-23 01:45:08 +03:00
geoffrey45
3d5ee855d8 add methods to extract base album title from an album title string
+ add methods to extract album versions
+ implement these methods in the album model class
2023-04-22 15:12:59 +03:00
geoffrey45
1fc340cb95 update client repo git clone link 2023-04-17 03:24:54 +03:00
geoffrey45
304d43fc8d Merge remote-tracking branch 'origin/master' 2023-04-17 03:24:15 +03:00
Tomás Ralph
6e3404e66e
Containerize application with Docker (#116)
* add dockerfile
* use latest tag instead of latest commit
* Added docker instructions
* define entrypoint
* specify to cd into directory after git clone
* include config flag
2023-04-17 03:22:29 +03:00
geoffrey45
76604be1db rename album title in track object after extract feat from album title 2023-04-17 02:21:42 +03:00
geoffrey45
ac4be71e7b fix --show-feat and --show-prod flags 2023-04-17 02:21:42 +03:00
geoffrey45
11d1b6ca36 extract feat from album titles 2023-04-17 02:21:42 +03:00
geoffrey45
3ef2516210 fix duplicate tracks due to use of extract_feat
~ caused duplicate tracks to have different track hashes
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
994711b887 rename album title in track object after extract feat from album title 2023-04-16 18:05:52 +03:00
geoffrey45
aa54a9bc0c fix --show-feat and --show-prod flags 2023-04-16 17:47:47 +03:00
geoffrey45
f5615f4d31 extract feat from album titles 2023-04-16 17:45:13 +03:00
geoffrey45
74f52ce2e3 fix duplicate tracks due to use of extract_feat
~ caused duplicate tracks to have different track hashes
2023-04-15 11:41:24 +03:00
Tomás Ralph
55a41f4f19 include config flag 2023-04-08 23:36:16 -03:00
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
Tomás Ralph
1b73fd8153 specify to cd into directory after git clone 2023-04-08 17:01:34 -03:00
Tomás Ralph
df3481a1ba define entrypoint 2023-04-08 16:59:31 -03:00
Tomás Ralph
6cdebed0e5 Added docker instructions 2023-04-08 16:41:52 -03:00
Tomás Ralph
f0979b6b8c use latest tag instead of latest commit 2023-04-08 15:29:09 -03:00
geoffrey45
30256a7998 Merge remote-tracking branch 'origin/master' 2023-04-08 20:27:04 +03:00