Commit Graph
100 Commits
Author SHA1 Message Date
geoffrey45 c562e529fd implement clearing search input on start typing
+ rename pages folder to fetch in composables folder
2022-08-02 23:58:05 +03:00
geoffrey45 ef2926f18f group album tracks as they appear (in queue)
+ move handling disc logic to the album store
2022-08-02 23:46:13 +03:00
geoffrey45 3dcb8ed2ef handle discs in album page 2022-08-02 22:47:19 +03:00
geoffrey45 11d33e9617 fixed disc_number typo on server 2022-08-02 20:44:29 +03:00
geoffrey45 deb65f3405 add time to now playing card 2022-08-02 18:55:09 +03:00
geoffrey45 b618490676 add a buggy method to clear queue 2022-08-02 18:27:23 +03:00
geoffrey45 44df8b47cb move Queue actions to a component
+ update vue and vite to latest releases
2022-08-02 13:57:09 +03:00
geoffrey45 6fffebdf08 add queue action buttons 2022-08-02 13:37:22 +03:00
geoffrey45 b070601d4d break down global.scss into smaller files
+ rename css folder to scss
2022-08-02 12:05:59 +03:00
geoffrey45 c2783fe540 remove @vueuse/motion
+ remove unused data folder
2022-08-02 05:42:07 +03:00
geoffrey45 3d2e436d9e remove unused images 2022-08-02 05:32:48 +03:00
geoffrey45 a29e4ab496 remove filter on album image on album page 2022-08-02 05:31:15 +03:00
geoffrey45 bc449631a6 use flex to space folder page 2022-08-02 03:27:39 +03:00
geoffrey45 5c3a77ce48 Merge branch 'master' into try-folder-banner
~ Merge component spacing edits to the try-folder-banner branch
2022-08-02 03:18:21 +03:00
geoffrey45 e45dd6c2b1 more padding + margin edits 2022-08-02 03:12:28 +03:00
geoffrey45 9e1f73e281 set global margin on the main app grid
+ refactor margins and paddings in some components
2022-08-02 02:43:06 +03:00
geoffrey45 8fa0516b56 improve component spacing
+ bump up folder and album page gap to ~ 1rem
+ test out noise texture on album img on album page
+
~ although i'm still annoyed about the scrollbar space irregularities (will fix someday)
2022-08-01 00:23:39 +03:00
geoffrey45 b522069d8e delete thumbnails with 0 bytes size 2022-07-31 10:31:41 +03:00
geoffrey45 4b817af4de add folder page banner 2022-07-18 18:22:17 +03:00
geoffrey45 cfea978298 add bottom-content class to the HCB layout bottom 2022-07-16 18:40:08 +03:00
geoffrey45 0bdc109082 add a get_normal_artist_name function to try and normalize artist name variations
- add a get_artist_lists function to group artist name variants into a list
- add a get_normalized_artists function to return normalized artist objects
- use the above functions in:
    - searching artists
    - album artists
    - playlist artists
2022-07-16 16:40:38 +03:00
geoffrey45 3882317cb6 configure watchdog to accept a list of dirs to watch
- fix PlayingFrom component not working with album
- fix types issues on PlayingFrom component
2022-07-15 15:40:11 +03:00
geoffrey45 97b61970c5 use list instead of set in RemoveDuplicates 2022-07-12 19:40:10 +03:00
geoffrey45 55215e0ad5 add context menu options placeholder function 2022-07-12 18:54:06 +03:00
geoffrey45 e538b0d4d7 rewrite highlight track to use track.uniq_hash instead of trackid 2022-07-10 22:10:09 +03:00
geoffrey45 7e3243272f remove test album bio 2022-07-10 21:52:22 +03:00
geoffrey45 cdab85912f redesign the album bio component 2022-07-10 21:51:29 +03:00
geoffrey45 4688665156 highlight the selected when you go to folder 2022-07-09 09:52:46 +03:00
geoffrey45 09c588c856 add featured artists to playlist page
+ fetch album bio on raising bottom container
2022-07-08 16:39:16 +03:00
geoffrey45 9d5cbfcc93 rewrite playlist page to use same layout as the album page 2022-07-07 15:08:31 +03:00
geoffrey45 dc7f3b12e3 capitalize track names 2022-07-07 12:13:20 +03:00
geoffrey45 296cfb50a6 fix: page reload setting current track to first track in queue
- add a `setCurrent` method to update current index and currentid
2022-07-07 12:04:13 +03:00
geoffrey45 7a953d366e add a HeaderContentBottom layout
- rewrite album page to use the above layout
2022-07-07 11:55:13 +03:00
geoffrey45 1bfa43350c update album page screenshot 2022-07-07 09:07:29 +03:00
Mungai GeoffreyandGitHub 933034f9b5 Merge pull request #70 from geoffrey45/remove-in-memory-implementations
- Remove global lists and read everything from the database.  
- Restyle album page  
- Fix watchdog 
- Fix album counter 
- Show playlist duration 
- and much more.
2022-07-07 09:00:42 +03:00
geoffrey45 e01edbce30 rename find_tracks_inside_path_regex -> get_dir_t_count 2022-07-07 08:40:11 +03:00
geoffrey45 c8e4529e3c escape special chars in count_documents regex
- thanks github copilot ❤️
2022-07-07 08:37:02 +03:00
geoffrey45 27605facf2 remove unused var 2022-07-06 17:53:53 +03:00
geoffrey45 18d213e57f fix merge conflicts 2022-07-06 17:49:19 +03:00
geoffrey45 95ad7ceadc add new default.webp 2022-07-06 17:38:33 +03:00
geoffrey45 1eb7c5d396 remove context menu transtion
- to fix z-index issues
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 c9830842ed refactor queu store to use play track using index
- this allows to have duplicate tracks in queue safely
- store indexes in localstorage instead of track objects.
2022-07-06 17:38:33 +03:00
geoffrey45 f0d3c1c663 attach context menu to now playing song card
- clicking now playing thumbnail will send you to album page
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
geoffrey45 5bc0eaf8e6 remove songlist table header 2022-07-06 17:38:33 +03:00
geoffrey45 d830412035 reset album page bottom padding if scrollTop == 0 2022-07-06 17:38:33 +03:00
geoffrey45 14182e78cd add a bottom padding when the bottom area is expanded
- attach a ''resetBottomPadding" event to the album header component
- add function documentation to the header and albumview components.
2022-07-06 17:38:33 +03:00
geoffrey45 30020423d1 add a click to expand area 2022-07-06 17:38:33 +03:00
geoffrey45 7d59993203 revert brightness threshold to 170 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 26b7cd376d show track number as index in album page 2022-07-06 17:38:33 +03:00
geoffrey45 067b84b1c5 fix album search 2022-06-27 19:53:36 +03:00
geoffrey45 866f3278a5 show track number as index in album page 2022-06-26 19:37:48 +03:00
geoffrey45 4b522fd317 sort tracks by tracknumber in album page 2022-06-26 19:28:02 +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 abbca285f0 set track album width to max-width 2022-06-25 09:12:44 +03:00
geoffrey45 a7fcb7f825 attach context menu to options icon 2022-06-24 19:52:14 +03:00
geoffrey45 8e488c063b add menu button on songlist item 2022-06-24 10:35:30 +03:00
geoffrey45 cd05c2837f remove comments from navigation component 2022-06-23 15:40:23 +03:00
geoffrey45 7ae97370d6 update tsconfig.json 2022-06-23 15:39:19 +03:00
geoffrey45 71dc2715e1 add new symlink svg 2022-06-23 12:49:47 +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 1cc7c933b7 rename files and set max client width on viewport 2022-06-16 15:24:56 +03:00
geoffrey45 92e2420174 rewrite some fetch methods to use the useAxios hook 2022-06-16 14:18:45 +03:00
geoffrey45 600b267ce4 drop in onStartTyping to focus on search bar automatically 2022-06-16 09:50:07 +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 599cb38cbe rewrite recommendation component with script setup 2022-06-12 10:21:23 +03:00
geoffrey45 178d3c8835 fix now-playing image position 2022-06-11 12:41:44 +03:00
geoffrey45 188834de3b feat: scroll queue if mouse if not over the area 2022-06-11 11:12:47 +03:00
geoffrey45 191ac0bc7b fix loadmore counter not resetting
- store load more counter in search store
2022-06-11 10:01:16 +03:00
geoffrey45 75123f5384 move page stores into pages folder 2022-06-10 17:08:29 +03:00
geoffrey45 67d19fb6e3 scroll to top on page change 2022-06-10 10:39:04 +03:00
geoffrey45 857c2484fe use computed properties to render correct nav title 2022-06-10 10:01:12 +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 e48dca4672 enable album nav play button 2022-06-09 11:52:26 +03:00