Files
App/types/JellifyTrack.ts
Violet Caulfield e09c71590c Add lodash
More backend for queuing, image retrieval, and completing mapping to JellifyTrack
2024-10-13 09:41:17 -05:00

34 lines
1.2 KiB
TypeScript

import { SongInfo } from "@jellyfin/sdk/lib/generated-client/models";
import { PitchAlgorithm, RatingType, Track, TrackType } from "react-native-track-player"
import { QueuingType } from "../enums/queuing-type";
export interface JellifyTrack extends Track {
url: string;
type?: TrackType | undefined;
userAgent?: string | undefined;
contentType?: string | undefined;
pitchAlgorithm?: PitchAlgorithm | undefined;
headers?: { [key: string]: any; } | undefined;
title?: string | undefined;
album?: string | undefined;
artist?: string | undefined;
duration?: number | undefined;
artwork?: string | undefined;
description?: string | undefined;
genre?: string | undefined;
date?: string | undefined;
rating?: RatingType | undefined;
isLiveStream?: boolean | undefined;
Year?: number | null | undefined;
IndexNumber?: number | null | undefined;
ParentIndexNumber?: number | null | undefined;
/**
* Represents the type of queuing for this song, be it that it was
* queued from the selection chosen, queued by the user directly, or marked
* to play next by the user
*/
QueuingType?: QueuingType | undefined ;
}