Stream and coverart requests assume url request and add useget by default in connection
This commit is contained in:
parent
9d86ff2051
commit
e958c5bb2a
|
@ -2800,8 +2800,7 @@ class Connection(object):
|
|||
xbmc.log("Standard URL %s"%url,level=xbmc.LOGINFO)
|
||||
xbmc.log("Qdict %s"%str(qdict),level=xbmc.LOGINFO)
|
||||
req = urllib.request.Request(url, urlencode(qdict).encode('utf-8'))
|
||||
|
||||
if self._useGET:
|
||||
if(self._useGET or ('getCoverArt' in viewName) or ('stream' in viewName)):
|
||||
url += '?%s' % urlencode(qdict)
|
||||
xbmc.log("UseGET URL %s"%(url),xbmc.LOGINFO)
|
||||
req = urllib.request.Request(url)
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<setting label="30001" type="lsep" />
|
||||
<setting label="30014" id="apiversion" type="labelenum" values="1.11.0|1.12.0|1.13.0|1.14.0|1.15.0" default="1.15.0"/>
|
||||
<setting label="30016" id="insecure" type="bool" default="false" />
|
||||
<setting label="30040" id="useget" type="bool" default="true" />
|
||||
<setting label="30040" id="useget" type="bool" default="false" />
|
||||
<setting label="30041" id="legacyauth" type="bool" default="false" />
|
||||
<setting label="30017" type="lsep" />
|
||||
<setting label="30018" id="cachetime" type="labelenum" default="15" values="1|5|15|30|60|120|180|720|1440"/>
|
||||
|
|
Loading…
Reference in New Issue