162 Commits

Author SHA1 Message Date
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
geoffrey45
c9cd61df7c add media queries 2022-01-22 04:15:00 +03:00
dependabot[bot]
edac82f00c
Bump ipython from 8.0.0 to 8.0.1 in /server
Bumps [ipython](https://github.com/ipython/ipython) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](https://github.com/ipython/ipython/compare/8.0.0...8.0.1)

---
updated-dependencies:
- dependency-name: ipython
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 20:48:42 +00:00
geoffrey45
1d1e697fd2 major refactors
- remove jpgs
- add new album header
- remove duplicate components
- display album bio on client
- add a route loader module
- change color scheme
- other minor changes
2022-01-18 20:51:22 +03:00
geoffrey45
2ee8d27bf0 server: add get album bio from last fm function
- co-written by Github Copilot
2022-01-17 12:32:27 +03:00
geoffrey45
a720891c20 add featured artists in albumview 2022-01-15 18:18:55 +03:00
geoffrey45
1b9e6821d6 separate playFolder and playAlbum 2022-01-15 10:58:32 +03:00
geoffrey45
42acaba87c major refactoring 😫
- move instances to separate module
- import functions as modules
- add docstrings to helper functions
- add threaded populate() function
- remove unused functions and files
- add typing info to helper functions
- move large functions to separate module
- Introduce independent search input to directory view (demo)
- Handle Ctrl + F (yaay 💪😜)
- few *more* forgotten changes to the client
- phew!
2022-01-14 21:00:27 +03:00
geoffrey45
6345f04d25 Merge branch 'master' of github.com:geoffrey45/musicx-vue 2022-01-14 20:47:09 +03:00
geoffrey45
00e2b06e9d major refactoring
- move instances to new file
- import functions as modules
- add docstrings to helper functions
- add threaded populate() function
- remove unused functions and files
- add typing info to helper functions
- other unremembered changes to the client
2022-01-14 20:46:55 +03:00
dependabot[bot]
d2159df99f
Bump pillow from 8.4.0 to 9.0.0 in /server
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.4.0...9.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 04:28:19 +00:00
geoffrey45
e473b5db92 misc 2022-01-11 03:36:42 +03:00
geoffrey45
521c195570 client: move table items to a independent component 2022-01-11 01:36:04 +03:00
geoffrey45
cdfdadaa68 add more bugs 2022-01-10 08:24:40 +03:00
geoffrey45
0340b64b04 client: migrate to solid dark mode 2022-01-05 05:45:55 +03:00
geoffrey45
1cb6843dc3 move loader to search bar 2021-12-31 21:56:38 +03:00
geoffrey45
61e7ff7188 blacken search component 2021-12-30 21:32:12 +03:00
geoffrey45
477072daf0 client: try new icon set
- server: fix search endpoint
2021-12-30 00:13:53 +03:00
geoffrey45
c8d1f5f012 server: 😜 fix remove dups 2021-12-29 22:49:58 +03:00
geoffrey45
6dbf8efb90 minor refactors 2021-12-29 18:42:38 +03:00
geoffrey45
c49e1e48f1 fix incorrect album fetching 2021-12-28 10:08:31 +03:00
geoffrey45
01f31f4dc6 remove regex in album songs query 2021-12-27 23:31:48 +03:00
geoffrey45
ff6a4e34b5 add album header info 2021-12-27 23:12:00 +03:00