This repository was archived by the owner on Dec 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTVGuideConfig.sample
More file actions
154 lines (130 loc) · 3.78 KB
/
TVGuideConfig.sample
File metadata and controls
154 lines (130 loc) · 3.78 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
<?php
declare(strict_types=1);
namespace Config;
use TVGuide\Config\Contract\TVGuideConfig as TVGuideConfigInterface;
use function date;
use function sys_get_temp_dir;
final readonly class TVGuideConfig implements TVGuideConfigInterface
{
public function tempPath(): string
{
return sys_get_temp_dir() . '/tv-guide';
}
public function eurosportFtpServer(): string
{
return '';
}
public function eurosportFtpUsername(): string
{
return '';
}
public function eurosportFtpPassword(): string
{
return '';
}
public function eurosportFiles(): array
{
return [
'1fi' => 'EPG_Eurosport/EurosportFinland/' . date('Y') . '_6Weeks_DESCRIPTION_FINNISH.xml',
'2fi' => 'EPG_Eurosport/Eurosport2Sweden/' . date('Y') . '_3Weeks_DESCRIPTION_FINNISH.xml',
];
}
public function eurosportDeleteSourceFiles(): bool
{
return false;
}
public function globalListingsFtpServer(): string
{
return '';
}
public function globalListingsFtpUsername(): string
{
return '';
}
public function globalListingsFtpPassword(): string
{
return '';
}
public function globalListingsDeleteSourceFiles(): bool
{
return false;
}
public function venetsiaFtpServer(): string
{
return '';
}
public function venetsiaFtpUsername(): string
{
return '';
}
public function venetsiaFtpPassword(): string
{
return '';
}
public function venetsiaDeleteSourceFiles(): bool
{
return false;
}
public function viacomApiUrl(): string
{
return 'http://epg.vimn.com/';
}
public function viacomChannels(): array
{
return [
'vh1_euro_classic' => 'eng',
'vh1_euro' => 'eng',
'paramount_network_finland' => 'fin',
'club_mtv_international' => 'eng',
'mtv_live_international' => 'eng',
'mtv_hits_uk' => 'uk',
'mtv_finland' => 'fin',
'nick_jr_nordics' => 'fin',
];
}
public function pawaDiscoveryApiUrl(): string
{
return 'https://exports.pawa.tv/discovery/europe/';
}
public function pawaDiscoveryFiles(): array
{
return [
'APEUFIN-UTC.xml',
'DCFIFIN-UTC.xml'
];
}
public function clipsourceApiUrl(): string
{
return 'https://api.clipsource.com/epg/v4.2.0';
}
public function clipsourceApiKey(): string
{
return '';
}
public function clipsourceChannels(): array
{
return [
'fi.viasat.jalkapallo.hd' => 'V sport jalkapallo',
'fi.viasat.jaakiekko.hd' => 'V sport jääkiekko',
'fi.viasat.urheilu.hd' => 'V sport urheilu',
'fi.viasat.sport' => 'V sport 1',
'fi.viasat.sport.premium' => 'V sport premium',
'fi.viasat.fotboll' => 'V sport football',
'fi.viasat.hockey' => 'V sport hockey',
'fi.viasat.golf' => 'V sport golf',
'fi.viasat.ultra.hd' => 'V sport ultra HD',
'fi.viasat.premiere' => 'V film premiere',
'fi.viasat.film.action' => 'V film action',
'fi.viasat.film.hits' => 'V film hits',
'fi.viasat.film.family' => 'V film family',
'fi.viasat.history' => 'Viasat History',
'fi.viasat.explore' => 'Viasat Explore',
'fi.viasat.nature' => 'Viasat Nature',
'fi.viasat.extra.1' => 'V sport live 1',
'fi.viasat.extra.2' => 'V sport live 2',
'fi.viasat.extra.3' => 'V sport live 3',
'fi.viasat.extra.4' => 'V sport live 4',
'fi.viasat.extra.5' => 'V sport live 5'
];
}
}