Commit graph

305 commits

Author SHA1 Message Date
Mikhail Tsarev
7bcfe30a8e
Improved translations for English and Russian versions. (#760)
* First version of Russian translation

* Improvements

---------

Co-authored-by: Suoslex <mtsarev06@gmail.com>
2024-09-25 21:42:41 -07:00
Kendall Garner
8cddbef701
Subsonic 2, general rework (#758) 2024-09-25 21:23:08 -07:00
Benjamin
8d8826a9b7
use utc for absolute date formatting (#743)
* use utc for date formatting

* add seperate utc function and call that instead

* swap date format to be a constant

* make dateadded use non-utc
2024-09-13 01:35:57 +00:00
Kendall Garner
8221af9a8f
break by newline for comment 2024-09-11 07:41:15 -07:00
Kendall Garner
74aa88e082
add web visualizer (#314)
* add web visualizer

* fallback to simple model

* less samples, hopefully more efficient

* Use audiomotion analyzer

- Note: fixed to 4.1.1 because 4.2.0 uses esm which breaks in the current workflow...

* revert publish changes

* r2

* don't massively change package.json

* lazy
2024-09-09 01:25:01 +00:00
Kendall Garner
56c229a5e0
[slightly less scuffed bugfix]: Update table rating/favorite when updated anywhere … (#707)
* [scuffed bugfix]: Update table rating/favorite when updated anywhere else

Modify player store to have temporary state for favorite/rating update
Add effect handler for `virtual-table` to update rating/favorite for players

Note that this does not handle song grid view.
Using a similar handler for gird view did not work, as it appeared to result in inconsistent state.

Finally, this is probably not the optimal solution.
Performance appears fine for ~20k items, but no guarantees.

* restore should update song

* update song rating/favorite/played everywhere except playlist

* special rule for playlists

* use iterator instead
2024-09-02 22:31:20 -07:00
Kendall Garner
528bef01f0
provide transcoding support 2024-09-01 08:26:30 -07:00
Kendall Garner
93055b3bf1
allow disabling web audio 2024-08-29 19:44:24 -07:00
Kendall Garner
8a8542ddb1
simplify disc/subtitle for album list 2024-08-25 21:34:43 -07:00
Kendall Garner
ccb6f2c8b0
very niche error handling for no audio device id but still have error checking 2024-08-24 20:36:04 -07:00
Kendall Garner
a44071fedd
add error checking for set sink id (case of no devices at all) 2024-08-24 20:13:30 -07:00
Kendall Garner
271be93a96
fix prettier/lint 2024-08-23 08:19:27 -07:00
Kendall Garner
37b0407188
simplify webaudio replaygain to reduce pop-in 2024-08-21 23:04:37 -07:00
Kendall Garner
616fd45734
add minimum duration check for crossfade 2024-08-21 22:47:35 -07:00
Kendall Garner
af69a58418
[bugfix]: use chrome-specific implementation for web audio sink 2024-08-19 22:38:51 -07:00
Kendall Garner
94edda1856
better handling of grid refresh 2024-08-19 21:36:56 -07:00
Kendall Garner
110a1a63f0
simplify remote/media session (#632) 2024-07-03 01:47:26 -07:00
Kendall Garner
aa89c5e80e
[enhancement]: apply formatting to card values 2024-05-26 12:20:01 -07:00
Kendall Garner
38ed083693
[enhancement]: support using native image aspect ratio 2024-05-25 11:15:30 -07:00
Kendall Garner
c5e8472746
[bugfix]: handle song grid sparse array 2024-05-09 00:14:59 -07:00
jeffvli
785f0ef77f Add inPlaylist and notInPlaylist operators 2024-05-02 23:04:57 -07:00
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