-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
71 lines (62 loc) · 1.69 KB
/
config.js
File metadata and controls
71 lines (62 loc) · 1.69 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
module.exports = {
botToken: '252731600:AAHEfZxF0BA1_gyC4k3TfXd3AkaLcLHhOgs',
workersCount: 1,
defaultContentProvider: 'orange-poland',
contentProviders: {
'orange-poland': {
name: 'orange-poland',
apiUrl: 'http://orangepl-test.noriginmedia.com/mac-api/proxy/',
anonymousAuthPath: 'orange-opl/anonymous',
anonymousAuthQueryParams: {
appId: 'opl.orange.pc',
appVersion: '1.0'
}
},
'orange-spain': {
name: 'orange-spain',
apiUrl: 'http://orange-test.noriginmedia.com/mac-api/proxy/',
anonymousAuthPath: 'orange-es/anonymous',
anonymousAuthQueryParams: {
appId: 'es.orange.pc',
appVersion: '3.3'
}
}
},
defaultXhrHeaders: {
'User-Agent': 'Telegram Bot SDK'
},
sessionHeaderKey: 'X-Aspiro-TV-Session',
searchQueryParams: {
forFields: 'title,description,metadata.castSearch.actor,metadata.castSearch.director',
resultFormat: 'forFieldsFormat'
},
epgPath: 'epg',
searchPath: 'search',
routes: {
right: {
'start': 'help',
'h': 'help',
'c': 'channels',
'e': 'epg',
'l': 'list',
'f': 'find',
'd': 'details',
'r': 'related',
'p': 'provider',
'w': 'time-table'
},
wrong: 'wrong'
},
commandsList: [
'`/h `- show commands list',
'`/p `- select content provider',
'`/l `- show current programs list',
'`/c `- list of available channels',
'`/e :channel `- list of programs for specific channel',
'`/f `- find video content',
'`/d :index `- show video details',
'`/r :index `- show related videos',
'`/w :channel :offset `- show programs from day offset'
],
coverImageKey: 'APP_SLSHOW_3'
};