-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
96 lines (96 loc) · 2.36 KB
/
plugin.json
File metadata and controls
96 lines (96 loc) · 2.36 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
90
91
92
93
94
95
96
{
"id": "channels-dvr",
"name": "Channels DVR",
"version": "1.0.3",
"api_version": "1.0.0",
"repository": "m3ue/channels-dvr-plugin",
"description": "Maps Gracenote station IDs from a local Channels DVR install to your playlist channels via the DVR guide stations API.",
"entrypoint": "Plugin.php",
"class": "AppLocalPlugins\\ChannelsDvr\\Plugin",
"capabilities": [
"channel_processor"
],
"hooks": [
"playlist.synced"
],
"permissions": [
"db_read",
"db_write",
"network_egress",
"hook_subscriptions",
"queue_jobs"
],
"schema": {
"tables": []
},
"data_ownership": {
"tables": [],
"directories": [],
"files": [],
"default_cleanup_policy": "preserve"
},
"settings": [
{
"id": "dvr_host",
"label": "DVR Host",
"type": "text",
"required": true,
"helper_text": "IP address or hostname of your Channels DVR server, without the port (e.g. 192.168.11.22 or my-dvr.local). Set the port separately below.",
"default": ""
},
{
"id": "dvr_port",
"label": "DVR Port",
"type": "number",
"helper_text": "Channels DVR web UI port. Default is 8089.",
"default": 8089
},
{
"id": "default_playlist_id",
"label": "Default Playlist(s)",
"type": "model_select",
"model": "App\\Models\\Playlist",
"label_attribute": "name",
"scope": "owned",
"multiple": true,
"helper_text": "Playlists to sync station IDs automatically after each playlist sync. Leave empty to disable automatic runs.",
"default": null
},
{
"id": "overwrite_existing",
"label": "Overwrite channels that already have a station ID",
"type": "boolean",
"default": false
},
{
"id": "skip_vod",
"label": "Skip VOD channels",
"type": "boolean",
"default": true
}
],
"actions": [
{
"id": "health_check",
"label": "Health Check",
"dry_run": true,
"fields": []
},
{
"id": "sync_station_ids",
"label": "Sync Station IDs",
"dry_run": false,
"fields": [
{
"id": "playlist_id",
"label": "Playlist",
"type": "model_select",
"model": "App\\Models\\Playlist",
"label_attribute": "name",
"scope": "owned",
"required": true
}
]
}
]
}