@ctrl/plex 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/video.d.ts +8 -0
- package/dist/src/video.js +3 -0
- package/package.json +1 -1
package/dist/src/video.d.ts
CHANGED
|
@@ -24,6 +24,14 @@ declare abstract class Video extends Playable {
|
|
|
24
24
|
viewCount?: number;
|
|
25
25
|
art?: string;
|
|
26
26
|
grandparentArt?: string;
|
|
27
|
+
/**
|
|
28
|
+
* BlurHash string for artwork image.
|
|
29
|
+
*/
|
|
30
|
+
artBlurHash?: string;
|
|
31
|
+
/**
|
|
32
|
+
* BlurHash string for thumbnail image.
|
|
33
|
+
*/
|
|
34
|
+
thumbBlurHash?: string;
|
|
27
35
|
/**
|
|
28
36
|
* Returns True if this video is watched.
|
|
29
37
|
*/
|
package/dist/src/video.js
CHANGED
|
@@ -71,6 +71,9 @@ class Video extends Playable {
|
|
|
71
71
|
this.titleSort = data.titleSort ?? this.title;
|
|
72
72
|
this.viewCount = data.viewCount;
|
|
73
73
|
this.playlistItemID = data.playlistItemID;
|
|
74
|
+
// todo: update one of them with this property
|
|
75
|
+
this.artBlurHash = data.artBlurHash;
|
|
76
|
+
this.thumbBlurHash = data.thumbBlurHash;
|
|
74
77
|
}
|
|
75
78
|
}
|
|
76
79
|
/**
|