mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Add description property to playlist
This commit is contained in:
@@ -732,6 +732,7 @@ const normalizePlaylist = (
|
|||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
description: item.Overview || null,
|
||||||
duration: item.RunTimeTicks / 10000000,
|
duration: item.RunTimeTicks / 10000000,
|
||||||
id: item.Id,
|
id: item.Id,
|
||||||
imagePlaceholderUrl,
|
imagePlaceholderUrl,
|
||||||
|
|||||||
@@ -95,6 +95,7 @@ export type JFPlaylist = {
|
|||||||
LocationType: string;
|
LocationType: string;
|
||||||
MediaType: string;
|
MediaType: string;
|
||||||
Name: string;
|
Name: string;
|
||||||
|
Overview?: string;
|
||||||
RunTimeTicks: number;
|
RunTimeTicks: number;
|
||||||
ServerId: string;
|
ServerId: string;
|
||||||
Type: string;
|
Type: string;
|
||||||
|
|||||||
@@ -235,6 +235,7 @@ export type MusicFolder = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type Playlist = {
|
export type Playlist = {
|
||||||
|
description: string | null;
|
||||||
duration: number | null;
|
duration: number | null;
|
||||||
id: string;
|
id: string;
|
||||||
imagePlaceholderUrl: string | null;
|
imagePlaceholderUrl: string | null;
|
||||||
|
|||||||
Reference in New Issue
Block a user