skystream-cli 1.4.4 → 1.4.5
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/index.js +19 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -82,23 +82,7 @@ const JS_TEMPLATE = `(function() {
|
|
|
82
82
|
url: \`\${manifest.baseUrl}/series\`,
|
|
83
83
|
posterUrl: \`https://placehold.co/400x600.png?text=Series+Poster\`,
|
|
84
84
|
type: "series",
|
|
85
|
-
|
|
86
|
-
score: 8.5,
|
|
87
|
-
status: "ongoing", // ongoing, completed, upcoming
|
|
88
|
-
description: "This category appears as a thumbnail row.",
|
|
89
|
-
cast: [
|
|
90
|
-
new Actor({ name: "John Doe", role: "Protagonist", image: "https://..." })
|
|
91
|
-
],
|
|
92
|
-
episodes: [
|
|
93
|
-
new Episode({
|
|
94
|
-
name: "Episode 1",
|
|
95
|
-
url: \`\${manifest.baseUrl}/series/1\`,
|
|
96
|
-
season: 1,
|
|
97
|
-
episode: 1,
|
|
98
|
-
airDate: "2024-03-12",
|
|
99
|
-
dubStatus: "subbed" // subbed, dubbed, none
|
|
100
|
-
})
|
|
101
|
-
]
|
|
85
|
+
description: "This category appears as a thumbnail row."
|
|
102
86
|
})
|
|
103
87
|
]
|
|
104
88
|
}
|
|
@@ -163,6 +147,24 @@ const JS_TEMPLATE = `(function() {
|
|
|
163
147
|
type: "series",
|
|
164
148
|
bannerUrl: \`https://placehold.co/1280x720.png?text=Series+Banner\`,
|
|
165
149
|
description: "This is a detailed description of the media.",
|
|
150
|
+
year: 2024,
|
|
151
|
+
score: 8.5,
|
|
152
|
+
duration: 120, // (optional, in minutes)
|
|
153
|
+
status: "ongoing", // ongoing, completed, upcoming
|
|
154
|
+
contentRating: "PG-13",
|
|
155
|
+
logoUrl: \`https://placehold.co/200x100.png?text=Logo\`,
|
|
156
|
+
isAdult: false,
|
|
157
|
+
tags: ["Action", "Adventure"],
|
|
158
|
+
cast: [
|
|
159
|
+
new Actor({ name: "John Doe", role: "Protagonist", image: "https://placehold.co/200x300.png" })
|
|
160
|
+
],
|
|
161
|
+
trailers: [
|
|
162
|
+
new Trailer({ name: "Official Trailer", url: "https://www.youtube.com/watch?v=..." })
|
|
163
|
+
],
|
|
164
|
+
nextAiring: new NextAiring({ episode: 5, season: 1, airDate: "2024-04-01" }),
|
|
165
|
+
recommendations: [
|
|
166
|
+
new MultimediaItem({ title: "Similar Show", url: \`\${manifest.baseUrl}/similar\`, posterUrl: "...", type: "series" })
|
|
167
|
+
],
|
|
166
168
|
headers: { "Referer": \`\${manifest.baseUrl}\` },
|
|
167
169
|
episodes: [
|
|
168
170
|
new Episode({
|