Commit graph

113 commits

Author SHA1 Message Date
jeffvli
d289797d65 Add margin under image 2023-05-21 16:48:50 -07:00
jeffvli
6218b27117 Fix no-repeat on mpv (#55) 2023-05-21 16:43:47 -07:00
jeffvli
549db7b1bf Fix tooltip parent component 2023-05-21 16:03:25 -07:00
Kendall Garner
8ee99adb2d
Fix full screen overflow (#113)
* fix text overflow making image take up too much space in full screen

* Fix missing key

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2023-05-21 16:01:37 -07:00
jeffvli
977cb89481 Add fullscreen player button tooltip 2023-05-21 15:09:32 -07:00
jeffvli
b71c3c7c53 Handle song detail add 2023-05-21 08:13:48 -07:00
jeffvli
debdb92dcf Add shuffle all feature 2023-05-21 07:33:22 -07:00
jeffvli
7c6f62023a Fix song null check on queue add 2023-05-21 07:31:18 -07:00
jeffvli
10d7664733 Add stop button to playerbar 2023-05-21 03:17:45 -07:00
jeffvli
fed96d1fce Additional player adjustments
- Set volume on play
- Explicitly pause/play on set queue
2023-05-21 03:08:25 -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
292737d53c Add query cancellation for play queue requests
- Opens a notification after 2s to allow for manual cancellation of in-progress query
2023-05-20 23:13:20 -07:00
jeffvli
51c2731b07 Handle queue all songs by double click (#67) 2023-05-20 21:31:00 -07:00
jeffvli
93530008a9 Add custom query prop to play queue add 2023-05-20 20:58:11 -07:00
jeffvli
6747fbb701 Add initialSongId prop as alternative to initialIndex 2023-05-20 20:47:07 -07:00
jeffvli
0320fe6dcc Add mpv load error notification
- Add retry limit on error
2023-05-20 20:19:41 -07:00
jeffvli
3df2915f5f Allow initialIndex on queue add (#67)
- Clean up play queue handler
- Split out functions to utils
2023-05-20 18:40:45 -07:00
jeffvli
b5fa6f0baa Handle song detail on playqueue add 2023-05-20 02:08:37 -07:00
jeffvli
4c98afb613 Add hotkey controls to relevant pages 2023-05-13 22:55:58 -07:00
jeffvli
e49fe6c452 Add collapsible sidebar (#68)
- Sidebar can collapse by menu option or dragging
2023-05-10 18:20:04 -07:00
jeffvli
f9e410a1f5 Set fullscreen player over right sidebar 2023-05-10 03:08:55 -07:00
jeffvli
a19673d3c2 Replace mutation error types with AxiosError 2023-05-09 05:53:57 -07:00
jeffvli
cbb15ac7ee Fix various issues 2023-05-09 02:25:57 -07:00
jeffvli
314bd766df Refactor all api instances in components 2023-04-30 22:01:52 -07:00
jeffvli
bdd023fde3 Refactor remaining queries/mutations for new controller 2023-04-30 18:00:50 -07:00
jeffvli
68a1cb9aaa Refactor all mutation hooks 2023-04-27 21:44:25 -07:00
jeffvli
c593b7bc46 Fix slider styles to account for transparent thumb (#85) 2023-04-20 01:54:51 -07:00
jeffvli
eecbcddea3 Refactor settings store and components 2023-03-30 06:44:33 -07:00
jeffvli
373441e4c6 Adjust shadow on playerbar image 2023-03-30 05:02:58 -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
275d68ec5b Fix mpv stopping after first playback
- On startup, the first time a song is played, mpv will stop after playback
- This adds a loop to the queue handler to automatically retry when failing to add to the queue
2023-03-09 12:45:13 -08:00
jeffvli
69292a083d Fix web volume handler (#35) 2023-03-09 01:40:08 -08:00
Jeff
23f84d68e8
Add MPRIS support (#25)
* Stop mpv on app close for linux/macOS (#20)

* Add initial MPRIS support

* Fix mpv path check
2023-02-08 23:57:06 -08:00
Jeff
9f2e873366
Redesign sidebar / header and other misc. improvements (#24)
* Remove 1920px max width

* Fix position of list controls menu

* Match size and color of search input

* Adjust library header sizing

* Move app menu to sidebar

* Increase row buffer on play queue list

* Fix query builder styles

* Fix playerbar slider track bg

* Adjust titlebar styles

* Fix invalid modal prop

* Various adjustments to detail pages

* Fix sidebar height calculation

* Fix list null indicators, add filter indicator

* Adjust playqueue styles

* Fix jellyfin releaseYear normalization

* Suppress browser context menu on ag-grid

* Add radius to drawer queue -- normalize layout

* Add modal styles to provider theme

* Fix playlist song list pagination

* Add disc number to albums with more than one disc

* Fix query builder boolean values

* Adjust input placeholder color

* Properly handle rating/favorite from context menu on table

* Conform dropdown menu styles to context menu

* Increase sort type select width

* Fix drawer queue radius

* Change primary color

* Prevent volume wheel from invalid values

* Add icons to query builder dropdowns

* Update notification styles

* Update scrollbar thumb styles

* Remove "add to playlist" on smart playlists

* Fix "add to playlist" from context menu
2023-02-07 22:47:23 -08:00
jeffvli
13f48711a9 Use local seekvalue to smooth out slider drag 2023-02-06 01:45:56 -08:00
Jeff
22fec8f9d3
Add ratings support (#21)
* Update rating types for multiserver support

* Add rating mutation

* Add rating support to table views

* Add rating support on playerbar

* Add hovercard component

* Handle rating from context menu

- Improve context menu components
- Allow left / right icons
- Allow nested menus

* Add selected item count

* Fix context menu auto direction

* Add transition and move portal for context menu

* Re-use context menu for all item dropdowns

* Add ratings to detail pages / double click to clear

* Bump react-query package
2023-02-05 05:19:01 -08:00
jeffvli
4cbc28a087 Add volume wheel scroll & new slider component 2023-01-30 21:34:27 -08:00
jeffvli
01fdd25406 Remove react-slider dependency 2023-01-30 21:28:37 -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
85bf910d65 Add additional controls to playerbar 2023-01-30 02:39:25 -08:00
jeffvli
5ddd0872ef Adjust various styles 2023-01-30 01:36:36 -08:00
jeffvli
2700774469 Fix player button styles 2023-01-30 01:05:23 -08:00
jeffvli
1e6eb33408 Link to album artist page instead of artist 2023-01-13 01:50:48 -08:00
jeffvli
2df96c0d31 Add song filter as add queue type 2023-01-07 03:26:18 -08:00
jeffvli
3cf7127f56 Optimize current song image layout transition 2023-01-06 14:27:31 -08:00
jeffvli
624b1bb94d Add tooltip delay for expand/collapse of player image 2023-01-06 01:59:37 -08:00
jeffvli
d1dfbaedaa Move LibraryItem type 2023-01-05 21:59:07 -08:00
jeffvli
0ed13c75af Fix stale state on playqueue when switching server 2023-01-03 03:16:53 -08:00
jeffvli
d54131b34a Remove console logs 2023-01-03 00:51:24 -08:00