mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Automatically download external subs
There's minimal impact for downloading external subs. Automatically download them if there's a language tag.
This commit is contained in:
parent
d0c939b78e
commit
bfa3b0f2da
2 changed files with 1 additions and 2 deletions
|
@ -266,7 +266,7 @@ class PlaybackUtils():
|
|||
url = ("%s/Videos/%s/%s/Subtitles/%s/Stream.srt"
|
||||
% (self.server, itemid, itemid, index))
|
||||
|
||||
if settings('downloadExternalSubs') == "true" and "Language" in stream:
|
||||
if "Language" in stream:
|
||||
|
||||
filename = "Stream.%s.srt" % stream['Language']
|
||||
try:
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
<setting id="playFromStream" type="bool" label="30002" default="true" />
|
||||
<setting id="videoBitrate" type="enum" label="30160" values="664 Kbps SD|996 Kbps HD|1.3 Mbps HD|2.0 Mbps HD|3.2 Mbps HD|4.7 Mbps HD|6.2 Mbps HD|7.7 Mbps HD|9.2 Mbps HD|10.7 Mbps HD|12.2 Mbps HD|13.7 Mbps HD|15.2 Mbps HD|16.7 Mbps HD|18.2 Mbps HD|20.0 Mbps HD|25.0 Mbps HD|30.0 Mbps HD|35.0 Mbps HD|40.0 Mbps HD|100.0 Mbps HD [default]|1000.0 Mbps HD" visible="true" default="20" subsetting="true" />
|
||||
<setting id="enableExternalSubs" type="bool" label="Enable external subs for direct stream" default="true" />
|
||||
<setting id="downloadExternalSubs" type="bool" label="Download external subs" visible="eq(-1,true)" default="true" subsetting="true" />
|
||||
<setting id="transcodeH265" type="enum" label="30522" default="0" values="Disabled|480p(and higher)|720p(and higher)|1080p" />
|
||||
<setting id="transcodeHi10P" type="bool" label="30537" default="false"/>
|
||||
<setting id="markPlayed" type="number" visible="false" default="90" />
|
||||
|
|
Loading…
Reference in a new issue