Skip to content

Commit

Permalink
Merge pull request #5 from psicotron3/master
Browse files Browse the repository at this point in the history
Update to skin configuration
  • Loading branch information
malvinas2 authored Jan 11, 2020
2 parents e023b4d + 2f867a0 commit 8b31d25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions confupdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ def _updateDialogVideoInfo(self):
\t\t\t\t\t\t<include>ButtonInfoDialogsCommonValues</include>
\t\t\t\t\t\t<label>$ADDON[script.videoextras 32001]</label>
\t\t\t\t\t\t<onclick>RunScript(script.videoextras,display,"$INFO[ListItem.FilenameAndPath]")</onclick>
\t\t\t\t\t\t<visible>System.HasAddon(script.videoextras) + [Container.Content(movies) | Container.Content(episodes) | Container.Content(TVShows) | Container.Content(musicvideos)] + IsEmpty(Window(movieinformation).Property("HideVideoExtrasButton"))</visible>'''

\t\t\t\t\t\t<visible>System.HasAddon(script.videoextras) + [Container.Content(movies) | Container.Content(episodes) | Container.Content(TVShows) | Container.Content(musicvideos)] + String.IsEmpty(Window(movieinformation).Property("HideVideoExtrasButton"))</visible>'''
insertTxt = previousButton + (DIALOG_VIDEO_INFO_BUTTON % idval)
dialogXmlStr = dialogXmlStr.replace(previousButton, insertTxt)

Expand Down
2 changes: 1 addition & 1 deletion estuaryupdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def _updateDialogVideoInfo(self):
dialogXmlStr = dialogXmlStr.replace(previousOnLoad, insertTxt)

# Now we need to add the button after the Final button
previousButton = '<param name="label" value="$LOCALIZE[208]" />'
previousButton = '<param name="label" value="$VAR[VideoInfoPlayButtonLabelVar]" />'

if previousButton not in dialogXmlStr:
# The file has had a standard component deleted, so quit
Expand Down
2 changes: 1 addition & 1 deletion resources/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<setting id="searchNested" type="bool" label="32003" default="true"/>
<setting id="enableFileTag" type="bool" label="32004" default="false"/>
<setting id="extrasFileTag" subsetting="true" enable="eq(-1,true)" type="text" label="32005" default="-extras-"/>
<setting id="detailedList" type="bool" label="32025" default="true"/>
<setting id="detailedList" type="bool" label="32025" default="false"/>
<setting id="extrasReturn" visible="eq(-1,false)" type="labelenum" label="32006" lvalues="32007|32008|32001|32009" default="32007" />
<setting id="detailedReturn" visible="eq(-2,true)" type="labelenum" label="32026" lvalues="32007|32008|32009" default="32007" />
<setting id="showExtrasAfterMovie" type="bool" label="32038" default="false"/>
Expand Down

0 comments on commit 8b31d25

Please sign in to comment.