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