Skip to content

Commit

Permalink
Fix errors in last commit
Browse files Browse the repository at this point in the history
Huevos committed Dec 31, 2023
1 parent f045617 commit 053c551
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/python/Plugins/Extensions/DVDBurn/DVDProject.py
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ def __init__(self):
self.target = None
self.settings = ConfigSubsection()
self.settings.name = ConfigText(fixed_size=False, visible_width=40)
self.settings.authormode = ConfigSelection(choices=[("menu_linked", _("Linked titles with a DVD menu")), ("just_linked", _("Direct playback of linked titles without menu")), ("menu_seperate", _("Seperate titles with a main menu")), ("data_ts", _("%s %s format data DVD (HDTV compatible)") % getBoxDisplayName()))])
self.settings.authormode = ConfigSelection(choices=[("menu_linked", _("Linked titles with a DVD menu")), ("just_linked", _("Direct playback of linked titles without menu")), ("menu_seperate", _("Seperate titles with a main menu")), ("data_ts", _("%s %s format data DVD (HDTV compatible)") % getBoxDisplayName())])
self.settings.titlesetmode = ConfigSelection(choices=[("single", _("Simple titleset (compatibility for legacy players)")), ("multi", _("Complex (allows mixing audio tracks and aspects)"))], default="multi")
self.settings.output = ConfigSelection(choices=[("iso", _("Create DVD-ISO")), ("dvd", _("Burn DVD"))])
self.settings.isopath = ConfigText(fixed_size=False, visible_width=40)
2 changes: 1 addition & 1 deletion lib/python/Plugins/Extensions/DVDBurn/TitleList.py
Original file line number Diff line number Diff line change
@@ -364,7 +364,7 @@ def titleEditDone(self, cutlist):
t = self.current_edit_title
t.titleEditDone(cutlist)
if t.VideoType != 0:
self.session.openWithCallback(self.DVDformatCB, MessageBox, text=_("The DVD standard doesn't support H.264 (HDTV) video streams. Do you want to create a %s %s format data DVD (which will not play in stand-alone DVD players) instead?") % (getMachineBrand(), getMachineName()), type=MessageBox.TYPE_YESNO)
self.session.openWithCallback(self.DVDformatCB, MessageBox, text=_("The DVD standard doesn't support H.264 (HDTV) video streams. Do you want to create a %s %s format data DVD (which will not play in stand-alone DVD players) instead?") % getBoxDisplayName(), type=MessageBox.TYPE_YESNO)
else:
self.updateTitleList()

2 changes: 1 addition & 1 deletion lib/python/Plugins/Extensions/MediaPlayer/plugin.py
Original file line number Diff line number Diff line change
@@ -358,7 +358,7 @@ def __evVideoDecodeError(self):
currPlay = self.session.nav.getCurrentService()
sTagVideoCodec = currPlay.info().getInfoString(iServiceInformation.sTagVideoCodec)
print("[__evVideoDecodeError] video-codec %s can't be decoded by hardware" % sTagVideoCodec)
self.session.open(MessageBox, _("This %s %s cannot decode %s streams!") % (getMachineBrand(), getMachineName(), sTagVideoCodec), type=MessageBox.TYPE_INFO, timeout=20)
self.session.open(MessageBox, _("This %s %s cannot decode %s streams!") % (SystemInfo["MachineBrand"], SystemInfo["MachineName"], sTagVideoCodec), type=MessageBox.TYPE_INFO, timeout=20)

def __evPluginError(self):
currPlay = self.session.nav.getCurrentService()
1 change: 1 addition & 0 deletions lib/python/Screens/NetworkSetup.py
Original file line number Diff line number Diff line change
@@ -19,6 +19,7 @@
from Components.PluginComponent import plugins
from Components.Sources.StaticText import StaticText
from Components.Sources.List import List
from Components.SystemInfo import SystemInfo
from Plugins.Plugin import PluginDescriptor
from Screens.HelpMenu import HelpableScreen
from Screens.MessageBox import MessageBox
1 change: 1 addition & 0 deletions lib/python/Screens/PluginBrowser.py
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@
from Components.PluginComponent import plugins
from Components.PluginList import PluginList, PluginEntryComponent, PluginCategoryComponent, PluginDownloadComponent
from Components.Sources.StaticText import StaticText
from Components.SystemInfo import SystemInfo
from Plugins.Plugin import PluginDescriptor
from Screens.ChoiceBox import ChoiceBox
from Screens.Console import Console

0 comments on commit 053c551

Please sign in to comment.