-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
89 lines (89 loc) · 4.25 KB
/
Copy pathplugin.json
File metadata and controls
89 lines (89 loc) · 4.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "VOD Preferences",
"version": "1.3.3",
"description": "Greater control over which VOD stream Dispatcharr serves through its proxy for a given title: prefer higher video/audio qualities across providers, and/or remember a stream selected in the UI as that title's durable default.",
"author": "andyj682",
"help_url": "https://github.com/andyj682/dispatcharr_vod_preferences",
"fields": [
{
"id": "prefer_quality",
"label": "Prefer quality",
"type": "select",
"default": "off",
"help_text": "Sets the highest video quality to prefer. Quality is inferred from actual video pixel dimensions, explicit quality/resolution, provider stream name, and M3U account name (e.g., a '4K' provider), in that order. A chosen tier wins when available; otherwise lower priorities are tried before higher ones in descending order. Streams with no quality signal keep their native account-priority order. Most precise on TV, which carries measured resolution; on movies, providers commonly label only 4K, so any tier there mainly prefers a 4K-labeled copy when present and can't pick an unlabeled 1080p/720p.",
"options": [
{ "value": "off", "label": "Off (native account priority)" },
{ "value": "4k", "label": "Prefer 4K" },
{ "value": "1080p", "label": "Prefer 1080p" },
{ "value": "720p", "label": "Prefer 720p" }
]
},
{
"id": "remember_ui_picks",
"label": "Remember my UI pick",
"type": "boolean",
"default": true,
"help_text": "Save a specific stream played from the Dispatcharr UI as the default so the proxy serves it next time. Movies remember the exact stream; TV remembers the PROVIDER for the whole series. Applied ahead of the quality rule; dropped automatically if the provider stops carrying the title."
},
{
"id": "prefer_audio",
"label": "Prefer better audio (tiebreaker)",
"type": "boolean",
"default": false,
"help_text": "Among streams of the same video quality, prefer higher-quality audio (5.1/7.1 -> 2.0, and within each category lossless -> Dolby -> AAC -> other). Streams with no readable audio info keep their native order."
},
{
"id": "avoid_dv_no_fallback",
"label": "Avoid Dolby Vision without HDR/SDR fallback",
"type": "boolean",
"default": false,
"help_text": "Demote Dolby Vision streams with no HDR10/SDR base layer (Profile 5) to lowest priority to avoid playback compatibility issues. Leave off if your players handle Profile 5 fine."
},
{
"id": "clear_key",
"label": "Title key to clear",
"type": "string",
"default": "",
"placeholder": "e.g. tmdb:954 (or a bare tmdb/imdb id)",
"help_text": "Type the key of a saved pick here (copy it from 'List saved picks'), then click 'Clear one' on the Actions tab. Leave blank otherwise."
},
{
"id": "_info",
"label": "",
"type": "info",
"description": "Selection order (most specific first): explicit request pick -> saved UI pick -> quality rule -> native account priority. Use the buttons below to inspect or clear saved picks."
}
],
"actions": [
{
"id": "status",
"label": "Show patch status",
"description": "Report whether the preferences patch is active in the worker that handles this request.",
"button_label": "Check status",
"button_variant": "outline"
},
{
"id": "list_saved",
"label": "List saved picks",
"description": "Show the remembered per-title stream picks.",
"button_label": "List saved picks",
"button_variant": "outline"
},
{
"id": "clear_title",
"label": "Clear one saved pick",
"description": "Remove the saved pick whose key is in the 'Title key to clear' box (Settings tab).",
"button_label": "Clear one",
"button_variant": "filled"
},
{
"id": "clear_saved",
"label": "Clear all saved picks",
"description": "Remove every remembered per-title stream pick.",
"button_label": "Clear all",
"button_variant": "light",
"button_color": "red",
"confirm": { "title": "Clear all saved picks?", "message": "This permanently removes every remembered per-title stream pick. Quality preferences are unaffected." }
}
]
}