prismcast 1.4.0 → 1.4.2
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/README.md +37 -8
- package/dist/browser/tuning/hulu.js +114 -62
- package/dist/browser/tuning/hulu.js.map +1 -1
- package/dist/config/providers.d.ts +11 -3
- package/dist/config/providers.js +47 -13
- package/dist/config/providers.js.map +1 -1
- package/dist/config/sites.js +2 -2
- package/dist/config/sites.js.map +1 -1
- package/dist/config/userChannels.d.ts +29 -19
- package/dist/config/userChannels.js +72 -22
- package/dist/config/userChannels.js.map +1 -1
- package/dist/config/userConfig.js +1 -1
- package/dist/config/userConfig.js.map +1 -1
- package/dist/routes/config.d.ts +8 -4
- package/dist/routes/config.js +316 -114
- package/dist/routes/config.js.map +1 -1
- package/dist/routes/root.js +341 -142
- package/dist/routes/root.js.map +1 -1
- package/dist/routes/theme.js +7 -1
- package/dist/routes/theme.js.map +1 -1
- package/dist/streaming/monitor.js +36 -3
- package/dist/streaming/monitor.js.map +1 -1
- package/dist/streaming/showInfo.js +12 -14
- package/dist/streaming/showInfo.js.map +1 -1
- package/dist/types/index.d.ts +23 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -209,6 +209,29 @@ export interface ChannelListingEntry {
|
|
|
209
209
|
key: string;
|
|
210
210
|
source: "override" | "predefined" | "user";
|
|
211
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* A delta override for a predefined channel. All fields are optional because only fields that differ from the predefined definition are stored. String and number
|
|
214
|
+
* fields use Nullable<T> to distinguish "user cleared this field" (null) from "inherit from predefined" (absent). When a field is null, the predefined value is
|
|
215
|
+
* removed in the resolved channel. When a field is absent, the predefined value is inherited.
|
|
216
|
+
*/
|
|
217
|
+
export interface ChannelDelta {
|
|
218
|
+
channelNumber?: Nullable<number>;
|
|
219
|
+
channelSelector?: Nullable<string>;
|
|
220
|
+
name?: Nullable<string>;
|
|
221
|
+
profile?: Nullable<string>;
|
|
222
|
+
stationId?: Nullable<string>;
|
|
223
|
+
url?: Nullable<string>;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* What gets stored in channels.json per key. For user-defined channels (no predefined equivalent), this is a full Channel with a required url. For overrides of
|
|
227
|
+
* predefined channels, this can be a ChannelDelta with only the differing fields. Legacy full-override entries (from before the delta model) are also valid — they
|
|
228
|
+
* are just deltas that happen to override every field.
|
|
229
|
+
*/
|
|
230
|
+
export type StoredChannel = Channel | ChannelDelta;
|
|
231
|
+
/**
|
|
232
|
+
* Map of channel keys to stored channel data (full definitions or deltas). This is the raw type for the channels.json file contents.
|
|
233
|
+
*/
|
|
234
|
+
export type StoredChannelMap = Record<string, StoredChannel>;
|
|
212
235
|
/**
|
|
213
236
|
* Map of channel short names to channel definitions. Channel names must be URL-safe strings (lowercase letters, numbers, hyphens) since they appear in stream
|
|
214
237
|
* request URLs.
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAy3BA,kKAAkK;AAClK,oEAAoE;AACpE,MAAM,UAAU,yBAAyB,CAAC,OAA4B;IAEpE,OAAO,CAAC,OAAO,CAAC,eAAe,KAAK,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACpF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prismcast",
|
|
3
3
|
"displayName": "PrismCast",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.2",
|
|
5
5
|
"description": "Browser-based live TV capture server for Channels DVR, Plex, and other streaming clients.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "HJD",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@types/node": "25.3.0",
|
|
79
79
|
"eslint": "9.39.2",
|
|
80
80
|
"homebridge-plugin-utils": "1.32.0",
|
|
81
|
-
"nodemon": "3.1.
|
|
81
|
+
"nodemon": "3.1.14",
|
|
82
82
|
"shx": "0.4.0",
|
|
83
83
|
"typescript": "5.9.3",
|
|
84
84
|
"typescript-eslint": "8.56.0"
|