1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < title > Vu+ </ title >
4
+ < title > Enigma2 </ title >
5
5
</ head >
6
6
< body >
7
- < div data-role ="page " id ="VuPlusConfigurationPage " class ="page type-interior pluginConfigurationPage VuPlusConfigurationPage " data-require ="emby-button,emby-checkbox,emby-input ">
7
+ < div data-role ="page " id ="Enigma2ConfigurationPage " class ="page type-interior pluginConfigurationPage Enigma2ConfigurationPage " data-require ="emby-button,emby-checkbox,emby-input ">
8
8
9
9
< div data-role ="content ">
10
10
< div class ="content-primary ">
11
11
12
- < h1 > VuPlus </ h1 >
12
+ < h1 > Enigma2 </ h1 >
13
13
14
- < form id ="VuPlusConfigurationForm " class ="VuPlusConfigurationForm ">
14
+ < form id ="Enigma2ConfigurationForm " class ="Enigma2ConfigurationForm ">
15
15
16
16
< div class ="inputContainer ">
17
- < input is ="emby-input " id ="txtHostName " type ="text " label ="Vu+ hostname or ip address: " />
17
+ < input is ="emby-input " id ="txtHostName " type ="text " label ="Enigma2 hostname or ip address: " />
18
18
< div class ="fieldDescription ">
19
19
The host name (address) or ip address of your receiver
20
20
</ div >
21
21
</ div >
22
22
< div class ="inputContainer ">
23
- < input is ="emby-input " id ="txtStreamingPort " type ="text " label ="Vu+ streaming port: " />
23
+ < input is ="emby-input " id ="txtStreamingPort " type ="text " label ="Enigma2 streaming port: " />
24
24
< div class ="fieldDescription ">
25
25
The Streaming port of your receiver eg. 8001
26
26
</ div >
27
27
</ div >
28
28
< div class ="inputContainer ">
29
- < input is ="emby-input " id ="txtWebInterfacePort " type ="text " label ="Vu+ Web Interface port: " />
29
+ < input is ="emby-input " id ="txtWebInterfacePort " type ="text " label ="Enigma2 Web Interface port: " />
30
30
< div class ="fieldDescription ">
31
- The web Interface port of your receiver eg. 8000
31
+ The web interface port of your receiver eg. 8000
32
32
</ div >
33
33
</ div >
34
34
< div class ="inputContainer ">
35
- < input is ="emby-input " id ="txtWebInterfaceUsername " type ="text " label ="Vu+ Web Interface username: " />
35
+ < input is ="emby-input " id ="txtWebInterfaceUsername " type ="text " label ="Enigma2 Web Interface username: " />
36
36
< div class ="fieldDescription ">
37
- The web Interface username of your receiver (optional)
37
+ The web interface username of your receiver (optional)
38
38
</ div >
39
39
</ div >
40
40
< div class ="inputContainer ">
41
- < input is ="emby-input " id ="txtWebInterfacePassword " type ="text " label ="Vu+ Web Interface password: " />
41
+ < input is ="emby-input " id ="txtWebInterfacePassword " type ="password " label ="Enigma2 Web Interface password: " />
42
42
< div class ="fieldDescription ">
43
- The web Interface password of your receiver (optional)
43
+ The web interface password of your receiver (optional)
44
+ </ div >
45
+ </ div >
46
+
47
+ < div class ="checkboxContainer checkboxContainer-withDescription ">
48
+ < label >
49
+ < input is ="emby-checkbox " type ="checkbox " id ="chkUseLoginForStreams " />
50
+ < span > Use login for streaming</ span >
51
+ </ label >
52
+ < div class ="fieldDescription checkboxFieldDescription ">
53
+ Use web interface login for streaming
44
54
</ div >
45
55
</ div >
46
56
@@ -54,6 +64,16 @@ <h1>VuPlus</h1>
54
64
</ div >
55
65
</ div >
56
66
67
+ < div class ="checkboxContainer checkboxContainer-withDescription ">
68
+ < label >
69
+ < input is ="emby-checkbox " type ="checkbox " id ="chkUseSecureHTTPSForStreams " />
70
+ < span > Use secure HTTP (HTTPS) for streams</ span >
71
+ </ label >
72
+ < div class ="fieldDescription checkboxFieldDescription ">
73
+ Use HTTPS to connect to streaming port
74
+ </ div >
75
+ </ div >
76
+
57
77
< div class ="checkboxContainer checkboxContainer-withDescription ">
58
78
< label >
59
79
< input is ="emby-checkbox " type ="checkbox " id ="chkOnlyOneBouquet " />
@@ -66,7 +86,7 @@ <h1>VuPlus</h1>
66
86
67
87
68
88
< div class ="inputContainer ">
69
- < input is ="emby-input " id ="txtTVBouquet " type ="text " label ="Vu+ TVBouquet: " />
89
+ < input is ="emby-input " id ="txtTVBouquet " type ="text " label ="Enigma2 TVBouquet: " />
70
90
< div class ="fieldDescription ">
71
91
The TV Bouquet to load channels for (optional)
72
92
</ div >
@@ -109,7 +129,7 @@ <h1>VuPlus</h1>
109
129
110
130
< label class ="checkboxContainer ">
111
131
< input is ="emby-checkbox " type ="checkbox " id ="chkDebugLogging " />
112
- < span > Enable VuPlus debug logging</ span >
132
+ < span > Enable Enigma2 debug logging</ span >
113
133
</ label >
114
134
115
135
< div >
@@ -122,19 +142,21 @@ <h1>VuPlus</h1>
122
142
123
143
124
144
< script type ="text/javascript ">
125
- var VuPlusConfigurationPage = {
126
- pluginUniqueId : "9564ac10-af23-39bc-449f-624f23cfa48f " ,
145
+ var Enigma2ConfigurationPage = {
146
+ pluginUniqueId : "193f29f9-ea6c-4595-a6f6-55e79d7c590a " ,
127
147
128
148
loadConfiguration : function ( ) {
129
149
Dashboard . showLoadingMsg ( ) ;
130
150
131
- ApiClient . getPluginConfiguration ( VuPlusConfigurationPage . pluginUniqueId ) . then ( function ( config ) {
151
+ ApiClient . getPluginConfiguration ( Enigma2ConfigurationPage . pluginUniqueId ) . then ( function ( config ) {
132
152
document . getElementById ( 'txtHostName' ) . value = config . HostName || "" ;
133
153
document . getElementById ( 'txtStreamingPort' ) . value = config . StreamingPort || "" ;
134
154
document . getElementById ( 'txtWebInterfacePort' ) . value = config . WebInterfacePort || "" ;
135
155
document . getElementById ( 'txtWebInterfaceUsername' ) . value = config . WebInterfaceUsername || "" ;
136
156
document . getElementById ( 'txtWebInterfacePassword' ) . value = config . WebInterfacePassword || "" ;
157
+ document . getElementById ( 'chkUseLoginForStreams' ) . checked = config . UseLoginForStreams || false ;
137
158
document . getElementById ( 'chkUseSecureHTTPS' ) . checked = config . UseSecureHTTPS || false ;
159
+ document . getElementById ( 'chkUseSecureHTTPSForStreams' ) . checked = config . UseSecureHTTPSForStreams || false ;
138
160
document . getElementById ( 'chkOnlyOneBouquet' ) . checked = config . OnlyOneBouquet || false ;
139
161
document . getElementById ( 'txtTVBouquet' ) . value = config . TVBouquet || "" ;
140
162
document . getElementById ( 'chkZapToChannel' ) . checked = config . ZapToChannel || false ;
@@ -150,13 +172,15 @@ <h1>VuPlus</h1>
150
172
saveConfiguration : function ( ) {
151
173
Dashboard . showLoadingMsg ( ) ;
152
174
153
- ApiClient . getPluginConfiguration ( VuPlusConfigurationPage . pluginUniqueId ) . then ( function ( config ) {
175
+ ApiClient . getPluginConfiguration ( Enigma2ConfigurationPage . pluginUniqueId ) . then ( function ( config ) {
154
176
config . HostName = document . getElementById ( 'txtHostName' ) . value ;
155
177
config . StreamingPort = document . getElementById ( 'txtStreamingPort' ) . value ;
156
178
config . WebInterfacePort = document . getElementById ( 'txtWebInterfacePort' ) . value ;
157
179
config . WebInterfaceUsername = document . getElementById ( 'txtWebInterfaceUsername' ) . value ;
158
180
config . WebInterfacePassword = document . getElementById ( 'txtWebInterfacePassword' ) . value ;
181
+ config . UseLoginForStreams = document . getElementById ( 'chkUseLoginForStreams' ) . checked ;
159
182
config . UseSecureHTTPS = document . getElementById ( 'chkUseSecureHTTPS' ) . checked ;
183
+ config . UseSecureHTTPSForStreams = document . getElementById ( 'chkUseSecureHTTPSForStreams' ) . checked ;
160
184
config . OnlyOneBouquet = document . getElementById ( 'chkOnlyOneBouquet' ) . checked ;
161
185
config . TVBouquet = document . getElementById ( 'txtTVBouquet' ) . value ;
162
186
config . ZapToChannel = document . getElementById ( 'chkZapToChannel' ) . checked ;
@@ -165,18 +189,18 @@ <h1>VuPlus</h1>
165
189
config . RecordingPath = document . getElementById ( 'txtRecordingPath' ) . value ;
166
190
config . EnableDebugLogging = document . getElementById ( 'chkDebugLogging' ) . checked ;
167
191
168
- ApiClient . updatePluginConfiguration ( VuPlusConfigurationPage . pluginUniqueId , config ) . then ( Dashboard . processPluginConfigurationUpdateResult ) ;
192
+ ApiClient . updatePluginConfiguration ( Enigma2ConfigurationPage . pluginUniqueId , config ) . then ( Dashboard . processPluginConfigurationUpdateResult ) ;
169
193
} ) ;
170
194
}
171
195
}
172
196
173
- document . getElementById ( 'VuPlusConfigurationPage ' ) . addEventListener ( 'pageshow' , function ( ) {
174
- VuPlusConfigurationPage . loadConfiguration ( ) ;
197
+ document . getElementById ( 'Enigma2ConfigurationPage ' ) . addEventListener ( 'pageshow' , function ( ) {
198
+ Enigma2ConfigurationPage . loadConfiguration ( ) ;
175
199
} ) ;
176
200
177
- document . getElementById ( 'VuPlusConfigurationForm ' ) . addEventListener ( 'submit' , function ( e ) {
201
+ document . getElementById ( 'Enigma2ConfigurationForm ' ) . addEventListener ( 'submit' , function ( e ) {
178
202
e . preventDefault ( ) ;
179
- VuPlusConfigurationPage . saveConfiguration ( ) ;
203
+ Enigma2ConfigurationPage . saveConfiguration ( ) ;
180
204
} ) ;
181
205
</ script >
182
206
</ div >
0 commit comments