95 Commits

Author SHA1 Message Date
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
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
f2addf4d0f rewrite api/artist.py to remove artist cache
+ remove processing taylor's version
2023-09-23 18:57:19 +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
83bbe69550 show artist decade in genres
+ assign default artist separators if db is empty
+ add instrumental to album version
+ check if album is a single by checking og_title and current title
+ hard code juice wrld artist name in model
+ set album aritst to first artist if track has no album artist
+ rewrite get_base_album_title regex to use existing album versions
+ misc
2023-09-04 11:01:03 +03:00
mungai-njoroge
da88bbd9cc write LASTFM_API_KEY to config file
+ remove alive bar
2023-08-31 21:36:34 +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
13475b0630 rewrite remove duplicates to support removing duplicates in albums tracks efficiently
+ remove flags added to client settings page
+ misc
2023-08-29 20:04:30 +03:00
mungai-njoroge
a1c2e9fb19 maintain thumbnail aspect ratio in taglib.extract_thumb 2023-08-28 12:43:20 +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
e3a61c109b implement pinning playlists
+ update migrations to add pinned attr to plalist
+ misc
2023-08-22 15:36:43 +03:00
mungai-njoroge
68c2cf1909 read limit from api request query for search 2023-08-20 23:06:16 +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
5cf188dd38 save images in save items as playlist 2023-08-08 12:12:33 +03:00
mungai-njoroge
f28d3f00bd support in_quotes search query 2023-08-06 22:09:39 +03:00
mungai-njoroge
efb6aae927 misc 2023-08-02 14:26:19 +03:00
mungai-njoroge
9c9a187083 create a base class for all migration
+ save folder to playlist, sorting by last_mod
2023-07-31 16:44:37 +03:00
mungai-njoroge
d9688455fb default migrations value to -1
+ tiny fixes
2023-07-30 15:06:56 +03:00
mungai-njoroge
a0c51d5f82 add route to save folder as playlist
+ modify playlist table sql
2023-07-27 13:37:07 +03:00
mungai-njoroge
d4a1a6ee1a fix typeerror on colorlib.py 2023-07-26 11:50:01 +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