File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed
Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
22<addon id =" script.module.tvh2kodi"
33 name =" Tvheadend Setup for Kodi"
4- version =" 1.8"
4+ version =" 1.8.1 "
55 provider-name =" edit4ever" >
66 <requires >
77 <import addon =" xbmc.python" version =" 2.6.0" />
1717 <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.
1818
1919* minimum version of Tvheadend is 4.2
20+ v1.8.1
21+ - fix username-password display
2022v1.8
2123- add support for IPTV Networks
2224- fix error in muxes when 0 muxes available
Original file line number Diff line number Diff line change 4242tvh_port = xbmcaddon .Addon ().getSetting ('tvhport' )
4343tvh_usern = xbmcaddon .Addon ().getSetting ('usern' )
4444tvh_passw = xbmcaddon .Addon ().getSetting ('passw' )
45+ tvh_url_base = xbmcaddon .Addon ().getSetting ('tvhurl' )
4546if 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
4748else :
48- tvh_url = xbmcaddon . Addon (). getSetting ( 'tvhurl' )
49+ tvh_url = tvh_url_base
4950
5051try :
5152 check_url = 'http://' + tvh_url + ':' + tvh_port + '/api/status/connections'
@@ -2159,7 +2160,7 @@ def index():
21592160 })
21602161 items .append (
21612162 {
2162- 'label' : 'Tvheadend Backend: ' + tvh_url + ':' + tvh_port ,
2163+ 'label' : 'Tvheadend Backend: ' + tvh_url_base + ':' + tvh_port ,
21632164 'path' : plugin .url_for (u'tvhclient' ),
21642165 'thumbnail' :get_icon_path ('server' ),
21652166 })
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" standalone =" yes" ?>
22<strings >
3+ <string id =" 32001" >Tvheadend Configuration</string >
34 <string id =" 32000" >Tvheadend Backend</string >
45 <string id =" 32010" >IP address</string >
56 <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 >
610 <string id =" 32030" >DVR Recording Path</string >
711</strings >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" standalone =" yes" ?>
22<settings >
33 <category label =" 32000" >
4+ <setting label =" 32001" type =" lsep" />
45 <setting label =" 32010" type =" ipaddress" id =" tvhurl" default =" 127.0.0.1" />
56 <setting label =" 32020" type =" number" id =" tvhport" default =" 9981" />
67 <setting label =" 32022" type =" text" id =" usern" default =" " />
78 <setting label =" 32023" type =" text" id =" passw" default =" " />
8- <setting label =" " type =" lsep" />
9+ <setting label =" " type =" lsep" />
10+ <setting label =" 32025" type =" lsep" />
911 <setting label =" 32030" type =" folder" id =" dvrstorage" default =" " option =" writeable" />
1012 </category >
1113</settings >
You can’t perform that action at this time.
0 commit comments