mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-13 21:56:11 +00:00
Disable audio-subs pref
Temporarily to re-work.
This commit is contained in:
parent
38c063ddc5
commit
b68ef6df84
1 changed files with 5 additions and 5 deletions
|
@ -243,7 +243,7 @@ class Player( xbmc.Player ):
|
||||||
|
|
||||||
# Set audio and subtitles automatically
|
# Set audio and subtitles automatically
|
||||||
# Following Emby user preference.
|
# Following Emby user preference.
|
||||||
if self.audioPref == "default" and self.subsPref == "default":
|
'''if self.audioPref == "default" and self.subsPref == "default":
|
||||||
self.logMsg("No Emby user preferences found.", 2)
|
self.logMsg("No Emby user preferences found.", 2)
|
||||||
# Emby user preferences are not set.
|
# Emby user preferences are not set.
|
||||||
pass
|
pass
|
||||||
|
@ -287,7 +287,7 @@ class Player( xbmc.Player ):
|
||||||
xbmcplayer.setSubtitleStream(index)
|
xbmcplayer.setSubtitleStream(index)
|
||||||
else:
|
else:
|
||||||
# Use default subs
|
# Use default subs
|
||||||
if defaultsubs == "ssa":
|
if defaultsubs == "ssa" or defaultsubs == "srt":
|
||||||
# For some reason, Kodi sees SSA as ''
|
# For some reason, Kodi sees SSA as ''
|
||||||
self.logMsg("Door 1.2", 1)
|
self.logMsg("Door 1.2", 1)
|
||||||
index = subs.index('')
|
index = subs.index('')
|
||||||
|
@ -311,7 +311,7 @@ class Player( xbmc.Player ):
|
||||||
xbmcplayer.setSubtitleStream(index)
|
xbmcplayer.setSubtitleStream(index)
|
||||||
else:
|
else:
|
||||||
# Use default subs
|
# Use default subs
|
||||||
if defaultsubs == "ssa":
|
if defaultsubs == "ssa" or defaultsubs == "srt":
|
||||||
# For some reason, Kodi sees SSA as ''
|
# For some reason, Kodi sees SSA as ''
|
||||||
self.logMsg("Door 2.2", 1)
|
self.logMsg("Door 2.2", 1)
|
||||||
index = subs.index('')
|
index = subs.index('')
|
||||||
|
@ -340,7 +340,7 @@ class Player( xbmc.Player ):
|
||||||
xbmcplayer.showSubtitles(False)
|
xbmcplayer.showSubtitles(False)
|
||||||
else:
|
else:
|
||||||
# Use default subs
|
# Use default subs
|
||||||
if defaultsubs == "ssa":
|
if defaultsubs == "ssa" or defaultsubs == "srt":
|
||||||
# For some reason, Kodi sees SSA as ''
|
# For some reason, Kodi sees SSA as ''
|
||||||
self.logMsg("Door 3.4", 1)
|
self.logMsg("Door 3.4", 1)
|
||||||
index = subs.index('')
|
index = subs.index('')
|
||||||
|
@ -352,7 +352,7 @@ class Player( xbmc.Player ):
|
||||||
else:
|
else:
|
||||||
# Nothing matches, let the user decide.
|
# Nothing matches, let the user decide.
|
||||||
self.logMsg("Door 3.6", 1)
|
self.logMsg("Door 3.6", 1)
|
||||||
xbmcplayer.showSubtitles(False)
|
xbmcplayer.showSubtitles(False)'''
|
||||||
|
|
||||||
# we may need to wait until the info is available
|
# we may need to wait until the info is available
|
||||||
item_id = WINDOW.getProperty(currentFile + "item_id")
|
item_id = WINDOW.getProperty(currentFile + "item_id")
|
||||||
|
|
Loading…
Reference in a new issue