Commit graph

41 commits

Author SHA1 Message Date
jeffvli
1b15c73db0 fix scrobble time race condition
- revert playerbar slider refactor
- re-implement mediasession handler
2025-10-13 11:44:42 -07:00
jeffvli
4e53030e8d Revert "refactor playerbar slider to separate component"
This reverts commit 309b49b46e.
2025-10-13 11:38:26 -07:00
jeffvli
22b798812e Revert "fix playback controls being called multiple times on media key input"
This reverts commit 1b8661d566.
2025-10-13 11:38:19 -07:00
jeffvli
1b8661d566 fix playback controls being called multiple times on media key input 2025-10-13 04:33:11 -07:00
jeffvli
c88c6cf55e add mediasession playback controls 2025-10-12 16:37:24 -07:00
jeffvli
58becc5c8e add useMediaSession hook to set metadata and status 2025-10-12 16:07:59 -07:00
jeffvli
309b49b46e refactor playerbar slider to separate component 2025-10-12 16:07:00 -07:00
Lyall
3636384508
show time remaining instead of duration on click (#1179)
* show time remaining on duration click
2025-10-12 14:22:58 -07:00
Kendall Garner
7c24f7cba4
use margin bottom for notifications component to not disable center controls 2025-10-04 07:34:48 -07:00
Malachi Soord
8a3edb71df
feat: add semantic selectors for now-playing media (#1138)
* feat: add semantic selectors for now-playing media

This change adds unique class names to the elements that display the currently playing media information. This makes it easier for extension developers to parse the DOM and understand what media is playing.

The following classes have been added:
- `media-player`: The main player container.
- `player-cover-art`: The cover art of the playing track.
- `song-title`: The title of the playing track.
- `song-artist`: The artist of the playing track.
- `song-album`: The album of the playing track.
- `player-state-playing`/`player-state-paused`: The state of the player.
- `elapsed-time`: The elapsed time of the playing track.
- `total-duration`: The total duration of the playing track.

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-09-23 12:44:22 -07:00
jeffvli
8b141d652c disable single attribute per line 2025-07-12 11:17:54 -07:00
jeffvli
e0f0524eb9 adjust button styles on playerbar 2025-06-24 20:31:33 -07:00
Jeff
c1330d92b2
Migrate to Mantine v8 and Design Changes (#961)
* mantine v8 migration

* various design changes and improvements
2025-06-24 00:04:36 -07:00
jeffvli
930165d006 fix all imports for new structure 2025-05-26 17:20:02 -07:00
jeffvli
1cf587bc8f restructure files onto electron-vite boilerplate 2025-05-26 17:18:55 -07:00
Kendall Garner
528bef01f0
provide transcoding support 2024-09-01 08:26:30 -07:00
Kendall Garner
5b2977e5e8
[enhancement]: support viewing current/setting current time in remote 2024-08-24 13:26:45 -07:00
Kendall Garner
271be93a96
fix prettier/lint 2024-08-23 08:19:27 -07:00
Kendall Garner
cabd69772e
[bugfix]: mantine bodge 2024-04-11 08:25:53 -07:00
jeffvli
9b0c9ba3ac Fallback to web player if mpv fails to run 2024-02-13 02:05:59 -08:00
Benjamin
86a93866d0
[enhancement] Add a button size setting (#486)
* Add a button size setting

* Reduce setting size and add px suffix

* Looks like I don't need || inside of control-settings

* Update translation

* Bump settings version to 7
2024-02-03 21:22:26 +00:00
Kendall Garner
efa0d9ec35
[enhancement]: larger player buttons, clearer random icon 2024-02-01 20:59:00 -08:00
Kendall Garner
527e6a76b5
[bugfix]: disable play button when queue is empty 2024-01-24 21:35:58 -08:00
jeffvli
9756ed2d27 Fix translation key 2023-10-31 22:03:48 -07:00
Jeff
8430b1ec95
Add localization support (#333)
* Add updated i18n config and en locale
2023-10-30 19:22:45 -07:00
jeffvli
1a87adb728 Fix transient props for styled-components v6 2023-09-22 02:34:57 -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
jeffvli
13d6758500 Center playerbar time values 2023-08-08 09:26:53 -07:00
jeffvli
30e52ebb54 Lint all files 2023-07-01 19:14:12 -07:00
jeffvli
f380eccc68 Improve responsive styles for playerbar 2023-06-04 16:46:05 -07:00
jeffvli
debdb92dcf Add shuffle all feature 2023-05-21 07:33:22 -07:00
jeffvli
10d7664733 Add stop button to playerbar 2023-05-21 03:17:45 -07:00
jeffvli
4c98afb613 Add hotkey controls to relevant pages 2023-05-13 22:55:58 -07:00
jeffvli
eecbcddea3 Refactor settings store and components 2023-03-30 06:44:33 -07: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
jeffvli
4cbc28a087 Add volume wheel scroll & new slider component 2023-01-30 21:34:27 -08:00
jeffvli
4353e81df3 Add checks for player type 2022-12-25 01:55:00 -08:00
jeffvli
e87c814068 Add files 2022-12-19 17:44:40 -08:00