Commit graph

205 commits

Author SHA1 Message Date
Kendall Garner
e4ca0164fa
[bugfix]: Jellyfin do not force width = height for images 2024-08-15 23:35:29 -07:00
sel10ut
ba64f4c467
refactor(jellyfin): migrate auth method 2024-07-03 22:41:35 +03:00
sel10ut
596bf3a378
fix(jellyfin): allow multiple sessions from the same client type
Allow multiple sessions from the same user with different instances.
Instead of sending a hard-coded string, send a randomly generated
string `deviceId`, which already exists and is created for each
new installation.
2024-07-03 22:12:15 +03:00
Kendall Garner
b30fadd149
navidrome album artist covoer art bodge 2024-05-29 02:53:41 -07:00
jeffvli
785f0ef77f Add inPlaylist and notInPlaylist operators 2024-05-02 23:04:57 -07:00
Kendall Garner
d1bcd2b2fb
[bugfix]: fix jellyfin add to playlist 2024-05-02 18:42:49 -07:00
Kendall Garner
9cd8807a75
[bugfix]: Handle top-level songs for Jellyfin (#553)
* [bugfix]: Handle top-level songs for Jellyfin

If a song is at the top level of a music folder, Jellyfin will not
group that into an album (See https://jellyfin.org/docs/general/server/media/music/).

This PR introduces a few changes:
- Gives tracks with no album ID a special route (`/dummy/${id}`)
- Gives a new route for dummy albums, warning about the error. This is designed to look _like_ the album detail page

* `are are` > `are`

* revert name changes
2024-04-30 03:18:43 +00:00
Kendall Garner
c36f0a055d
[enhancement]: parse replaygain from subsonic endpoints where available 2024-04-27 22:20:42 -07:00
Kendall Garner
087ea44737
[enhancement]: use jellyfin 10.9.0 lyrics 2024-04-22 19:44:10 -07:00
Benjamin
cb2597d2c8
Implement Navidrome sharing (#575)
* add share item feature

* take care of (mostly) everything

* bugfixes

* allow clicking on notification to open url

* readd the missing modal after router migration

* remove unnecessary extension

---------

Co-authored-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
2024-04-22 03:03:22 +00:00
Kendall Garner
595eba152a
[jellyfin]: prefer sort name over name 2024-04-19 23:11:26 -07:00
Kendall Garner
ec69cc22f9
use clearer separator character 2024-04-14 21:58:25 -07:00
Kendall Garner
19a88fea86
[bodge]: deal with Jellyfin returning dupliate tracks for album query 2024-04-13 16:28:36 -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
2257e439a4
[navidrome]: prefer gerArtistInfo higher quality image 2024-04-06 21:36:30 -07:00
Kendall Garner
6bc778fa53
[bugfix]: fix smart playlist, do not error when trying to edit playlist as non-admin 2024-03-31 19:34:33 -07:00
jeffvli
d806ade84c Potentially fix application stuck when Navidrome credential expires (#538) 2024-03-12 23:59:35 -07:00
jeffvli
a7a5b92011 Adjust server feature naming convention 2024-03-05 14:12:37 -08:00
jeffvli
a9315be259 Rename features types file 2024-03-05 14:05:01 -08:00
Kendall Garner
73845a9432
[enhancement]: better version checks for lyrics, Navidrome (#529)
- Actually make serverfeatures partial
- Navidrome: only set multiple structured lyrics if extension exists
- Navidrome/Subsonic: minor type checking of OS extension (Navidrome implementation detail)
- Jellyfin: add separate knob for lyrics. Note, this should also probably be behind some version check...
2024-03-05 00:31:51 -08:00
Jeff
132b0e173f
Merge branch 'development' into related-similar-songs 2024-03-04 05:04:54 -08:00
jeffvli
f1f6ccfd02 Normalize server feature set 2024-03-03 22:15:49 -08:00
Kendall Garner
3a116e938e
omit song from similar list, handle subsonic error 2024-02-19 10:09:05 -08:00
Kendall Garner
f81bea339b
don't pass song all the way down 2024-02-19 09:55:37 -08:00
Kendall Garner
af90d07414
bugfix 2024-02-19 08:56:06 -08:00
Kendall Garner
025124c379
[enhancement]: Make related tab on full screen player useful
Resolves #50. Adds a new set of components for fetching similar songs
from the current playing song. For Jellyfin, use the `/items/{itemId}/similar`
endpoint (may not work well for small libraries), and for Navidrome/Subsonic
use `getSimilarSongs`. _In theory_, this component can be used to get similar
songs anywhere.
2024-02-19 08:53:50 -08:00
Kendall Garner
dae2f9bd0a
[feat]: actually include version checks 2024-02-17 00:57:10 -08:00
Jeff
83d5fee442
Merge pull request #484 from kgarner7/fix-structured-lyrics
[bugfix/enhancement]: Support Navidrome structured lyrics
2024-02-13 16:17:24 -08:00
Kendall Garner
49cbef729b
encode uri component for authorization header 2024-02-07 20:29:29 -08:00
Kendall Garner
aba7cb302f
add navidrome version check for smart playlists 2024-02-03 22:47:57 -08:00
Kendall Garner
46cc1a635f
address changes 2024-02-03 21:22:03 -08:00
Kendall Garner
24bf7ae31f
[enhancement/localization]: sort navidrome albums by year, add more language keys 2024-02-03 15:05:33 -08:00
lymnyx
933573b57f
Order artist's Top Songs by play count (#410). (#487) 2024-02-03 21:21:15 +00: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
Kendall Garner
73cd647486
os lyrics 2024-02-01 23:53:10 -08:00
Kendall Garner
9720fcc202
add server info query 2024-02-01 08:17:31 -08:00
Kendall Garner
04a468f8c9
[bugfix]: fetch higher resolution artist images from Navidrome 2024-01-28 20:01:57 -08:00
SlyFabi
dcccccea2f
Use startIndex in Jellyfin getPlaylistSongList (#449) 2024-01-21 19:46:34 -08:00
Kendall Garner
ea67a18962
include lastfm/mbz links 2024-01-15 22:10:50 -08:00
Kendall Garner
5516daab6e
enable comments, safer note 2024-01-15 20:46:06 -08:00
Kendall Garner
c05b474827
fix navi null date (#408) 2023-12-13 00:28:53 -08:00
jeffvli
ccd8d2b6b0 Add network error catch 2023-11-16 23:35:26 -08:00
Jeff
8430b1ec95
Add localization support (#333)
* Add updated i18n config and en locale
2023-10-30 19:22:45 -07:00
jeffvli
ccfadda729 Add play count to jellyfin album sort (#324) 2023-10-23 08:37:04 -07:00
jeffvli
02c8cbcad6 Revert jellyfin getPlaylistList implementation (#272) 2023-10-22 16:00:41 -07:00
Kendall Garner
452ef783f2
[bugfix/feat]: always fetch artist image for Navidrome (#317)
* [bugfix/feat]: always fetch artist image for Navidrome

* Add error fallback to library header image

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2023-10-22 15:46:48 -07:00
Kendall Garner
74cab01013
[feature]: Support using system fonts (#304)
* [feature]: Support using system fonts

Uses the **experimental** queryLocalFonts API, when prompted, to get the fonts and do CSS.
Resolves #270 and #288 (by proxy)

Caveats/notes:
- This is experimental, and is only supported by Chrome/Chromium/Edgeium (see https://caniuse.com/?search=querylocalfonts)
- As far as I can tell, the only way to dynamically change the font (shown in https://wicg.github.io/local-font-access/#example-style-with-local-fonts) was by DOM manipulation; css variables did not seem to work
- This shows **all** fonts, including their variants (bold/italic/etc); given that the style names could be localized, not sure of a way to parse this (on my system, for instance, I had 859 different combinations)
- I made fonts a separate top-level setting because it was easier to manipulate without causing as many rerenders; feel free to put that back

* add permission chec

* add electron magic to support custom font

* restrict content types
2023-10-22 15:25:17 -07:00
Kendall Garner
5fdf4c06f9
properly implement Jellyfin getSongDetail (#298) 2023-10-17 16:05:44 -07:00
Lily Rose
ac7ec133db
Replace hardcoded Jellyfin authentication DeviceId to include hostname and username (#312) 2023-10-17 06:21:15 -07:00
Kendall Garner
118a9f73d1
fix unsynced lyrics (#279) 2023-10-04 22:02:42 -07:00