Commit Graph

53 Commits

Author SHA1 Message Date
cwilvx 82e303f2df bug fixes 2025-01-10 14:33:34 +03:00
cwilvx c77d0927c7 remove deprecated db mappings
+ fix: cli password reset
+ delete old migrations
2024-08-04 10:19:11 +03:00
cwilvx 0463c80070 fix: album favorite state, artist and album colors
+ fix: unserialized artist result
+ misc
2024-08-02 12:25:55 +03:00
cwilvx b0e904c84f port search to stores
+ fix favorites
2024-07-27 21:44:33 +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 8fa64b3a4d support jwt on headers 2024-05-30 22:52:42 +03:00
cwilvx c8325101d5 fix is_favorite setter on populate 2024-05-26 14:17:12 +03:00
mungai-njoroge b8fdadbe36 fix merge conflict 2024-03-27 08:39:30 +03:00
mungai-njoroge 10a60c9ca2 Update artist image download message and lyrics plugin URL 2024-02-24 21:15:18 +03:00
mungai-njoroge ec5889515b show recently added items based on by sorting all tracks
.ie. will still show recent items even if they are 3 months old (is this good or bad?)
2024-02-14 23:09:05 +03:00
thecookingsenpai c153247918 API switch to unrestricted ones 2024-01-31 18:25:01 +01:00
thecookingsenpai e0581259a6 Just some formatting change and utilities for the next step 2024-01-30 15:51:05 +01:00
mungai-njoroge 1cf8e1720d fix cpu_count less than 2 error 2024-01-12 08:22:23 +03:00
mungai-njoroge 300c614a2f handle filenotfound in created_date
+ move store loaders up in populate.py
2023-12-13 23:15:25 +03:00
mungai-njoroge f3faea610e fix: ValueError: Decompressed Data Too Large 2023-10-21 19:32:35 +03:00
mungai-njoroge 574ccf9fea add print on taglib.py, line 60 2023-10-19 11:52:18 +03:00
mungai-njoroge 4f757e989f redesign progressbars
+ hide some progressbars
+ rewrite telemetry into a class
+ remove obsolete start info logs
+ update contributing.md to include contributing.md
+ send posthog event in a bg thread
+ related side effects
2023-09-27 17:18:52 +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 ad88ab4adb modify Dockerfile
+ add special instructions for @volcs0 for debugging
2023-09-20 03:06:01 +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 4271a6f4a0 add route to trigger Populate
+ use instance keys to stop multiple instances of populate
+ move Populate error to a new file
+ misc
2023-08-30 15:58:32 +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 27c4924327 add migration to remove the small thumbs path
+ misc
2023-08-12 18:23:28 +03:00
mungai-njoroge 0a703dcc0f A LOTTTT ...
+ fix help text
+ run populate once when -nps flag is used
+ update app version
+ sort tracks by track and disc no. when saving to playlist
+ serialize search results
+ update tags.artist -> tags.artists
+ update tags.albumartist -> tags.albumartists
+ remove artist images from serialized albums
+ add function to serialize artists for cards
+ misc
2023-08-10 10:30:42 +03:00
mungai-njoroge d9688455fb default migrations value to -1
+ tiny fixes
2023-07-30 15:06:56 +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 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 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
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 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 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 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 838e19cf0f fix: errors raised by Pycharm 2023-02-01 14:00:21 +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