diff --git a/confupdate.py b/confupdate.py index 2285b9c..4fca5e1 100644 --- a/confupdate.py +++ b/confupdate.py @@ -175,8 +175,7 @@ def _updateDialogVideoInfo(self): \t\t\t\t\t\tButtonInfoDialogsCommonValues \t\t\t\t\t\t \t\t\t\t\t\tRunScript(script.videoextras,display,"$INFO[ListItem.FilenameAndPath]") -\t\t\t\t\t\tSystem.HasAddon(script.videoextras) + [Container.Content(movies) | Container.Content(episodes) | Container.Content(TVShows) | Container.Content(musicvideos)] + IsEmpty(Window(movieinformation).Property("HideVideoExtrasButton"))''' - +\t\t\t\t\t\tSystem.HasAddon(script.videoextras) + [Container.Content(movies) | Container.Content(episodes) | Container.Content(TVShows) | Container.Content(musicvideos)] + String.IsEmpty(Window(movieinformation).Property("HideVideoExtrasButton"))''' insertTxt = previousButton + (DIALOG_VIDEO_INFO_BUTTON % idval) dialogXmlStr = dialogXmlStr.replace(previousButton, insertTxt) diff --git a/estuaryupdate.py b/estuaryupdate.py index 48ad0d5..85be89d 100644 --- a/estuaryupdate.py +++ b/estuaryupdate.py @@ -99,7 +99,7 @@ def _updateDialogVideoInfo(self): dialogXmlStr = dialogXmlStr.replace(previousOnLoad, insertTxt) # Now we need to add the button after the Final button - previousButton = '' + previousButton = '' if previousButton not in dialogXmlStr: # The file has had a standard component deleted, so quit diff --git a/resources/settings.xml b/resources/settings.xml index 99b8979..4865fa9 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -5,7 +5,7 @@ - +