Commit graph

143 commits

Author SHA1 Message Date
jeffvli
5637327e8a Fix conditionals on jellyfin normalization 2023-05-17 17:38:49 -07:00
jeffvli
a1072b461f Add inferred api types to controller 2023-05-17 17:38:13 -07:00
jeffvli
89afa9b836 Fix subsonic error result 2023-05-14 18:34:08 -07:00
jeffvli
8d5c82b0c6 Fix query array parser for navidrome api 2023-05-13 22:53:14 -07:00
jeffvli
bdc3daf6da Switch ND song list parameter to album_artist_id 2023-05-10 18:46:03 -07:00
jeffvli
87abd0c6f5 Fix subsonic params parser 2023-05-09 19:33:46 -07:00
jeffvli
e3665e6407 Adjust jellyfin types to include additional properties 2023-05-09 18:58:24 -07:00
jeffvli
5eeded6c72 Fix fallback to album image for Jellyfin (#97) 2023-05-09 12:01:51 -07:00
jeffvli
346b8be122 Fix JF discography view (#81) 2023-05-09 11:06:01 -07:00
jeffvli
3efeaa7359 Improve multi-server controller 2023-05-09 05:49:05 -07:00
jeffvli
63be8c8fb8 Add authenticate function to controller 2023-05-09 05:48:11 -07:00
jeffvli
975c31635a Remove old API implementation 2023-05-09 05:45:55 -07:00
jeffvli
9b5bce34a0 Fix jellyfin auth endpoint 2023-05-09 05:06:32 -07:00
jeffvli
bb27758310 Re-serialize subsonic array params 2023-05-09 05:05:15 -07:00
jeffvli
b2db2b27da Refactor server list to object instead of array
- Improve performance due to frequency of accessing the list
2023-05-09 00:39:11 -07:00
jeffvli
8a0a8e4d54 Refactor jellyfin api with ts-rest/axios 2023-05-08 03:34:15 -07:00
jeffvli
6d5e10a31c Add albumCount and songCount to genre 2023-05-08 02:42:38 -07:00
jeffvli
40aabd2217 Additional refactor for navidrome api controller types 2023-04-30 17:55:23 -07:00
jeffvli
b9d5447b4f Allow serverId to be undefined 2023-04-27 22:20:35 -07:00
jeffvli
df9464f762 Additional refactor to api and types 2023-04-27 20:34:28 -07:00
jeffvli
17cf624f6a Add generic query/mutation types 2023-04-27 20:32:56 -07:00
jeffvli
8f042ad448 Pass full server to controller 2023-04-25 16:25:26 -07:00
jeffvli
2ce49fc54e Add new server api to main controller 2023-04-24 01:22:58 -07:00
jeffvli
bec328f1f4 Add Subsonic API and types 2023-04-24 01:21:29 -07:00
jeffvli
ea8c63b71b Add new navidrome api controller 2023-04-23 19:57:10 -07:00
jeffvli
52049ce163 Add missing elements from Navidrome API 2023-04-23 19:54:36 -07:00
jeffvli
70c62c8b52 Refactor api client to support dynamic server 2023-04-23 14:26:41 -07:00
jeffvli
fa79b4cbe0 Fix artist path 2023-04-23 14:25:09 -07:00
jeffvli
438085633b Modify navidrome responses to include header 2023-04-23 02:09:48 -07:00
jeffvli
fe043d1823 Add function to modify base response 2023-04-23 02:09:25 -07:00
jeffvli
9bd12df8f6 Add navidrome API and types 2023-04-23 01:39:47 -07:00
jeffvli
ae292e3a5f Begin normalizing list stores 2023-03-05 18:38:22 -08:00
jeffvli
92039b95c3 Fix types on top song request 2023-02-27 12:44:25 -08:00
jeffvli
c0a703be7a Add top song list for jellyfin 2023-02-27 12:17:22 -08:00
Jeff
c878e36015
Ignore CORS & SSL (#23)
* Add toggle to ignore CORS

* Add option to ignore SSL
2023-02-10 11:53:26 -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
22fec8f9d3
Add ratings support (#21)
* Update rating types for multiserver support

* Add rating mutation

* Add rating support to table views

* Add rating support on playerbar

* Add hovercard component

* Handle rating from context menu

- Improve context menu components
- Allow left / right icons
- Allow nested menus

* Add selected item count

* Fix context menu auto direction

* Add transition and move portal for context menu

* Re-use context menu for all item dropdowns

* Add ratings to detail pages / double click to clear

* Bump react-query package
2023-02-05 05:19:01 -08:00
Jeff
484c96187c
Add scrobble functionality (#19)
* Fix slider bar background to use theme

* Add "scrobbleAtDuration" to settings store

* Add subscribeWithSelector and playCount incrementor

* Add scrobbling API and mutation

* Add scrobble settings

* Begin support for multi-server queue handling

* Dynamically set version on auth header

* Add scrobbling functionality for navidrome/jellyfin
2023-01-30 20:01:57 -08:00
Jeff
59f4f43e84
Add ability to add/remove songs from playlist (#17)
* Add api for add/remove playlist items

* Add playlistItemId property to normalized Song

- This is used for Navidrome to delete songs from playlists

* Add mutations for add/remove from playlist

* Add context modal for playlist add

* Add remove from playlist from context menu

* Set jellyfin to use playlistItemId

* Adjust font sizing

* Add playlist add from detail pages

* Bump mantine to v6-alpha.2
2023-01-29 18:40:26 -08:00
jeffvli
d23ae2a8db Replace default navidrome artist image placeholder path 2023-01-15 22:08:50 -08:00
jeffvli
900d47d6f9 Fix various types 2023-01-15 16:07:02 -08:00
jeffvli
8afd626806 Adjust filters 2023-01-13 01:54:35 -08:00
jeffvli
9b8bcb05bd Add initial album artist detail route 2023-01-12 18:43:25 -08:00
jeffvli
c51194cd03 Update album artist detail endpoints 2023-01-08 20:45:38 -08:00
jeffvli
0db1c36d86 Fix ND recently added sort 2023-01-08 02:39:35 -08:00
jeffvli
b82a5eda78 Fix undefined type for favorites 2023-01-08 00:53:30 -08:00
jeffvli
f4f06abd72 Use global libraryitem type on favorite query 2023-01-07 18:21:54 -08:00
jeffvli
cfa4e5e45c Update favorite/rating endpoints
- Refactor subsonic api endpoints to set the default auth params
- The beforeRequest hook is unable to dynamically set existing params
2023-01-07 16:09:40 -08:00
jeffvli
6bb0474d62 Change ND ALBUM_SONGS sort value 2023-01-07 03:27:13 -08:00
jeffvli
1b379882f5 Reduce size of song imageUrl
- Increase efficiency of loading times for song lists
2023-01-06 01:03:58 -08:00