Commit graph

42 commits

Author SHA1 Message Date
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
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
d03a3a11eb
[enhancement]: Support react-router links in Modal (#586) 2024-04-17 14:29:46 +00:00
jeffvli
d04d786951 Center auth loading spinner 2024-03-05 15:52:14 -08:00
Kendall Garner
b2fce071a9
[bugfix]: Check for Navidrome authentication on startup
Resolves #403.
This PR introduces a startup check for Navidrome that tries a simple API request (/songs) before loading homepage.
If the check fails, Navidrome API will fallback to trying saved password (if available).

Notes:
- It might also be worthwhile to do a periodic poll?
2024-02-16 13:37:49 -08:00
jeffvli
9b0c9ba3ac Fallback to web player if mpv fails to run 2024-02-13 02:05:59 -08:00
jeffvli
ff4ce89bc9 Remove "disable mpv" setting and desktop requirement 2024-02-12 14:14:08 -08:00
jeffvli
b69290f9f2 Add listeners and preload for log/toast from main 2024-02-12 14:02:59 -08:00
Kendall Garner
f82da2e76b
[enhancement]: Support disabling MPV entirely
Supports running Feishin solely using web audio (useful for clients with problems with MPV).
Also moves save/restore queue to utils, as MPV object is now optional
2024-02-11 13:56:29 -08:00
jeffvli
3bbe696f4c Update react-router and add useTransition support 2023-09-25 16:13:27 -07:00
jeffvli
5896d886d7 Add genre list route and implementation 2023-08-03 16:58:35 -07:00
jeffvli
8029712b55 Add initial genre list support 2023-07-31 17:17:26 -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
30e52ebb54 Lint all files 2023-07-01 19:14:12 -07:00
jeffvli
fa0a21a021 Optimize app outlet 2023-05-31 00:27:16 -07:00
jeffvli
fff1315fa5 Add search route 2023-05-20 02:08:37 -07:00
jeffvli
30c4d5baf1 Add param to search route to denote tab 2023-05-20 02:08:37 -07:00
jeffvli
e49fe6c452 Add collapsible sidebar (#68)
- Sidebar can collapse by menu option or dragging
2023-05-10 18:20:04 -07:00
jeffvli
eecbcddea3 Refactor settings store and components 2023-03-30 06:44:33 -07:00
jeffvli
bc5f1f13f0 Move settings to route instead of modal 2023-03-30 03:01:31 -07:00
jeffvli
58c7370536 Add dedicated OS window bars (#22) 2023-03-28 23:59:51 -07:00
Jeff
23f84d68e8
Add MPRIS support (#25)
* Stop mpv on app close for linux/macOS (#20)

* Add initial MPRIS support

* Fix mpv path check
2023-02-08 23:57:06 -08: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
Jeff
44a4b88809
Migrate to mantine v6 (#15)
* Add letter spacing to cell text

* Set window control height in px

* Add temp unused routes

* Migrate text title font weights

* Bump mantine to v6 alpha

* Migrate modals / notifications

* Increase header bar to 65px

* Adjust play button props

* Migrate various components

* Migrate various pages and root styles

* Adjust default badge padding

* Fix sidebar spacing

* Fix list header badges

* Adjust default theme
2023-01-28 20:46:07 -08:00
jeffvli
2e74f7533a Reuse song list for artist songs 2023-01-15 20:39:43 -08:00
jeffvli
5614ad54f2 Add view artist discography 2023-01-15 16:22:07 -08:00
jeffvli
fc57605219 Select router type based on desktop/web 2023-01-15 16:11:26 -08:00
jeffvli
92cde507d9 Add artist top songs list 2023-01-13 13:51:19 -08:00
jeffvli
4e8dc868bb Add routes to artist song list / discography 2023-01-13 01:09:34 -08:00
jeffvli
9b8bcb05bd Add initial album artist detail route 2023-01-12 18:43:25 -08:00
jeffvli
45aef104fe Update album artist base route 2023-01-12 12:45:44 -08:00
jeffvli
0f66687843 Misc. optimizations 2023-01-07 23:09:58 -08:00
jeffvli
838c6a8b6a Adjust titlebar / window controls styling 2023-01-06 23:51:26 -08:00
jeffvli
98ef0b44ec Add error boundaries to individual routes 2023-01-04 22:38:27 -08:00
jeffvli
8b04f70106 Add dedicated playlist song list page 2023-01-01 13:58:05 -08:00
jeffvli
0f364f7c5c Add initial playlist detail page 2022-12-31 18:03:26 -08:00
jeffvli
ec79d91d30 Add playlist list 2022-12-31 03:46:12 -08:00
jeffvli
24af17b8fe Add album artist list route 2022-12-30 21:04:06 -08:00
jeffvli
1d82c84c9e Add initial album detail page 2022-12-29 18:45:01 -08:00
jeffvli
1fbdfe725c Add conditional for preload functions 2022-12-25 01:25:46 -08:00
jeffvli
93c6d046ee Restore MPV check 2022-12-19 17:44:49 -08:00
jeffvli
e87c814068 Add files 2022-12-19 17:44:40 -08:00