Commit graph

46 commits

Author SHA1 Message Date
Kendall Garner
742b13d65e
[Feature] Support changing accent/primary color (#282)
* [Feature] Support changing accent/primary color

- adds color picker to settings with five swatches (blue default, yellow green and red imported from sonixd, purple new)
- changing color will change the appropriate css variable

* Remove hover styles that use an alternate primary

---------

Co-authored-by: Jeff <42182408+jeffvli@users.noreply.github.com>
Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2023-10-22 17:46:28 -07:00
Kendall Garner
74cab01013
[feature]: Support using system fonts (#304)
* [feature]: Support using system fonts

Uses the **experimental** queryLocalFonts API, when prompted, to get the fonts and do CSS.
Resolves #270 and #288 (by proxy)

Caveats/notes:
- This is experimental, and is only supported by Chrome/Chromium/Edgeium (see https://caniuse.com/?search=querylocalfonts)
- As far as I can tell, the only way to dynamically change the font (shown in https://wicg.github.io/local-font-access/#example-style-with-local-fonts) was by DOM manipulation; css variables did not seem to work
- This shows **all** fonts, including their variants (bold/italic/etc); given that the style names could be localized, not sure of a way to parse this (on my system, for instance, I had 859 different combinations)
- I made fonts a separate top-level setting because it was easier to manipulate without causing as many rerenders; feel free to put that back

* add permission chec

* add electron magic to support custom font

* restrict content types
2023-10-22 15:25:17 -07:00
Kendall Garner
8a53fab751
add more emphasis to current song (#283)
* add more emphasis to current song

* add css indicator (rivolumelineup)

* don't use absolute position, support album track number

* Respect order of set-queue function (fix race condition)

* Fix table row actions button on album detail and play queue

* Fix album detail table customizations

* Bump to v0.4.1

* Fix opacity mask for unsynced lyrics container

* Separate sidebar icons to new component

- Fixes react render issue

* Add app focus hook

* Remove css play image

* Add player status as cell refresh condition for queue

* Add current song images

* Add current song styles for all song tables

* Revert row index cell width

* Remove animated svg on browser

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
Co-authored-by: Jeff <42182408+jeffvli@users.noreply.github.com>
2023-10-18 18:32:11 -07:00
jeffvli
277669c413 Fix album detail table customizations 2023-10-07 18:11:02 -07:00
jeffvli
571ea3c653 Add rating hotkeys (#208) 2023-09-23 03:20:04 -07:00
jeffvli
47dc83f360 Make collapsed sidebar navigation configurable 2023-09-22 17:55:03 -07:00
jeffvli
8cbc25a932 Add browser forward/back hotkeys (#155) 2023-09-22 17:52:00 -07:00
jeffvli
3f813b1a26 Make album detail columns customizable 2023-08-08 09:26:53 -07:00
jeffvli
fca135ce2b Add additional lyrics customizability options (#146) 2023-08-04 19:32:41 -07:00
Kendall Garner
c9dbf9b5be
Add remote control (#164)
* draft add remotes

* add favorite, rating

* add basic auth
2023-07-23 05:23:18 -07:00
jeffvli
b8dfbf9d49 Add Inter font style 2023-07-18 17:38:41 -07:00
jeffvli
37e4940c2e Set full playlist view as default 2023-07-16 13:40:50 -07:00
jeffvli
3dcb0dc4ed Allow navigating directly to playlist song view 2023-07-15 15:57:40 -07:00
jeffvli
30e52ebb54 Lint all files 2023-07-01 19:14:12 -07:00
zackslash
a1b5c21a84
use platform window bar style as default (#150) 2023-07-01 13:50:11 -07:00
Gelaechter
d7ca25525c
Add zooming functionality (#140) 2023-06-11 12:45:13 -07:00
jeffvli
f8ecb3fc53 Update fetchers to support search 2023-06-09 17:24:34 -07:00
Kendall Garner
58f38b2655 add jellyfin, improvements 2023-06-04 16:46:05 -07:00
Kendall Garner
85d2576bdc Improved lyric syncing, fetch
- uses a somewhat more sane way to parse lyrics and teardown timeouts
- adds 'seeked' to setCurrentTime to make detecting seeks in lyric much easier
- adds ability to fetch lyrics from genius/netease (desktop only)
2023-06-04 16:46:05 -07:00
jeffvli
c8a0df4759 Add configurable sidebar 2023-06-03 05:46:20 -07:00
jeffvli
e7bc29a8f1 Remove unneeded hook 2023-06-03 05:46:20 -07:00
jeffvli
7d5aa6fd13 Add sidebar customization settings 2023-06-03 00:39:33 -07:00
jeffvli
e6a4ce2e64 Set global media hotkeys enabled by default 2023-05-21 19:43:42 -07:00
Kendall Garner
106fc90c4a
Add ability to save/restore queue (#111)
* add ability to save/restore play queue

* Add restoreQueue action

* Add optional pause param on setQueue

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2023-05-21 02:29:58 -07:00
jeffvli
1f36978bb9 Fix deprecated import 2023-05-20 20:00:09 -07:00
jeffvli
897af4661b Add extraProps param on column defs 2023-05-20 18:41:24 -07:00
jeffvli
e45252d16c Fix mpv sample rate setting
- Fix default input value
- Disable property on 0 value
2023-05-17 17:25:20 -07:00
jeffvli
d7f24262fd Add hotkeys manager
- Add configuration to settings store
- Initialize global hotkeys on startup from renderer
2023-05-13 22:55:58 -07:00
jeffvli
129515d57a Fix deprecated import 2023-05-10 18:45:22 -07:00
jeffvli
bcaaaac586 Set auto-update as default 2023-04-03 18:26:56 -07:00
jeffvli
77bfb916ba MPV player enhancements
- start the player from the renderer
- dynamically modify settings without restart
2023-04-02 21:41:32 -07:00
jeffvli
f35152a169 Add hotkey settings tab 2023-03-31 07:26:10 -07:00
jeffvli
0d4d5b5de0 Add reset to default for settings 2023-03-31 06:15:04 -07:00
jeffvli
293d8ec584 Add setting to disable auto update 2023-03-31 06:15:04 -07:00
jeffvli
2b1c1d5e59 Add tray settings (#49) 2023-03-30 08:09:20 -07:00
jeffvli
eecbcddea3 Refactor settings store and components 2023-03-30 06:44:33 -07:00
jeffvli
58c7370536 Add dedicated OS window bars (#22) 2023-03-28 23:59:51 -07:00
Jeff
e47fcfc62e
Add fullscreen player view (#27)
* Add store controls for fullscreen player

* Normalize styles for playback config

* Add fullscreen player component

* Add option component

* Update player controls to use option/popover components

* Add esc hotkey to close player

* Add usePlayerData hook
2023-03-28 14:19:23 -07:00
jeffvli
4cbc28a087 Add volume wheel scroll & new slider component 2023-01-30 21:34:27 -08:00
Jeff
484c96187c
Add scrobble functionality (#19)
* Fix slider bar background to use theme

* Add "scrobbleAtDuration" to settings store

* Add subscribeWithSelector and playCount incrementor

* Add scrobbling API and mutation

* Add scrobble settings

* Begin support for multi-server queue handling

* Dynamically set version on auth header

* Add scrobbling functionality for navidrome/jellyfin
2023-01-30 20:01:57 -08:00
jeffvli
6fddea552d Change default font to poppins 2022-12-30 21:04:30 -08:00
jeffvli
f2e03266c2 Export play button behavior in its own hook 2022-12-29 18:36:55 -08:00
jeffvli
4353e81df3 Add checks for player type 2022-12-25 01:55:00 -08:00
jeffvli
3dd9e620a8 Change default fonts 2022-12-21 01:28:56 -08:00
jeffvli
3c889d87ef Adjust settings defaults 2022-12-19 17:44:58 -08:00
jeffvli
e87c814068 Add files 2022-12-19 17:44:40 -08:00