184 Commits

Author SHA1 Message Date
geoffrey45
4aa8576c73 rewrite album and artist search with rapidfuzz 2022-05-22 03:23:42 +03:00
geoffrey45
4040b99518 rewrite search functions as classes 2022-05-18 18:04:01 +03:00
geoffrey45
8405efede0 add argument to start image server 2022-05-18 18:03:38 +03:00
geoffrey45
edaa4cf232 install rapidfuzz 2022-05-18 18:03:07 +03:00
geoffrey45
8b62fe78fa add comments to some store functions
- some refactors to modals
2022-05-13 20:50:58 +03:00
geoffrey45
afaee8ec57 remove brackets 2022-05-10 13:23:21 +03:00
geoffrey45
b13dad4c34 move "determining last updated date" to the server 2022-05-10 13:20:07 +03:00
geoffrey45
d52c8ac8fe move fetching album bio to a class 2022-05-10 13:17:01 +03:00
geoffrey45
8dfa6834ad remove deprecated nginx configs 2022-05-10 13:15:59 +03:00
geoffrey45
d49cc65903 install tqdm 2022-05-10 08:23:46 +03:00
geoffrey45
7c38b0a9f3 revert to for-loop for creating albums
- use ThreadPoolExecutor to create tracks
2022-05-10 08:22:41 +03:00
geoffrey45
86c2744e07 replace progress.bar with tqdm 2022-05-10 08:20:24 +03:00
geoffrey45
f913e59103 minor UI fixes 2022-05-07 19:33:54 +03:00
geoffrey45
fb67f568ad fix messed up bisection search 2022-05-07 14:45:16 +03:00
Mungai Geoffrey
d6a01cd35e
Merge - fix search and add correct image path for album card (#52) 2022-05-04 03:17:43 +03:00
restyled-io[bot]
00532d0447
Restyle Replace nginx with flask server (#50) 2022-05-04 02:43:29 +03:00
geoffrey45
43fc33640d refactor references to use new image server 2022-05-04 02:34:27 +03:00
restyled-io[bot]
559b36bd7b
Restyle Move populate to new file (#48) 2022-05-04 01:42:26 +03:00
geoffrey45
4c09350b41 move the populate function to separate file 2022-05-04 01:36:27 +03:00
geoffrey45
1e7af1a800 add a flask module to serve images 2022-05-02 13:45:24 +03:00
geoffrey45
6527b3abc5 create albums from pre-albums instead of individual tracks 2022-04-25 11:59:36 +03:00
restyled-io[bot]
d1c83ef8b6
Restyle Save complete albums to the db for faster startup (#38) 2022-04-21 10:25:56 +03:00
geoffrey45
d98cc0547e Save complete tracks and albums to the db for faster startup
- refactor function locations
- add logger
- check for new tracks instead of re-processing all files
2022-04-21 10:16:45 +03:00
Mungai Geoffrey
ef68cae625
Use gunicorn instead of Werkzeug and 32 more very minor changes (#35) 2022-04-21 03:29:42 +03:00
Mungai Geoffrey
8da63e7ca9
Merge branch 'master' into integrate-topbar 2022-04-14 11:40:32 +03:00
restyled-io[bot]
a6e46dcde2
Restyle Integrate topbar and refactor playlists page (#31) 2022-04-14 11:39:26 +03:00
Mungai Geoffrey
d285a3edf7
fix playlist image being lost on title edit (#29) 2022-04-14 11:31:52 +03:00
geoffrey45
85c59b4cba Integrate nav
- other minor refactors
2022-04-14 11:30:19 +03:00
geoffrey45
90d646d674 fix playlist image being lost on title edit 2022-04-09 10:13:32 +03:00
restyled-io[bot]
2e512bc223
Restyle Add edit playlist modal (#28)
* Restyled by black

* Restyled by clang-format

* Restyled by isort

* Restyled by prettier

* Restyled by prettier-markdown

* Restyled by reorder-python-imports

* Restyled by whitespace

* Restyled by yapf

Co-authored-by: Restyled.io <commits@restyled.io>
2022-04-09 02:19:27 +03:00
geoffrey45
e23067574e fix merge conflict 2022-04-09 00:28:11 +03:00
geoffrey45
83330a7fad 🔷 refactor context menu to accept context src
🔷 add a getCurrentDate function to get formatted date
2022-04-08 21:07:24 +03:00
geoffrey45
6e360fcdac 🔶 fix passed time converter function 2022-04-08 21:01:36 +03:00
restyled-io[bot]
aa79214a50
Restyle Add edit playlist modal (#26)
* Restyled by autopep8

* Restyled by black

* Restyled by isort

* Restyled by reorder-python-imports

* Restyled by yapf

Co-authored-by: Restyled.io <commits@restyled.io>
2022-04-08 06:55:00 +03:00
geoffrey45
0e946974a3 🔶 add update_playlist route 2022-04-08 06:28:49 +03:00
geoffrey45
6cf9a58d6d 🔷 add PlayingFrom component to right sidebar
🔷 move upNext card into separate component
🔷 a lot of refactors
2022-04-03 21:47:57 +03:00
geoffrey45
334cf0fce1 🔶 add Playlist serializer 2022-04-03 21:46:32 +03:00
Restyled.io
bb69ac1fc1 Restyled by yapf 2022-04-03 13:47:28 +03:00
Restyled.io
dc683e6314 Restyled by reorder-python-imports 2022-04-03 13:47:28 +03:00
Restyled.io
3a699365c8 Restyled by isort 2022-04-03 13:47:28 +03:00
Restyled.io
076f42b81f Restyled by black 2022-04-03 13:47:28 +03:00
Restyled.io
ec7352ec56 Restyled by autopep8 2022-04-03 13:47:28 +03:00
geoffrey45
9c16d27507 🔶 fix saving image names with / in them 2022-04-03 13:47:28 +03:00
geoffrey45
9c808aa817 🔷 redesign playlist header 2022-04-03 13:47:28 +03:00
geoffrey45
42df577c1b [server] fix watchdog 2022-04-03 09:38:52 +03:00
geoffrey45
dbb27734fe major refactors
- add album page store
- show loaders in beforeEnter guards
- show bitrate on now playing card
- etc
2022-04-03 01:03:32 +03:00
geoffrey45
0c1e792839 major refactors 2022-03-30 14:56:40 +03:00
geoffrey45
69b691284d [client] add playlists and playlist page 2022-03-29 00:35:39 +03:00
geoffrey45
e8994ce9ae [server] minor refactors 2022-03-27 18:15:11 +03:00
geoffrey45
ac988b8a96 [server] create folder on track add 2022-03-27 18:14:45 +03:00
geoffrey45
fe0d7cae1a [server] fix playlist methods
- deepcopy playlists in get_all_playlists
2022-03-27 18:13:51 +03:00
geoffrey45
8bb13a109d Add Exceptions 2022-03-27 18:12:20 +03:00
geoffrey45
8533fdb7ee handle existing playlist name 2022-03-26 12:32:10 +03:00
geoffrey45
e2544dbbdc try adding playlists list to context menu - unsuccsessfully 2022-03-25 20:51:22 +03:00
geoffrey45
67c3be7d40 misc refactors and docstrings addition 2022-03-24 00:25:00 +03:00
geoffrey45
bab2228a28 move watchdoge into app/lib 2022-03-24 00:24:14 +03:00
geoffrey45
b7ed9c005d add folderslib 2022-03-24 00:23:43 +03:00
geoffrey45
2bb5a89a8f refactor references 2022-03-21 01:01:06 +03:00
geoffrey45
cf14610509 breakdown models.py into db module and object models 2022-03-21 01:00:13 +03:00
geoffrey45
fcfd0c7936 create the lib module 2022-03-21 00:59:51 +03:00
geoffrey45
d7b4e97ecf add more configs 2022-03-21 00:58:57 +03:00
geoffrey45
e889d0ef55 break down the api blueprint into smaller blueprints 2022-03-20 16:29:31 +03:00
geoffrey45
1908633f9d fix watchdoge.py add_track() 2022-03-19 02:20:40 +03:00
geoffrey45
f8710a1596 server: move all stores to api.py 2022-03-18 19:57:31 +03:00
geoffrey45
39fba364d3 add image -> readme 2022-03-08 09:56:58 +03:00
geoffrey45
c3059d502c fix album search
- convert strings to lowercase before search
2022-03-08 09:25:07 +03:00
geoffrey45
25f79d8a20 complete project teardown 2022-03-07 20:16:35 +03:00
geoffrey45
b930fc0ca6 iniitialize project teardown 2022-03-07 06:49:56 +03:00
geoffrey45
7f2102f931 refactor UI layout 2022-03-06 10:27:01 +03:00
geoffrey45
eebe6b4440 add navbar and new logo 2022-03-04 08:02:01 +03:00
geoffrey45
6931cd926c sort files by creation date 2022-03-02 15:12:13 +03:00
geoffrey45
59646ce7f1 add save track color functions 2022-03-02 15:11:17 +03:00
geoffrey45
6fcca991b8 inlcude album duration in album info 2022-03-02 10:19:36 +03:00
geoffrey45
fb744fcbbd include artist track results in tracks search results 2022-03-02 10:18:54 +03:00
geoffrey45
6efbb47166 some bug fixes
- watch route params instead of route object in folderview
- move to script setup on album view
- use album as a reactive object instead of refs
- use axios instead of fetch to get album data
- improve clickable areas on songItem
- move album requests to POST
2022-03-01 19:46:37 +03:00
geoffrey45
8459310258 loadmore tracks, albums, artists 2022-02-26 07:57:02 +03:00
geoffrey45
ca790e97d9 more refactors 2022-02-24 09:05:50 +03:00
geoffrey45
fe07961757 convert track_id --> trackid 2022-02-23 02:46:06 +03:00
geoffrey45
a6bb5059b0 add new album header 2022-02-19 18:43:17 +03:00
geoffrey45
dcfb0a6ed1 handle watchdog events
- handle on_created event
- handle on_moved event
- handle on_deleted event
- watch whole ~ directory
2022-02-16 18:35:28 +03:00
geoffrey45
8b25fc4844 minor refactoring 2022-02-16 18:32:34 +03:00
geoffrey45
093c64f534 add remove_song_by_id method 2022-02-16 18:31:58 +03:00
geoffrey45
5446b1fe4b prevent type coercion
- remove unused imports
- minor refactors and cleanups
2022-02-16 15:06:29 +03:00
geoffrey45
9972caf7d3 add default images 2022-02-16 15:03:05 +03:00
geoffrey45
1caef9d3a2 add file watcher
- disable double flask instances
- remove unused files
- play song by id (instead of from nginx)
2022-02-16 15:02:36 +03:00
geoffrey45
1802e02179 move from pipenv to poetry 2022-02-13 21:38:31 +03:00
geoffrey45
462acd0229 fix from albumView to other routes bug
- add nginx sites
- add setup script (untested**)
2022-02-13 17:18:23 +03:00
geoffrey45
214ae82344 improve nowPlaying alignment 2022-02-08 00:39:08 +03:00
geoffrey45
f93fa79fc5 improve look of the folder item card 2022-02-07 14:59:35 +03:00
geoffrey45
dd81099b36 fix queue update 2022-02-06 23:43:00 +03:00
geoffrey45
60ba512e64 add docstrings to python code 2022-02-06 23:26:22 +03:00
geoffrey45
195a50382a server: better structure album tracks endpoint
- client: add now-playing and recommendations to home right-sidebar
2022-02-06 19:17:26 +03:00
geoffrey45
73dec9189e fix albumView using watch function
- other minor changes to almost all files
2022-02-02 21:45:23 +03:00
geoffrey45
3eef90dc8a move global search to right sidebar 2022-01-30 00:58:53 +03:00
geoffrey45
13ee2ed1d6 start migration to <script setup> 2022-01-26 10:01:35 +03:00
geoffrey45
d6204946c2 Migrate to vite and some more stuff
- server: add a `Track` class
- server: add a create_track_class function
- client: migrate from vue-cli to vite
2022-01-25 11:51:26 +03:00
geoffrey45
7689f13fdc break down search component into smaler components 2022-01-23 10:27:39 +03:00
geoffrey45
7945c04a06 create re-usable components 2022-01-22 12:04:33 +03:00
geoffrey45
f6787421c3 debounce global search 2022-01-22 07:07:43 +03:00
geoffrey45
7da7b2f616 dependabot: fix vulnarabilities in ipython 2022-01-22 04:15:17 +03:00