Commit Graph

182 Commits

Author SHA1 Message Date
cwilvx b0e904c84f port search to stores
+ fix favorites
2024-07-27 21:44:33 +03:00
cwilvx 8f592a4636 port recents endpoints to use stores 2024-07-19 23:07:22 +03:00
cwilvx 58c90d95b1 rewrite album and artist stores using in-mem hashmap stores 2024-07-15 00:26:56 +03:00
cwilvx 83e105a198 paginate folder tracks endpoint 2024-07-13 12:37:08 +03:00
cwilvx e07d8db8e0 try sending the first song in a group 2024-07-07 16:59:10 +03:00
cwilvx c116957982 try hashmap trackstore 2024-07-07 16:52:18 +03:00
cwilvx 2ba5d6c1d7 document + rename stuff 2024-07-07 16:07:27 +03:00
cwilvx 2e63aa4a41 fix: artist track count
+ fix: album type on artits page
+ sort by release date help text on get all
2024-07-03 15:57:05 +03:00
cwilvx a5634f267f move to xxh3 hashing algorithm
+ port: search
2024-07-03 11:12:06 +03:00
cwilvx a3c4558d52 port: recent items for homepage 2024-06-30 23:11:33 +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 54a1b85d8b port: artist page 2024-06-24 22:08:05 +03:00
cwilvx 3593b205eb save extra tags
+ port: streaming
2024-06-24 20:48:13 +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 b32d0a5743 add a pairing endpoint
+ append / to folder paths
+ filter recently played by logged in user id
+ fix typo in login response
+ update track logger migration to add foreign key
2024-06-09 16:14:09 +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
cwilvx 0b8a5e92f5 attach favorites to logged in user 2024-05-25 15:12:44 +03:00
cwilvx bbcacf81bd add recently played playlist 2024-05-23 12:42:36 +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
mungai-njoroge 36600ab782 fix: chunked audio stream
desc: faulty content range headers

+ fix: tracks not being removed from db on root dirs change
+ implement implicit jwt refreshing
+ remove enableGuest from configs
+ set jwt validity to 30 days
2024-05-05 23:55:25 +03:00
mungai-njoroge 5d947f3ad9 protect settings write routes
+ prevent updating guest user
+ add docs to whitelisted auth routes
+ fix: sort in get all route
+ fix: folders not having trailing slash in recentlyplayed
2024-05-01 23:44:38 +03:00
mungai-njoroge a99d8c654d bump large thumbnails to 512 px
+ stop extracting original thumbnails
2024-04-13 20:25:43 +03:00
mungai-njoroge 4b04b8b155 fix folder count
+ fix: file count when you have similar folder names
+ enforce trailing / on track folder paths
2024-04-07 19:19:48 +03:00
mungai-njoroge 14f3479baa try streaming files as chunks 2024-04-05 08:29:38 +03:00
mungai-njoroge ea086a77af clean folder tracks response 2024-04-04 17:21:59 +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 ae031014a9 add docs for playlist endpoints
+ limit recently added tracks to 100
2024-03-24 16:14:47 +03:00
mungai-njoroge fb635ff35f add api docs for streaming routes
+ add trackhash schema
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 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 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
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 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 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 300c614a2f handle filenotfound in created_date
+ move store loaders up in populate.py
2023-12-13 23:15:25 +03:00
mungai-njoroge 8ff09925a2 remove old Dockerfile 2023-12-11 18:55:38 +03:00
mungai-njoroge 4412902312 handle favorites on recently played
+ use client side timestamp on track logger
2023-12-10 13:27:54 +03:00
mungai-njoroge 312df06fc3 add help text to recently played
+ read app version from the env
2023-12-09 22:18:20 +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 7f87cde96c add favs count to fetch endpoint + remove filetype from track 2023-12-06 11:12:27 +03:00
mungai-njoroge fd71989c6d fix home dir play card info 2023-12-04 14:17:08 +03:00
mungai-njoroge ddfa7f1b03 add methods to get recently played items 2023-12-03 20:35:13 +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