Fixed transcoding settings bug.
This commit is contained in:
parent
539cad32cf
commit
c3a0bc6f5b
2
addon.py
2
addon.py
|
@ -33,7 +33,7 @@ class Plugin(object):
|
||||||
|
|
||||||
self.random_count = addon.getSetting("random_count")
|
self.random_count = addon.getSetting("random_count")
|
||||||
self.bitrate = addon.getSetting("bitrate")
|
self.bitrate = addon.getSetting("bitrate")
|
||||||
self.trans_format = addon.getSetting("trans_format")
|
self.transcode_format = addon.getSetting("transcode_format")
|
||||||
|
|
||||||
# Create connection
|
# Create connection
|
||||||
self.connection = libsonic_extra.SubsonicClient(
|
self.connection = libsonic_extra.SubsonicClient(
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
<setting id="username" type="text" label="Username" default="guest3"/>
|
<setting id="username" type="text" label="Username" default="guest3"/>
|
||||||
<setting id="password" type="text" option="hidden" label="Password" default="guest"/>
|
<setting id="password" type="text" option="hidden" label="Password" default="guest"/>
|
||||||
<setting id="random_count" type="labelenum" label="Random songs" values="10|15|20|25"/>
|
<setting id="random_count" type="labelenum" label="Random songs" values="10|15|20|25"/>
|
||||||
<setting id="format" type="labelenum" label="Format" values="mp3|raw|flv|ogg"/>
|
<setting id="transcode_format" type="labelenum" label="Transcode format" values="mp3|raw|flv|ogg"/>
|
||||||
<setting id="bitrate" type="labelenum" label="Bitrate" values="320|256|224|192|160|128|112|96|80|64|56|48|40|32"/>
|
<setting id="bitrate" type="labelenum" label="Bitrate" values="320|256|224|192|160|128|112|96|80|64|56|48|40|32"/>
|
||||||
</settings>
|
</settings>
|
||||||
|
|
Loading…
Reference in New Issue