24 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]
714775a67e Restyle New album page design (#76) 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
3cd0527962 use count_documents to get folder count
- map filenames with db data
2022-06-21 16:24:27 +03:00
geoffrey45
3cf44759b5 process albums seperate from tracks
- break populate function into 2
2022-06-19 14:45:25 +03:00
geoffrey45
79a7161827 fix search to read from database 2022-06-16 09:36:42 +03:00
geoffrey45
030ab8a379 refactor most things to use the database directly 2022-06-13 14:45:18 +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
b13dad4c34 move "determining last updated date" to the server 2022-05-10 13:20:07 +03:00
geoffrey45
7c38b0a9f3 revert to for-loop for creating albums
- use ThreadPoolExecutor to create tracks
2022-05-10 08:22:41 +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
restyled-io[bot]
a6e46dcde2
Restyle Integrate topbar and refactor playlists page (#31) 2022-04-14 11:39:26 +03:00
geoffrey45
85c59b4cba Integrate nav
- other minor refactors
2022-04-14 11:30:19 +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
0c1e792839 major refactors 2022-03-30 14:56:40 +03:00
geoffrey45
67c3be7d40 misc refactors and docstrings addition 2022-03-24 00:25:00 +03:00
geoffrey45
cf14610509 breakdown models.py into db module and object models 2022-03-21 01:00:13 +03:00