Commit graph

122 commits

Author SHA1 Message Date
Kendall Garner
5cc2276781
[bugfix]: web player edge cases
Two bugs addressed in response to Safari changes:
1. Only handle `onEnded` for real streams, preventing `autoNext()` spam when the last track finishes
2. `.play()` is not necessarily a safe operation (if empty wave was started, can cause exception later). Catch this exception and discard it. This also only occurred when playing the last track
2024-01-28 01:50:51 -08:00
Kendall Garner
f467a85a86
[bugfix]: use proper language key for lyrics size 2024-01-27 10:07:10 -08:00
Kendall Garner
527e6a76b5
[bugfix]: disable play button when queue is empty 2024-01-24 21:35:58 -08:00
marksdestiny
372b96a349
Improve the playback speed control (#437)
* Change playback speed selector to slider

* Improve playback speed bar

Display BPM
Improve style
Add markers

* Improve playback speed slider style
2024-01-21 20:06:46 -08:00
jeffvli
d517afdfd3 Set fullscreen player text shadow to css var 2023-11-01 04:00:58 -07:00
jeffvli
9756ed2d27 Fix translation key 2023-10-31 22:03:48 -07:00
jeffvli
401912a70c Fix translation keys on full screen player 2023-10-31 04:17:15 -07:00
jeffvli
cd3ec158d3 Fix opacity on fullscreen player queue 2023-10-31 04:16:46 -07:00
Jeff
8430b1ec95
Add localization support (#333)
* Add updated i18n config and en locale
2023-10-30 19:22:45 -07:00
Martin Pauli
11863fd4c1
Fix clear rating hotkey (#338) 2023-10-30 18:50:48 -07:00
Kendall Garner
4ec981df83
[bugfix/feature]: Improve ratings (#332)
* [bugfix/feature]: Improve ratings

Fix: add preventDefault/stopPropagation to prevent scrolling to top in queue
Feat: instead of double click for clear, click on same value
2023-10-28 20:00:01 -07:00
Martin Pauli
7a580c2c65
Add favorite hotkey options (#326)
* Add favorite hotkey options

* Update wording

---------

Co-authored-by: Jeff <42182408+jeffvli@users.noreply.github.com>
2023-10-27 18:22:16 -07:00
Kendall Garner
2664a80851
Support changing playback rate (#275)
* initial idea for playback rate

* Add transparency to dropdown

* Move playback speed component to right controls

* Set mpv speed on startup

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2023-10-22 17:47:44 -07:00
TacoCake
c7aa5d09c9
In the fullscreen player use dynamic resolution for the main image (#290)
* In the fullscreen player use dynamic resolution for the main image

* Use ceil instead of round

* Add types and lint

---------

Co-authored-by: Jeff <42182408+jeffvli@users.noreply.github.com>
2023-10-17 06:47:50 -07:00
Kendall Garner
f6667a39a0
fix toggle replay (#292) 2023-10-17 05:49:29 -07:00
jeffvli
cca6fa21db Adjust scrobble duration to check in ms 2023-10-05 22:11:48 -07:00
Kendall Garner
6bac172bbe
fix scrobble durations (#269)
* fix scrobble durations

* Fix scrobble condition on last song in queue, normalize ms

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2023-10-05 21:45:47 -07:00
jeffvli
571ea3c653 Add rating hotkeys (#208) 2023-09-23 03:20:04 -07:00
jeffvli
1a87adb728 Fix transient props for styled-components v6 2023-09-22 02:34:57 -07:00
jeffvli
51be0153d3 Adjust fullscreen player styles
- Remove opacity on metadata section
- Add text shadow to metadata text
- Add padding under title
- Uppercase artists and album name
2023-09-21 17:35:22 -07:00
Kendall Garner
6e62448b88
fix other places of duration display (and other minor fixes) (#249)
* fix other places of duration display

* add back comma

* add max-width for image
2023-09-20 16:07:40 -07:00
jeffvli
ec457d5125 Lint files based on updated rules 2023-09-15 20:42:38 -07:00
jeffvli
2defa5cc13 Fix seek slider from duration normalizations 2023-09-15 19:31:34 -07:00
jeffvli
153d8ce6ce Fix nd/jf duration normalizations 2023-09-15 16:52:14 -07:00
Kendall Garner
1badecc20a
always call autoNext, even if not used (#241) 2023-09-10 15:08:48 -07:00
Kendall Garner
c8397bb5ef
Add transparency/opacity for queue sidebar (#231)
* add opacity

* add background for song metadata

* Add padding and border radius to opacity elements

* Remove font-weight transition on active lyrics (#233)

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2023-09-10 15:03:46 -07:00
jeffvli
13d6758500 Center playerbar time values 2023-08-08 09:26:53 -07:00
jeffvli
e3fc99cf82 Additional adjustments on mpv play 2023-08-07 14:48:02 -07:00
jeffvli
23e791c829 Attempt additional cleanup on mpv start 2023-08-06 11:41:40 -07:00
jeffvli
fca135ce2b Add additional lyrics customizability options (#146) 2023-08-04 19:32:41 -07:00
jeffvli
d0aba6e16e Support genres in context menu 2023-08-04 02:27:04 -07:00
jeffvli
5896d886d7 Add genre list route and implementation 2023-08-03 16:58:35 -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
853770ea8e Prevent wrong initial color on navigation on the same route 2023-07-21 18:51:37 -07:00
jeffvli
31eb22f968 Improve header color styles on detail pages 2023-07-21 00:18:44 -07:00
jeffvli
30e52ebb54 Lint all files 2023-07-01 19:14:12 -07:00
jeffvli
4167af098f Various cleanup 2023-06-14 00:12:10 -07:00
jeffvli
fbd0e5b27b Fix image position when scaling 2023-06-13 18:47:43 -07:00
Jeff
72099cb1fe
Add configuration for player image aspect ratio (#138) 2023-06-10 19:14:49 -07:00
jeffvli
3d409bb6f1 Fix queue container layout 2023-06-09 17:24:34 -07:00
jeffvli
01608fa875 Fix ref issue 2023-06-09 17:24:34 -07:00
jeffvli
2bdc664619 Fix animation transition on fullscreen player open 2023-06-09 17:24:34 -07:00
jeffvli
a1a113d3c6 Move scroll container to wrap lyrics only 2023-06-09 17:24:34 -07:00
jeffvli
f10912d930 Set lyrics scrollarea to max height by default 2023-06-09 17:24:34 -07:00
jeffvli
c3c1f4cc5f Refactor mpv initialization/cleanup
- Don't re-initialize the player on re-render
- Fixes the player potentially crashing on hot reload
2023-06-06 10:48:47 -07:00
jeffvli
feb61c28d7 Change padding on vertical player 2023-06-04 16:46:05 -07:00
jeffvli
f380eccc68 Improve responsive styles for playerbar 2023-06-04 16:46:05 -07:00
jeffvli
48dfd469ed Additional styling changes 2023-06-04 16:46:05 -07:00
jeffvli
5dd860735d Adjust lyrics styling / animations 2023-06-04 16:46:05 -07:00
jeffvli
7cd2077dcd Refactor layout to grid 2023-06-04 16:46:05 -07:00