-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUI_Config.json
More file actions
257 lines (257 loc) · 11 KB
/
Copy pathUI_Config.json
File metadata and controls
257 lines (257 loc) · 11 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
{
"output_file": "settings.json",
"openReadme": {
"type": "button",
"label": "Open Readme.txt",
"tooltip": "Opens the 'Readme.txt' for this script.",
"function": "btnOpenReadme",
"wsevent": "",
"group": ""
},
"openTweetMessage": {
"type": "button",
"label": "Open Tweet__Message.txt",
"tooltip": "Opens the 'Tweet_Message.txt' which is the content of the message for Twitter.\r\nAvailable parameters inside the file:\r\n$message = The value of the 'Message for Tweet' textfield\r\n$url = Your URL to twitch.tv/<your channelname>\r\n$title = Current Title on Twitch\r\n$game = Current Game on Twitch\r\n$preview = your stream preview image (generated by Twitch)",
"function": "btnOpenTweetMessageFile",
"wsevent": "",
"group": ""
},
"cbTweetWhenGoingLive": {
"type": "checkbox",
"value": false,
"label": "AutoTweet when going live",
"tooltip": "Want the bot to automatically send out a Tweet when going live?",
"group": ""
},
"txtTweetContent": {
"type": "textbox",
"value": "Optional textfield to use in the Message",
"label": "Quick Message for Tweet File",
"tooltip": "This textfield can be used inside the TweetMessage.txt as '$message' parameter. Simply for quick usage.",
"group": ""
},
"cbTweetContent": {
"type": "checkbox",
"value": true,
"label": "Enable Optional textfield",
"tooltip": "This enable Optional Textfield from Tweet File option. If this is not checked, the '$message' parameter into Tweet File will be replaced with nothing.",
"group": ""
},
"sendTweet": {
"type": "button",
"label": "Send Tweet manually",
"tooltip": "Send out the Tweet manually",
"function": "btnSendTweet",
"wsevent": "",
"group": ""
},
"sliderNewTweetWaiting": {
"type": "slider",
"label": "Waiting timer (seconds)",
"value": 0,
"min": 0,
"max": 1800,
"ticks": 10,
"tooltip": "How long does it waits at least (indicatively) before posting a new Tweet?\nDoesn't count when you click \"Send Tweet Manually\" button and on Periodic tweets (if you setted any).\nIf \"On Game Change\" triggers, remember it could take up to 5 minutes more: the time needed by the script to notice the game is changed.",
"group": ""
},
"sliderNewTweetAfterBreak": {
"type": "slider",
"label": "Offline timer (minutes)",
"value": 60,
"min": 5,
"max": 180,
"ticks": 5,
"tooltip": "How long does your stream have to be offline before the script recognizes it as a new stream and sends a new Tweet out?",
"group": ""
},
"txtTwitchChannelName": {
"type": "textbox",
"value": "",
"label": "Streaming Channel Name",
"tooltip": "This will be used only as workaround in case the ChatBot fails to retrieve the Channel Name by itself.",
"group": "Optional workarounds"
},
"cbTwitchChannelName": {
"type": "checkbox",
"value": false,
"label": "Force Streaming Channel Name",
"tooltip": "If this is checked, the above Streaming Channel Name will be always used (if you setted any).\nThis means the script will not try to get Channel Name from chatbot runtime libraries.",
"group": "Optional workarounds"
},
"txtGenericStreamName": {
"type": "textbox",
"value": "a fantastic livestream",
"label": "Generic livestream title",
"tooltip": "This sentence will be used as title into your tweet only if no Streaming Channel Name was found.\nWhich mean you left the Streaming Channel Name empty and the script didn't succeed to get it from chatbot on runtime.",
"group": "Optional workarounds"
},
"txtGenericGameName": {
"type": "textbox",
"value": "a fantastic game",
"label": "Generic game name",
"tooltip": "This sentence will be used as game name into your tweet only if no Streaming Channel Name was found.\nWhich mean you left the Streaming Channel Name empty and the script didn't succeed to get it from chatbot on runtime.",
"group": "Optional workarounds"
},
"txtTwitterChannelName": {
"type": "textbox",
"value": "",
"label": "Twitter Channel Name",
"tooltip": "This will be used only as workaround in case your Twitter user details are unreachable via API.",
"group": "Optional workarounds"
},
"cbTwitterChannelName": {
"type": "checkbox",
"value": false,
"label": "Force Twitter Channel Name",
"tooltip": "If this is checked, the above Twitter Channel Name will be always used (if you setted any).\nThis means the script will not try to get Channel Name from Twitter Free API.",
"group": "Optional workarounds"
},
"resetTwitterChannelName": {
"type": "button",
"label": "Reset Twitch Channel Name",
"tooltip": "Delete current saved Twitch Channel Name from memory and tries to get a new one.",
"function": "btnResetTwitterChannelName",
"wsevent": "",
"group": "Optional workarounds"
},
"cbPostTweetInChat": {
"type": "checkbox",
"value": false,
"label": "Post Message with TweetUrl in Chat",
"tooltip": "If you want the Bot write a message after Tweeting with the URL to the Tweet so people can RT/like it.",
"group": "Chat Message to ReTweet"
},
"txtTweetLinkInChat": {
"type": "textbox",
"value": "Spread the word on Twitter ~ $tweetUrl",
"label": "Chatmessage",
"tooltip": "Message which the bot posts in chat after sending the Tweet out.\r\n$tweetUrl = Link to Twitter Message",
"group": "Chat Message to ReTweet"
},
"cbPostMsgMultipleTimes": {
"type": "checkbox",
"value": false,
"label": "Post the Message multiple times",
"tooltip": "If you want the Bot to write the message multiple times after going live.",
"group": "Chat Message to ReTweet"
},
"sliderRTInterval": {
"type": "slider",
"label": "Interval (min)",
"value": 15,
"min": 5,
"max": 60,
"ticks": 5,
"tooltip": "Set the time between each time the bot should post the message in minutes.",
"group": "Chat Message to ReTweet"
},
"sliderRTAmount": {
"type": "slider",
"label": "Amount of times",
"value": 3,
"min": 1,
"max": 10,
"ticks": 1,
"tooltip": "Set the amount of times the bot should post the message.",
"group": "Chat Message to ReTweet"
},
"cbSendNewTweetOnGameChange": {
"type": "checkbox",
"value": false,
"label": "Send new Tweet when game changes",
"tooltip": "Sends a new Tweet using the text from the 'Tweet_OnGameChange.txt' file when the streamer changes the game (only works for twitch streamers).",
"group": "Tweet - On Game Change"
},
"openTweetOnGameChange": {
"type": "button",
"label": "Open Tweet__OnGameChange.txt",
"tooltip": "Opens the 'Tweet_OnGameChange.txt' which is the content of the message for Twitter.\r\nLeave empty and it will use the TweetMessage.txt\r\nAvailable parameters inside the file:\r\n$message = The value of the 'Message for Tweet' textfield\r\n$url = Your URL to twitch.tv/<your channelname>\r\n$title = Current Title on Twitch\r\n$game = Current Game on Twitch\r\n$preview = your stream preview image (generated by twitch)",
"function": "btnOpenTweetOnGameChangeFile",
"wsevent": "",
"group": "Tweet - On Game Change"
},
"cbPeriodicTweeting": {
"type": "checkbox",
"value": false,
"label": "Post a Tweet periodically while live",
"tooltip": "If enabled, the script will send a new tweet using the text from the 'Tweet_Periodic.txt' file.",
"group": "Tweet - Periodic"
},
"buttonOpenPeriodicTextFile": {
"type": "button",
"label": "Open Tweet__Periodic.txt",
"tooltip": "Sends out a new Tweet using the text from the 'Tweet_Periodic.txt' file in a set interval.",
"function": "btnOpenTweetPeriodicFile",
"wsevent": "",
"group": "Tweet - Periodic"
},
"sliderPeriodicTweetInterval": {
"type": "slider",
"label": "Interval (mins)",
"value": 120,
"min": 30,
"max": 300,
"ticks": 5,
"tooltip": "Set the interval in minutes that need to pass before the script sends out a new tweet using the text from the Tweet_Periodic.txt file.",
"group": "Tweet - Periodic"
},
"txtPathPython": {
"type": "textbox",
"value": "C:\\python27\\python.exe",
"label": "Python Path",
"tooltip": "Enter the path to your default Python27 directory (per default: 'C:\\Python27\\python.exe')",
"group": "User information (Keep it hidden)"
},
"btnInstallPipRequets": {
"type": "button",
"label": "Install pip requests",
"tooltip": "Click this button to execute the command line 'python -m pip install requests requests_oauthlib' to install necessary libraries",
"function": "btnInstallPipRequets",
"wsevent": "",
"group": "User information (Keep it hidden)"
},
"btnRegisterTwitterApp": {
"type": "button",
"label": "Register Twitter App",
"tooltip": "Click this button to register your App for Twitter and get the Consumer-/Access information.",
"function": "OpenTwitterApp",
"wsevent": "",
"group": "User information (Keep it hidden)"
},
"txtConsumerKey": {
"type": "textbox",
"value": "",
"label": "Consumer Key",
"tooltip": "Your consumer key from the twitter app link.",
"group": "User information (Keep it hidden)"
},
"txtConsumerSecret": {
"type": "textbox",
"value": "",
"label": "Consumer Secret",
"tooltip": "Your consumer secret from the twitter app link.",
"group": "User information (Keep it hidden)"
},
"txtAccessToken": {
"type": "textbox",
"value": "",
"label": "Access Token",
"tooltip": "Your access token from the twitter app link.",
"group": "User information (Keep it hidden)"
},
"txtAccessTokenSecret": {
"type": "textbox",
"value": "",
"label": "Access Token Secret",
"tooltip": "Your access token secret from the twitter app link.",
"group": "User information (Keep it hidden)"
},
"cbLoggingToScriptLogs": {
"type": "checkbox",
"value": true,
"label": "Post logs to script log",
"tooltip": "Logs info to script log when the script attempts to send out new tweets or removes old tweets sent by the bot.\r\nErrors will always be logged.",
"group": "User information (Keep it hidden)"
}
}