Commit Graph

121 Commits

Author SHA1 Message Date
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
mungai-njoroge 9dff629e1f add tracks_only param to get folder tracks 2023-12-02 11:11:24 +03:00
mungai-njoroge b03e721ee5 add routes for getting recently added items 2023-12-02 01:59:03 +03:00
mungai-njoroge d069c3bbf3 fix late start 2023-11-26 20:15:24 +03:00
mungai-njoroge eacad79ad2 update release yml 2023-11-25 12:02:27 +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
mungai-njoroge 1d71ba856b use all flag to check drives 2023-11-14 12:54:28 +03:00
mungai-njoroge 8b6d10c832 remove telemetry
+ add docstrings to lyrics functions
2023-11-10 16:18:52 +03:00
mungai-njoroge a3281300d0 support lyrics from tags 2023-11-02 20:57:59 +03:00
mungai-njoroge 2321288be0 add methods to open lyric files
+ add api endpoints to check and get lyrics
2023-10-30 17:44:24 +03:00
mungai-njoroge 5fb465c921 add lyrics route and methods 2023-10-29 13:47:03 +03:00
mungai-njoroge 80a467098f revert to jpg artist images 2023-10-21 20:14:13 +03:00