169 Commits

Author SHA1 Message Date
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
7749b4fc3c set up track logging
+ install flask restful
2023-12-01 10:55:07 +03:00
mungai-njoroge
8b40792ba0 try: fix workflow build step hanging 2023-11-26 20:21:52 +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
569f86d76c update release yml 2023-11-14 14:31:10 +03:00
mungai-njoroge
49fcb349bd remove traces of telemetry configs and update changelog.md 2023-11-14 13:59:26 +03:00
mungai-njoroge
1d71ba856b use all flag to check drives 2023-11-14 12:54:28 +03:00
mungai-njoroge
5f1bb28f5d remove telemetry from migrations 2023-11-10 16:27:16 +03:00
mungai-njoroge
8b6d10c832 remove telemetry
+ add docstrings to lyrics functions
2023-11-10 16:18:52 +03:00
mungai-njoroge
89b05ff80c handle new env vars during build
+ misc
2023-11-08 00:07:55 +03:00
mungai-njoroge
de5b2a53b1 try catch breaking parts of lyrics plugin 2023-11-07 01:41:06 +03:00
mungai-njoroge
836bbe4dc5 Fix error codes for missing album and lyrics 2023-11-03 17:17:10 +03:00
mungai-njoroge
72947203fa set up plugins 2023-11-03 16:15:21 +03:00
mungai-njoroge
a3281300d0 support lyrics from tags 2023-11-02 20:57:59 +03:00
mungai-njoroge
9c0d4e91de add script to build binary localy 2023-11-01 23:48:56 +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
50eb1657ba update logo 2023-10-11 23:05:32 +03:00
mungai-njoroge
8fc32d7dd8 downgrade pyinstaller 2023-10-11 20:22:21 +03:00
mungai-njoroge
5919a26083 fix: merging albums
+ remove "original" version from soundtrack albums
2023-10-07 10:35:24 +03:00
mungai-njoroge
263379abf3 debunce posthog events to every 5 minutes 2023-09-27 22:06:45 +03:00
mungai-njoroge
d3682e4597 add telemetry method to record app-installed event 2023-09-27 19:30:55 +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
54714a224b ignore unicode characters errors
+ add methods on settings.Keys to verify key !== empty string
2023-09-26 17:59:12 +03:00
mungai-njoroge
5cf0bb8c42 use try ... finally in build arg handler to revert configs 2023-09-26 16:57:40 +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
50ebead026 fix issue with Ed Sheeran albums 2023-09-25 12:24:01 +03:00
mungai-njoroge
a629f12e39 rewrite calculating album date in api/artist.py
+ add images and track count to created playlist object
2023-09-25 08:30:36 +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
f2e110a564 fix: UnicodeEncodeError: 'utf-8' codec can't encode character '\udce0' in position 99: surrogates not allowed 2023-09-19 17:45:28 +03:00
mungai-njoroge
22b1342ff7 add icon to windows dist 2023-09-16 19:48:20 +03:00
mungai-njoroge
23c355d9bf attempt to add icon to executable 2023-09-16 14:49:35 +03:00
mungai-njoroge
6c8f30bbaf fix: updating playlist losing pin state on response object 2023-09-15 00:07:40 +03:00
mungai-njoroge
fcb705cb0c fix: artist albums always sending all albums
+ move setproctitle inside if __name__ in manage.py
2023-09-14 21:04:07 +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
e9284de91f rewrite artist decades genre thing to use math.floor 2023-09-04 19:53:03 +03:00
mungai-njoroge
6c0024f699 add setting to show albums with single track as singles
+ add the above setting to db queries file and migration
2023-09-04 19:46:46 +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
5ff3e5d28a add "&" character to genre separators
+ handle r&b genre and rock&roll
2023-09-04 00:49:45 +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