184 Commits

Author SHA1 Message Date
geoffrey45
c8e4529e3c escape special chars in count_documents regex
- thanks github copilot ❤️
2022-07-07 08:37:02 +03:00
restyled-io[bot]
e77f2b9f2b
Restyle Remove global lists and read everything from the database. (#71) 2022-07-06 17:41:01 +03:00
restyled-io[bot]
73891aa5cf Restyle New album page design (#77) 2022-07-06 17:38:33 +03:00
geoffrey45
95ad7ceadc add new default.webp 2022-07-06 17:38:33 +03:00
geoffrey45
40fcbfd576 add the albumhash prop to the fallback track object
- plus other tiny changes
2022-07-06 17:38:33 +03:00
geoffrey45
6fbf179f34 fix watchdog
- remove creating album feature from watchdog (rely on the periodic function)
2022-07-06 17:38:33 +03:00
geoffrey45
b318c0d324 calculate playlist duration
- use python's `sum()` method to add durations instead of for loop
2022-07-06 17:38:33 +03:00
restyled-io[bot]
714775a67e Restyle New album page design (#76) 2022-07-06 17:38:33 +03:00
geoffrey45
77a5d2b7c2 send processing album colors to a background thread
- use white color as default album page play button color
- return 404 if album is None on get_album_bio()
2022-07-06 17:38:33 +03:00
geoffrey45
34a214df22 use album colors on album header play button
- use alnum chars only on hashes
- add underline on track album hover
2022-07-06 17:38:33 +03:00
geoffrey45
5acb8cb84d check if album colors have contrast
- remove albumid field from album class
- set accent color to $red
2022-07-06 17:38:33 +03:00
geoffrey45
a23b6200eb add colors to album page header
- add colors attribute to the album class
- render color gradient in the album page
2022-07-06 17:38:33 +03:00
geoffrey45
f919ce35df try new bottom components 2022-07-06 17:38:33 +03:00
geoffrey45
2f78ee3883 fix album search 2022-07-06 17:38:33 +03:00
geoffrey45
22ff52e86e use album hash to resolve album page 2022-06-26 19:05:36 +03:00
geoffrey45
92ef22596b fix removing duplicate tracks
- add uniq_hash prop to Track class
2022-06-26 18:46:17 +03:00
geoffrey45
3eaab97f1f replace background image with svg
- add symlink svg
- fix validate playlist thumbnails
2022-06-23 12:32:07 +03:00
geoffrey45
de7aba3ba7 show toast if album return 204 2022-06-23 08:30:55 +03:00
geoffrey45
5fb920f958 finalize thumbnail validators
- add logger colors
2022-06-22 11:11:13 +03:00
geoffrey45
a92e1be799 blind write thumbnails validating methods 2022-06-21 17:13:19 +03:00
geoffrey45
3cd0527962 use count_documents to get folder count
- map filenames with db data
2022-06-21 16:24:27 +03:00
geoffrey45
2b5e9c02bb add timeout to Ping 2022-06-21 08:46:43 +03:00
geoffrey45
61f9af86aa remove default images and memoji implementation 2022-06-20 13:16:21 +03:00
geoffrey45
84880f8cad provide fallback image
return fallback image if image is not found @imgserver
2022-06-20 13:00:59 +03:00
geoffrey45
12c8406a0d add ping check
- fix artist downloader function
2022-06-20 09:49:16 +03:00
geoffrey45
3cf44759b5 process albums seperate from tracks
- break populate function into 2
2022-06-19 14:45:25 +03:00
geoffrey45
06ed41d869 BREAK EVERYTHING
- some broken edits
2022-06-17 20:29:09 +03:00
geoffrey45
7718a7c99f more edits
- watchdog still broken
2022-06-17 10:22:53 +03:00
geoffrey45
92e2420174 rewrite some fetch methods to use the useAxios hook 2022-06-16 14:18:45 +03:00
geoffrey45
79a7161827 fix search to read from database 2022-06-16 09:36:42 +03:00
geoffrey45
88247e0553 blind write search methods 2022-06-13 20:40:23 +03:00
geoffrey45
b6c5c57186 create methods to fetch data from the database
- start using a class to hold search query results
2022-06-13 17:11:58 +03:00
geoffrey45
030ab8a379 refactor most things to use the database directly 2022-06-13 14:45:18 +03:00
geoffrey45
f1ec6309ba fix current track in queue auto scroll position
- add another inner container to limit the offset
- auto scroll current track to container start
- add todo file
2022-06-13 09:17:00 +03:00
geoffrey45
9a2635d7c3 rewrite some for loops with UseBisection 2022-06-12 11:19:25 +03:00
geoffrey45
a14f35b0e5 use hash mode in vue router
- rename keyboard.ts -> useKeyboard.ts
2022-06-09 19:47:38 +03:00
geoffrey45
c1834778f1 add "single" label if album is a single 2022-06-09 12:52:14 +03:00
geoffrey45
84bf467d9f fix folder tracks being None 2022-06-08 14:24:26 +03:00
geoffrey45
7b41d91b83 show whether album is soundtrack or compilation 2022-06-07 16:48:12 +03:00
geoffrey45
e75ac3e394 add is_soundtrack and is_compilation flags to album objects 2022-06-07 16:47:44 +03:00
Mungai Geoffrey
4e1e1b8979
move nav folder-paths into a new component (#66)
* move folder-paths into a new component

* move nav playlist title into new components
2022-06-07 12:51:47 +03:00
geoffrey45
f7218875a6 remove unused imports 2022-06-07 11:28:27 +03:00
Mungai Geoffrey
824d3c6a86
use scandir to read dir content on file explorer (#64) 2022-06-07 11:26:55 +03:00
geoffrey45
892a090ed5 import pymongo at db/mongobd/tracks.py 2022-06-04 11:00:12 +03:00
Mungai Geoffrey
4302fea0b7
Move MongoDB classes into a seperate db module (#62)
* move album class into mongodb dir

* inherit AlbumMethods at DB Initialization level

* move album -> db/mongodb

* move mongodb classes into separate package
2022-06-04 10:57:36 +03:00
geoffrey45
d51c5e46d2 update flask-caching to 1.11.1 2022-06-01 10:21:49 +03:00
geoffrey45
9879f131e8 rewrite getting artist images using classes
- remove left padding on #acontent
2022-05-31 00:05:37 +03:00
restyled-io[bot]
2b33fb87a2
Restyle Implement Fuzzy search using rapidfuzz (#60) 2022-05-26 19:12:04 +03:00
geoffrey45
16857b5053 minor refactors 2022-05-22 19:29:37 +03:00
geoffrey45
6ef725c0ae separate search endpoints 2022-05-22 19:26:54 +03:00