fix(plex-sync): store plex added date and sort recently added by it

This commit is contained in:
sct
2021-01-13 09:51:11 +00:00
parent a262727078
commit d688a96759
7 changed files with 86 additions and 6 deletions

View File

@@ -9,6 +9,8 @@ export interface PlexLibraryItem {
guid: string;
parentGuid?: string;
grandparentGuid?: string;
addedAt: number;
updatedAt: number;
type: 'movie' | 'show' | 'season' | 'episode';
}
@@ -48,6 +50,8 @@ export interface PlexMetadata {
parentIndex?: number;
leafCount: number;
viewedLeafCount: number;
addedAt: number;
updatedAt: number;
Media: Media[];
}