feat: add artist views

This commit is contained in:
Lei Nelissen
2023-04-28 23:35:06 +02:00
parent 130b18bc2e
commit c9036b56ed
9 changed files with 401 additions and 4 deletions

View File

@@ -4,6 +4,11 @@ import { Album, AlbumTrack, SimilarAlbum } from 'store/music/types';
type Credentials = AppState['settings']['jellyfin'];
/**
* This is a convenience function that converts a set of Jellyfin credentials
* from the Redux store to a HTTP Header that authenticates the user against the
* Jellyfin server.
*/
function generateConfig(credentials: Credentials): RequestInit {
return {
headers: {