Commit graph

20 commits

Author SHA1 Message Date
jeffvli
30e52ebb54 Lint all files 2023-07-01 19:14:12 -07:00
jeffvli
a6990fd732 Fix various queue behavior
- Fix add next behavior when shuffle is enabled
- Fix shuffled queue when songs are removed from queue
- Fix queue indices when currently playing song is removed
- Re-shuffle queue after queue is finished when shuffle is enabled
2023-06-13 17:47:40 -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
e937425f4f Fix shuffled queue set by double click 2023-05-21 20:14:22 -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
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
02caf896ff Update playqueueadd props 2023-05-20 14:55:08 -07:00
jeffvli
ba0543f861 Fix type for addToQueue reducer 2023-05-20 02:08:37 -07:00
jeffvli
129515d57a Fix deprecated import 2023-05-10 18:45:22 -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
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
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
2edffa02d0 Add favoriting from table rows 2023-01-07 16:33:14 -08:00
jeffvli
2f7f6bead9 Remove persisted playqueue in localstorage
- This will break if there are enough songs in the queue. A new implementation will be added in the future
2023-01-07 01:42:20 -08:00
jeffvli
ae5afe868e Fix web player data 2022-12-25 01:26:01 -08:00
jeffvli
b742b814c0 Split stores 2022-12-21 01:29:00 -08:00
jeffvli
e87c814068 Add files 2022-12-19 17:44:40 -08:00