Commit graph

284 commits

Author SHA1 Message Date
Kendall Garner
ba531505af
[enhancement]: Support toggling Album/Track view for gneres (#591)
* [enhancement]: Support toggling Album/Track view for gneres

The _primary_ purpose of this PR is to enable viewing tracks OR albums for genres.
This has a few requirements:
1. Ability to set default route for genres, **except** when already on song/album page
2. Ability to toggle between album and genre view
3. Fixed refresh for genre ID

Additionally, there was some refactoring:
- Since the *-list-headers had very similar functions for search, export that as a hook instead

* also use hook for album artist

* support switching albumartist tracks/albums

* remove toggle on song/album list, simplify logic
2024-04-20 06:14:31 +00:00
Kendall Garner
ec69cc22f9
use clearer separator character 2024-04-14 21:58:25 -07:00
Kendall Garner
c3fcb7487c
[bugfix]: fix album artist order and mild race protection 2024-04-09 22:11:29 -07:00
Kendall Garner
15c6ef382a
[bugfix]: fix combined title for artist, favoriting on grid pages 2024-04-08 23:15:59 -07:00
Kendall Garner
14086ebc9c
improve similar items fallback, make ND album artist for song actually album artist, fix full screen race 2024-04-08 08:49:55 -07:00
Kendall Garner
c1345802aa
bump size cell size 2024-04-03 21:28:27 -07:00
Kendall Garner
2854a91700
[bugfix]: actually implement size column 2024-04-01 20:53:00 -07:00
Kendall Garner
46fdacad81
Make home page modal play button use default behavior 2024-03-27 21:15:23 -07:00
Kendall Garner
a45e7f24e4
[enhancements]: fix carousel, full screen metadata improvements (#524)
* fix carousel, full screen metadata improvements

* Add missing mapped keys on multiple artist

* Remove bg opacity on metadata section

* Improve visibility of currently playing song

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2024-03-04 18:53:00 -08:00
Jeff
cc6cad1d70
Merge branch 'development' into navidrome-version 2024-03-04 01:49:13 -08:00
Kendall Garner
77e220c873
[enhancement]: add codec column for tracks 2024-02-19 23:04:41 -08:00
Kendall Garner
860dd8b499
[enhancement]: add codec column for tracks 2024-02-19 20:34:36 -08:00
Kendall Garner
9113c6cc2e
[bugfix]: carousel fixes 2024-02-19 13:55:11 -08:00
Kendall Garner
dae2f9bd0a
[feat]: actually include version checks 2024-02-17 00:57:10 -08:00
Kendall Garner
2f105956b9
Improve grid size, language 2024-02-16 21:42:15 -08:00
jeffvli
eb4d099804 Increase toast duration defaults 2024-02-12 14:04:19 -08:00
Jeff
ccb0e14e48
Merge pull request #450 from kgarner7/more-metadata
[feature]: Show album comment, Last.fm/MusicBrainz links
2024-02-02 14:56:46 -08:00
jeffvli
095edfd49f Add custom spoiler component 2024-02-02 01:38:58 -08:00
jeffvli
6aba41c3d9 Add spoiler UI component 2024-02-01 03:58:36 -08:00
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
bc7f4a5722
[bugfix]: Fix safari audio context (#471)
* test 3

* comments

* [bugfix]: SAFARI WHY. Use GainNode volume instead for volume control

* force vercel refresh?

* Revert "force vercel refresh?"

This reverts commit af31f38e03a6682ded13a9c944b6f37d08eb9d17.

* move volume scaling calculation to setGain
2024-01-27 01:10:34 +00:00
Kendall Garner
5f1d0a3b5e
[bugfix]: Validate audio sample range, catch AudioContext error (#470) 2024-01-24 20:36:20 -08:00
Kendall Garner
5516daab6e
enable comments, safer note 2024-01-15 20:46:06 -08:00
Jeff
8430b1ec95
Add localization support (#333)
* Add updated i18n config and en locale
2023-10-30 19:22:45 -07:00
Kendall Garner
9d780e0342
[bugfix]: prevent default (#334)
* [bugfix]: prevent default on rating
2023-10-28 21:10:52 -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
jeffvli
fdff79496a Set pause status on last track end (#291) 2023-10-23 09:02:48 -07:00
jeffvli
f21b8d6bbd Update base button styles
- Use brightness filter for hover/focus styles
- Re-add default active style
2023-10-23 08:24:23 -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
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
jeffvli
86fb52f6d4 Fix current song row when queue is empty 2023-10-22 15:57:15 -07:00
jeffvli
768a88de8f Fix row refresh on status change for current song 2023-10-19 03:37:17 -07:00
jeffvli
8e2a107d4a Fix className clash on current song 2023-10-19 03:36:16 -07:00
jeffvli
818f155993 Hide playing icon if player is paused 2023-10-18 19:55:57 -07:00
jeffvli
b28fe4cbc9 Convert play icon from base64 to svg 2023-10-18 19:51:55 -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
Kendall Garner
fe298d3232
Reset Carousel position on data refresh (#303)
* Reset Carousel position on data refresh

* add refresh for all carousels
2023-10-18 10:47:55 -07:00
jeffvli
277669c413 Fix album detail table customizations 2023-10-07 18:11:02 -07:00
jeffvli
0b62bee3a6 Add grid view for tracks (#128) 2023-09-23 15:36:57 -07:00
jeffvli
d3503af12c Add song count column to albums list 2023-09-23 04:05:15 -07:00
jeffvli
8b0fe69e1c Fix alignment of button leftIcon 2023-09-22 15:11:27 -07:00
jeffvli
25e621372c Parse URLs from note field (#154) 2023-09-22 04:25:16 -07:00
jeffvli
14f4649b93 Move drag container to scrollarea component 2023-09-22 02:40:27 -07:00
jeffvli
1a87adb728 Fix transient props for styled-components v6 2023-09-22 02:34:57 -07:00
jeffvli
fd7468a4fe Add drag container for web library headers (#206) 2023-09-21 18:46:47 -07:00
Kendall Garner
65f28bb9dc
Replaygain support for Web Player (#243)
* replaygain!

* resume context

* don't fire both players

* replaygain for jellyfin

* actually remove console.log

---------

Co-authored-by: Jeff <42182408+jeffvli@users.noreply.github.com>
Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2023-09-21 17:06:13 -07:00
jeffvli
ec457d5125 Lint files based on updated rules 2023-09-15 20:42:38 -07:00
jeffvli
153d8ce6ce Fix nd/jf duration normalizations 2023-09-15 16:52:14 -07:00
jeffvli
3f813b1a26 Make album detail columns customizable 2023-08-08 09:26:53 -07:00
jeffvli
6ae8046781 Fix search params being overriden on table view 2023-08-08 00:33:47 -07:00