File tree 4 files changed +14
-5
lines changed
4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
2
<addon id =" script.module.tvh2kodi"
3
3
name =" Tvheadend Setup for Kodi"
4
- version =" 1.8"
4
+ version =" 1.8.1 "
5
5
provider-name =" edit4ever" >
6
6
<requires >
7
7
<import addon =" xbmc.python" version =" 2.6.0" />
17
17
<description >Tvh2Kodi gives access to the basic Tvheadend settings directly from the Kodi interface. This can be used in place of the Tvheadend web interface to get your Tvheadend backend server configured and running. It is also provides an easy way to scan for new services and channels and to configure your channel EPG sources.
18
18
19
19
* minimum version of Tvheadend is 4.2
20
+ v1.8.1
21
+ - fix username-password display
20
22
v1.8
21
23
- add support for IPTV Networks
22
24
- fix error in muxes when 0 muxes available
Original file line number Diff line number Diff line change 42
42
tvh_port = xbmcaddon .Addon ().getSetting ('tvhport' )
43
43
tvh_usern = xbmcaddon .Addon ().getSetting ('usern' )
44
44
tvh_passw = xbmcaddon .Addon ().getSetting ('passw' )
45
+ tvh_url_base = xbmcaddon .Addon ().getSetting ('tvhurl' )
45
46
if tvh_usern != "" and tvh_passw != "" :
46
- tvh_url = tvh_usern + ":" + tvh_passw + "@" + xbmcaddon . Addon (). getSetting ( 'tvhurl' )
47
+ tvh_url = tvh_usern + ":" + tvh_passw + "@" + tvh_url_base
47
48
else :
48
- tvh_url = xbmcaddon . Addon (). getSetting ( 'tvhurl' )
49
+ tvh_url = tvh_url_base
49
50
50
51
try :
51
52
check_url = 'http://' + tvh_url + ':' + tvh_port + '/api/status/connections'
@@ -2159,7 +2160,7 @@ def index():
2159
2160
})
2160
2161
items .append (
2161
2162
{
2162
- 'label' : 'Tvheadend Backend: ' + tvh_url + ':' + tvh_port ,
2163
+ 'label' : 'Tvheadend Backend: ' + tvh_url_base + ':' + tvh_port ,
2163
2164
'path' : plugin .url_for (u'tvhclient' ),
2164
2165
'thumbnail' :get_icon_path ('server' ),
2165
2166
})
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" standalone =" yes" ?>
2
2
<strings >
3
+ <string id =" 32001" >Tvheadend Configuration</string >
3
4
<string id =" 32000" >Tvheadend Backend</string >
4
5
<string id =" 32010" >IP address</string >
5
6
<string id =" 32020" >Port</string >
7
+ <string id =" 32022" >Tvheadend Username</string >
8
+ <string id =" 32023" >Tvheadend Password</string >
9
+ <string id =" 32025" >Tvheadend Paths</string >
6
10
<string id =" 32030" >DVR Recording Path</string >
7
11
</strings >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" standalone =" yes" ?>
2
2
<settings >
3
3
<category label =" 32000" >
4
+ <setting label =" 32001" type =" lsep" />
4
5
<setting label =" 32010" type =" ipaddress" id =" tvhurl" default =" 127.0.0.1" />
5
6
<setting label =" 32020" type =" number" id =" tvhport" default =" 9981" />
6
7
<setting label =" 32022" type =" text" id =" usern" default =" " />
7
8
<setting label =" 32023" type =" text" id =" passw" default =" " />
8
- <setting label =" " type =" lsep" />
9
+ <setting label =" " type =" lsep" />
10
+ <setting label =" 32025" type =" lsep" />
9
11
<setting label =" 32030" type =" folder" id =" dvrstorage" default =" " option =" writeable" />
10
12
</category >
11
13
</settings >
You can’t perform that action at this time.
0 commit comments