617 Commits

Author SHA1 Message Date
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 Geoffrey
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
restyled-io[bot]
6b9f902da9
Restyle Remove global lists and read everything from the database. (#78) 2022-07-07 08:46:06 +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
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
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
restyled-io[bot]
714775a67e Restyle New album page design (#76) 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