mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-10-13 12:22:04 +00:00
Allow force transcoding of Dolby Vision
Added setting to allow force transcode of Dolby Vision files. This PR includes the hdr metadata fix.
This commit is contained in:
parent
98a7ace541
commit
71908c0627
42 changed files with 176 additions and 2 deletions
|
@ -65,8 +65,8 @@ class Actions(object):
|
|||
'''
|
||||
listitem = xbmcgui.ListItem()
|
||||
LOG.info("[ play/%s ] %s", item['Id'], item['Name'])
|
||||
|
||||
transcode = transcode or settings('playFromTranscode.bool')
|
||||
|
||||
transcode = transcode or settings('playFromTranscode.bool') or self.check_transcodeDolbyVision(item)
|
||||
play = playutils.PlayUtils(item, transcode, self.server_id, self.server, self.api_client)
|
||||
source = play.select_source(play.get_sources())
|
||||
play.set_external_subs(source, listitem)
|
||||
|
@ -78,6 +78,19 @@ class Actions(object):
|
|||
if len(sys.argv) > 1:
|
||||
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, self.stack[0][1])
|
||||
|
||||
def check_transcodeDolbyVision(self, item):
|
||||
|
||||
API = api.API(item, self.server)
|
||||
objects = Objects()
|
||||
obj = objects.map(item, 'BrowseVideo')
|
||||
obj['Video'] = API.video_streams(obj['Video'] or [], obj['Container'])
|
||||
|
||||
if settings('transcode_dolbyvision.bool') and obj['Video'][0]['hdrtype'] == 'dolbyvision':
|
||||
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def set_playlist(self, item, listitem, db_id=None, transcode=False):
|
||||
|
||||
''' Verify seektime, set intros, set main item and set additional parts.
|
||||
|
|
|
@ -864,6 +864,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "تحويل H265 / HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33201"
|
||||
msgid "Max artwork resolution"
|
||||
msgstr "أقصى دقة للعمل الفني"
|
||||
|
|
|
@ -1007,6 +1007,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Перакадзіраваць H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#29999"
|
||||
msgid "Jellyfin for Kodi"
|
||||
msgstr "Jellyfin для Kodi"
|
||||
|
|
|
@ -1013,3 +1013,7 @@ msgstr "Включи дистанционно управление"
|
|||
msgctxt "#33202"
|
||||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Декодира H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
|
|
@ -608,6 +608,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcodificar H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33128"
|
||||
msgid "Failed to retrieve latest content updates. No content updates will be applied until Kodi is restarted. If this issue persists, please report on the Jellyfin for Kodi forums, with your Kodi log."
|
||||
msgstr ""
|
||||
|
|
|
@ -1001,6 +1001,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Překódovat H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Povolit vzdálené ovládání"
|
||||
|
|
|
@ -259,6 +259,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Omkod H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33201"
|
||||
msgid "Max artwork resolution"
|
||||
msgstr "Maksimal opløsning af kunstværk"
|
||||
|
|
|
@ -1099,6 +1099,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transkodiere H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Fernsteuerung aktivieren"
|
||||
|
|
|
@ -791,6 +791,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Διακωδικοποίηση H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33109"
|
||||
msgid "Plugin"
|
||||
msgstr "Πρόσθετο"
|
||||
|
|
|
@ -996,3 +996,7 @@ msgstr "Max artwork resolution"
|
|||
msgctxt "#33202"
|
||||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcode H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
|
@ -1004,3 +1004,7 @@ msgstr "Max stream bitrate"
|
|||
msgctxt "#33202"
|
||||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcode H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Force transcode of DolbyVision"
|
||||
msgstr "Force transcode of DolbyVision"
|
|
@ -989,3 +989,7 @@ msgstr "Ebligi plibonigitan artaĵon (t.e. Cover Art)"
|
|||
msgctxt "#33202"
|
||||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transkodigo H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
|
|
@ -1018,6 +1018,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcodificar H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Habilitar control remoto"
|
||||
|
|
|
@ -1014,6 +1014,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcodificar H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Habilitar control remoto"
|
||||
|
|
|
@ -1022,6 +1022,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcodificar H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Habilitar control remoto"
|
||||
|
|
|
@ -989,6 +989,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transkoodi H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Luba kaugjuhtimine"
|
||||
|
|
|
@ -1003,6 +1003,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transkoodaa H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Ota etäohjaus käyttöön"
|
||||
|
|
|
@ -1083,6 +1083,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcoder le H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Activer le contrôle à distance"
|
||||
|
|
|
@ -494,6 +494,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transkodiranje H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33160"
|
||||
msgid "To avoid errors, please update Jellyfin for Kodi to version: "
|
||||
msgstr "Da biste izbjegli greške, ažurirajte Jellyfin for Kodi na verziju: "
|
||||
|
|
|
@ -1012,6 +1012,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "H265/HEVC RExt átkódolás"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Távirányító engedélyezése"
|
||||
|
|
|
@ -1081,6 +1081,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcodifica H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Abilita controllo remoto"
|
||||
|
|
|
@ -942,6 +942,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "H265/HEVC RExtをトランスコード"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#30161"
|
||||
msgid "Preferred video codec"
|
||||
msgstr "優先する動画コーデック"
|
||||
|
|
|
@ -1000,3 +1000,7 @@ msgstr "VP9 qaita kodtau"
|
|||
msgctxt "#33202"
|
||||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "H265/HEVC RExt qaita kodtau"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
|
|
@ -988,3 +988,7 @@ msgstr "외부 리모콘 켜다"
|
|||
msgctxt "#33202"
|
||||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "코덱변화 H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
|
|
@ -941,6 +941,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Pārkodēt H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33138"
|
||||
msgid "You can update your library manually rather than rely on the server plugin Kodi Sync Queue. Launch the add-on and update libraries (or per library). To remove content, you'll need to repair the library."
|
||||
msgstr ""
|
||||
|
|
|
@ -1012,6 +1012,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Omkod H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Aktiver fjernkontroll"
|
||||
|
|
|
@ -1066,6 +1066,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcoderen H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Externe besturing toelaten"
|
||||
|
|
|
@ -1060,6 +1060,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transkodowanie H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Włącz sterowanie zdalne"
|
||||
|
|
|
@ -1015,6 +1015,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcodificação H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Habilitar o controle remoto"
|
||||
|
|
|
@ -1012,3 +1012,7 @@ msgstr "Habilitar controle remoto"
|
|||
msgctxt "#33202"
|
||||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcodificação H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
|
|
@ -1016,6 +1016,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transcodare H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Activează controlul de la distanță"
|
||||
|
|
|
@ -1018,6 +1018,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Перекодирование H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Включить удалённый контроль"
|
||||
|
|
|
@ -1014,6 +1014,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Prekódovať H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Povoliť vzdialené ovládanie"
|
||||
|
|
|
@ -998,6 +998,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Transkodiraj H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33153"
|
||||
msgid "Your Jellyfin theme media has been synced to Kodi"
|
||||
msgstr "Mediji tvoje teme so bili sinhronizirani s Kodi"
|
||||
|
|
|
@ -1011,6 +1011,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Транскодирај H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "омогућити даљинско управљање"
|
||||
|
|
|
@ -880,6 +880,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Omkoda H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33186"
|
||||
msgid "The Kodi Sync Queue speeds up the start up sync. Other syncs are triggered by server events."
|
||||
msgstr ""
|
||||
|
|
|
@ -1005,3 +1005,7 @@ msgstr "டிரான்ஸ்கோட் VP9"
|
|||
msgctxt "#33202"
|
||||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "டிரான்ஸ்கோட் H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
|
|
@ -1006,6 +1006,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Kod Dönüştüme H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "Uzaktan Erişimi etkinleştir"
|
||||
|
|
|
@ -566,6 +566,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "Перекодувати H265/HEVC RExt"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33179"
|
||||
msgid "Force transcode"
|
||||
msgstr "Примусове перекодування"
|
||||
|
|
|
@ -35,6 +35,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "輸入備份資料夾名稱"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33128"
|
||||
msgid "Failed to retrieve latest content updates. No content updates will be applied until Kodi is restarted. If this issue persists, please report on the Jellyfin for Kodi forums, with your Kodi log."
|
||||
msgstr ""
|
||||
|
|
|
@ -959,6 +959,10 @@ msgctxt "#33202"
|
|||
msgid "Transcode H265/HEVC RExt"
|
||||
msgstr "转码 H265/HEVC Rext"
|
||||
|
||||
msgctxt "#33203"
|
||||
msgid "Transcode DolbyVision"
|
||||
msgstr "Transcode DolbyVision"
|
||||
|
||||
msgctxt "#33125"
|
||||
msgid "Enable remote control"
|
||||
msgstr "启用远程控制"
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
|
||||
<setting type="sep" />
|
||||
<setting label="33115" type="lsep" />
|
||||
<setting label="33203" id="transcode_dolbyvision" 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="33202" id="transcode_h265_rext" type="bool" default="false" visible="eq(-1,false)" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue