mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
settings: Add an option to transcode VC-1
This commit is contained in:
parent
fea6fc4cf1
commit
0fc908ec85
3 changed files with 11 additions and 0 deletions
|
@ -319,6 +319,9 @@ class PlayUtils(object):
|
||||||
if settings('transcode_mpeg2.bool'):
|
if settings('transcode_mpeg2.bool'):
|
||||||
codecs.remove('mpeg2video')
|
codecs.remove('mpeg2video')
|
||||||
|
|
||||||
|
if settings('transcode_vc1.bool'):
|
||||||
|
codecs.remove('vc1')
|
||||||
|
|
||||||
return ','.join(codecs)
|
return ','.join(codecs)
|
||||||
|
|
||||||
def get_transcoding_video_codec(self):
|
def get_transcoding_video_codec(self):
|
||||||
|
@ -334,6 +337,9 @@ class PlayUtils(object):
|
||||||
if settings('transcode_mpeg2.bool'):
|
if settings('transcode_mpeg2.bool'):
|
||||||
codecs.remove('mpeg2video')
|
codecs.remove('mpeg2video')
|
||||||
|
|
||||||
|
if settings('transcode_vc1.bool'):
|
||||||
|
codecs.remove('vc1')
|
||||||
|
|
||||||
return ','.join(codecs)
|
return ','.join(codecs)
|
||||||
|
|
||||||
def get_transcoding_audio_codec(self):
|
def get_transcoding_audio_codec(self):
|
||||||
|
|
|
@ -301,6 +301,10 @@ msgctxt "#30523"
|
||||||
msgid "Transcode MPEG2"
|
msgid "Transcode MPEG2"
|
||||||
msgstr "Transcode MPEG2"
|
msgstr "Transcode MPEG2"
|
||||||
|
|
||||||
|
msgctxt "#30524"
|
||||||
|
msgid "Transcode VC-1"
|
||||||
|
msgstr "Transcode VC-1"
|
||||||
|
|
||||||
msgctxt "#30527"
|
msgctxt "#30527"
|
||||||
msgid "Ignore specials in next episodes"
|
msgid "Ignore specials in next episodes"
|
||||||
msgstr "Ignore specials in next episodes"
|
msgstr "Ignore specials in next episodes"
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
<setting label="30537" id="transcodeHi10P" type="bool" default="false" visible="true" />
|
<setting label="30537" id="transcodeHi10P" type="bool" default="false" visible="true" />
|
||||||
<setting label="30522" id="transcode_h265" type="bool" default="false" visible="true" />
|
<setting label="30522" id="transcode_h265" type="bool" default="false" visible="true" />
|
||||||
<setting label="30523" id="transcode_mpeg2" type="bool" default="false" visible="true" />
|
<setting label="30523" id="transcode_mpeg2" type="bool" default="false" visible="true" />
|
||||||
|
<setting label="30524" id="transcode_vc1" type="bool" default="false" visible="true" />
|
||||||
<setting label="30161" id="videoPreferredCodec" type="select" values="H264/AVC|H265/HEVC" visible="eq(-2,false)" default="H264/AVC" />
|
<setting label="30161" id="videoPreferredCodec" type="select" values="H264/AVC|H265/HEVC" visible="eq(-2,false)" default="H264/AVC" />
|
||||||
<setting label="30162" id="audioPreferredCodec" type="select" values="AAC|AC3|MP3|Opus|FLAC|Vorbis" visible="true" default="AAC" />
|
<setting label="30162" id="audioPreferredCodec" type="select" values="AAC|AC3|MP3|Opus|FLAC|Vorbis" visible="true" default="AAC" />
|
||||||
<setting label="30163" id="audioBitrate" type="enum" values="96|128|160|192|256|320|384" visible="true" default="4" />
|
<setting label="30163" id="audioBitrate" type="enum" values="96|128|160|192|256|320|384" visible="true" default="4" />
|
||||||
|
|
Loading…
Reference in a new issue