-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
84 lines (84 loc) · 2.96 KB
/
Copy pathplugin.json
File metadata and controls
84 lines (84 loc) · 2.96 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
{
"name": "phlix-plugin-trakt",
"version": "1.5.0",
"phlix_min_server_version": "1.2.0",
"type": "scrobbler",
"entry": "Phlix\\Plugins\\Scrobbler\\Trakt\\TraktPlugin",
"events": [
"phlix.playback.started",
"phlix.playback.paused",
"phlix.playback.resumed",
"phlix.playback.stopped"
],
"settings": {
"enabled": {
"type": "boolean",
"default": false,
"required": false,
"tier": "standard",
"label": "Enable Trakt",
"description": "Master on/off for Trakt scrobbling and sync. Optional; default off."
},
"username": {
"type": "string",
"default": "",
"required": false,
"tier": "advanced",
"label": "Trakt Username",
"description": "Display-only: the Trakt account Phlix is linked to (set during authorization)."
},
"access_token": {
"type": "string",
"default": null,
"secret": true,
"required": false,
"tier": "advanced",
"label": "Access Token",
"description": "Obtained automatically when you authorize Phlix with Trakt — you do not enter this by hand. Create an API app only if you self-host credentials.",
"link": "https://app.trakt.tv/settings/apps/api/new",
"link_text": "Trakt API applications"
},
"refresh_token": {
"type": "string",
"default": null,
"secret": true,
"required": false,
"tier": "advanced",
"label": "Refresh Token",
"description": "Set automatically during authorization; used to renew the access token. Not entered by hand."
},
"expires_at": {
"type": "integer",
"default": null,
"secret": true,
"required": false,
"tier": "advanced",
"label": "Token Expiry",
"description": "Unix timestamp when the access token expires. Managed automatically."
},
"sync_enabled": {
"type": "boolean",
"default": true,
"required": false,
"tier": "advanced",
"label": "Enable library sync",
"description": "Sync watched state with Trakt. Optional; default on."
},
"sync_interval_minutes": {
"type": "integer",
"default": 30,
"required": false,
"tier": "advanced",
"label": "Sync interval (minutes)",
"description": "How often to sync with Trakt. Optional; default 30."
},
"scrobble_enabled": {
"type": "boolean",
"default": true,
"required": false,
"tier": "advanced",
"label": "Enable scrobbling",
"description": "Report play/pause/stop to Trakt as you watch. Optional; default on."
}
}
}