Commit Graph

83 Commits

Author SHA1 Message Date
cwilvx ec9f392d73 write path hash on image property 2025-01-07 23:21:31 +03:00
cwilvx fe39cadfdc feat: use thumbnails from folders
+ cache failed lastfm scrobbles
+ implement lastfm scrobble filter
+ change /home to /nothome
2025-01-07 23:13:19 +03:00
cwilvx 37374d6c82 use artist tracks in period to generate mix 2024-12-01 22:00:22 +03:00
cwilvx 333fd6603f move recently added to routines 2024-11-17 20:08:04 +03:00
cwilvx 498d0688b0 migrate homepage items to homepage routine
+ add Mix db model
2024-11-10 19:38:51 +03:00
cwilvx 1fdd5ba4d1 supplement mixes using other remote similar albums and artist data 2024-11-01 12:23:41 +03:00
cwilvx f6373292aa document and add image to mix 2024-10-28 16:42:51 +03:00
cwilvx f2153d936d implement mix tracklist balancing 2024-10-27 06:35:37 +01:00
cwilvx c4a73f0d63 first recommendation draft 2024-10-25 23:26:08 +03:00
cwilvx aea8c15f6f fix: show stats by logged in user 2024-10-21 10:01:41 +03:00
cwilvx e689d81d81 fix: stat wrong key 2024-10-15 15:38:15 +03:00
cwilvx be4a442a3b add stats to artist and album endpoints
return artist albums and other versions
2024-10-15 15:30:35 +03:00
cwilvx 6ead0d12df fix: new artists played report on charts 2024-10-14 17:45:18 +03:00
cwilvx 99f9bc80c9 add new favorites to stats 2024-10-14 17:23:29 +03:00
cwilvx ee67e87532 rearrange stat items 2024-10-13 20:04:10 +03:00
cwilvx 2c6daf353c static date ranges 2024-10-13 19:16:19 +03:00
cwilvx ba6238abfd add stat items 2024-10-08 00:41:33 +03:00
cwilvx 4be2b80bf9 draft stats 2024-10-05 08:32:26 +03:00
cwilvx ca31054f48 fix: folder endpoint returning same track for different files of the same trackhash
+ fix: chunked streaming. return instead of yield chunks
2024-08-15 17:07:34 +03:00
cwilvx cd992419c5 implement artist split ingore list
+ move post processing of tags to the track model
+ rebuild stores on settings update via API
+ check files from the store instead of the db when streaming
+ remove deprecetated table columns
+misc
2024-08-10 08:42:13 +03:00
cwilvx c77d0927c7 remove deprecated db mappings
+ fix: cli password reset
+ delete old migrations
2024-08-04 10:19:11 +03:00
cwilvx a5634f267f move to xxh3 hashing algorithm
+ port: search
2024-07-03 11:12:06 +03:00
cwilvx 5759521de0 fix: recently added 2024-06-30 21:40:49 +03:00
cwilvx b9ad07441a store playcount and duration on the track table
+ allow sorting all items with those two
+ add methods to update scrobble info
2024-06-30 19:33:13 +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 b40f05cc7c implement CLI password recovery (hacky :omg:)
+ rewrite migrations logic
+ rename encode_password to hash_password
+ update image sizes (add medium size)
+ rename image endpoints
2024-05-11 21:26:03 +03:00
cwilvx 999b802f7d guess audio mimetypes 2024-05-08 11:15:02 +03:00
mungai-njoroge fdf3186be6 salt passwords using userid 2024-05-03 23:22:09 +03:00
mungai-njoroge 04957dd5a9 set up auth 2024-04-25 18:18:52 +03:00
mungai-njoroge 2f6e705c75 fix: absolute config path not resolving
+ skip through empty directories in folder browser
+ handle timestamp table error in migration
2024-04-01 11:02:27 +03:00
mungai-njoroge b8fdadbe36 fix merge conflict 2024-03-27 08:39:30 +03:00
mungai-njoroge 0af1ae1d8e Finish documentation for all endpoints
+ fix #193 (settings https redirect)
+ fix open api docs on binary
+ fix git error on binary
+ remove flask-restful

hopefully, I didn't break something 😩
2024-03-24 16:14:47 +03:00
mungai-njoroge 766eb388b2 add timestamp to favorite entries
+ convert useBisection into a function
2024-03-24 16:14:47 +03:00
mungai-njoroge 10a60c9ca2 Update artist image download message and lyrics plugin URL 2024-02-24 21:15:18 +03:00
mungai-njoroge 67f28b8a9b steal some of @tcsenpai 's changes from the PR
+ ditch the LAST FM API KEY thing
+ expose the Musixmatch urls
+ use the kerve last fm api to download similar artist data
+ use google.it instead of the Google public dns to check internet connectivity (to make it work in all environments)
+ return og Dockerfile to fix ARM support
2024-02-16 23:57:23 +03:00
mungai-njoroge 4f48c33009 fix: recently added items sort order in the homepage
.ie. stop relying on folder last mod date, and use the latest file from the folder

+ bump watchdog to v4
+ add WIP docs (stashed in .github/code.docs for now)
2024-02-16 21:30:42 +03:00
mungai-njoroge b7e86ed79b add time ago on recent items
+ move to waitress wsgi server
+ refactor dates utils
+ create locustfile for stress test
2024-02-11 21:10:52 +03:00
thecookingsenpai f66bca67ac Testing with SHA1 gives positive results, also changed the truncation rule 2024-02-02 16:31:18 +01:00
thecookingsenpai f0a8aa02a9 opted for sha1 2024-02-01 20:32:31 +01:00
thecookingsenpai 077661b73c lighter md5 method to be nicer on older cpus 2024-02-01 20:24:42 +01:00
thecookingsenpai bc51150e47 failproof online check (fixes vpns and dns tunnels) 2024-01-31 18:25:20 +01:00
Mungai Njoroge cb47a4bc6e Update hashing.py 2024-01-22 22:38:01 +03:00
mungai-njoroge 8c44aeff3d update create_hash docstring 2024-01-22 22:35:27 +03:00
mungai-njoroge 258897b649 add silence removal using pydub and multithreading
+ fix favorites endpoint returning items less than limit
+ add endpoint to remove get silence padding
+ add 'the ulitimate' and 'compilation' to compilation album filters
+ misc
2024-01-05 01:08:07 +03:00
mungai-njoroge 336360d509 add routes to get all albums and artists with sort
+ rewrite load all albums + artist logic with itertools.groupby
+ add a function to convert seconds to string
2023-12-08 09:20:51 +03:00
mungai-njoroge 5a420214f2 fix playlist last update
+ create a recently added playlist on get api
2023-12-03 12:56:56 +03:00
mungai-njoroge b03e721ee5 add routes for getting recently added items 2023-12-02 01:59:03 +03:00
mungai-njoroge 38650a1a7e Refactor file: taglib.py and utils/parsers.py
Add dataclass and pathlib imports in taglib.py

Add clean_filename, ParseData, and extract_artist_title functions in
taglib.py

Modify get_tags function in taglib.py to use extract_artist_title
function

Modify LyricsProvider class in lyrics.py to add timeout parameter in
session.get

Remove parse_artist_from_filename and parse_title_from_filename
functions in utils/parsers.py

Add split_artists function in utils/parsers.py

Remove parse_artist_from_filename and parse_title_from_filename
functions in utils/parsers.py

Add remove_prod function in utils/parsers.py

Refactor code and improve code readability
2023-11-22 15:44:31 +03:00