A summary containing some useful information:
(Updated for version 1.2.3)
Previously installed zip packages i.e.
script.dvdextras-1.1.2.zip can be found in:
- Ubuntu Linux: /home/<username>/.xbmc/addons/packages/
- Windows 7: C:\Users\<username>\AppData\Roaming\XBMC\addons\packages\
A
script.dvdextras folder containing your currently configured
settings.xml file can be found in:
- Ubuntu Linux: /home/<username>/.xbmc/userdata/addon_data/
- Windows 7: C:\Users\<username>\AppData\Roaming\XBMC\addons\packages\
The
advancedsettings.xml file lives in:
- Ubuntu Linux: /home/<username>/.xbmc/userdata/
- Windows 7: C:\Users\<username>\AppData\Roaming\XBMC\userdata\
The file should contain:
Code:
<advancedsettings>
<video>
<excludefromscan>
<regexp>-extras-</regexp>
<regexp>[\\/]Extras[\\/]</regexp>
</excludefromscan>
<excludetvshowsfromscan>
<regexp>-extras-</regexp>
<regexp>[\\/]Extras[\\/]</regexp>
</excludetvshowsfromscan>
</video>
</advancedsettings>
The currently installed
script.dvdextras folder, containing the add-on's components lives in:
- Ubuntu Linux: /home/<username>/.xbmc/addons/
- Windows 7: C:\Users\<username>\AppData\Roaming\XBMC\addons\
To add an
[Extras] button to the
Confluence skin, edit
DialogVideoInfo.xml in:
- Ubuntu Linux: /home/<username>/.xbmc/addons/skin.confluence/720p/
- Windows 7: C:\Program Files (x86)\XBMC\addons\skin.confluence\720p\
The group of buttons you are looking for are defined after the line containing
<control type="grouplist" id="9000">.
Paste the following:
Code:
<control type="button" id="101">
<description>Extras</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>Extras</label>
<onclick>XBMC.RunScript(script.dvdextras,$INFO[ListItem.FilenameAndPath])</onclick>
<visible>[Container.Content(movies) | Container.Content(episodes) | Container.Content(TVShows)] + System.HasAddon(script.dvdextras)</visible>
</control>
after this section:
Code:
<control type="togglebutton" id="8">
<description>Play/browse to Show</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>208</label>
<alttexturefocus border="2">button-focus.png</alttexturefocus>
<alttexturenofocus border="2">button-nofocus.png</alttexturenofocus>
<altlabel>1024</altlabel>
<usealttexture>Container.Content(TVShows)</usealttexture>
</control>
and save.
To add an
[Extras] button to the
Aeon Nox skin, edit
DialogVideoInfo.xml in:
- Ubuntu Linux: /home/<username>/.xbmc/addons/skin.aeon.nox/1080i/
- Windows 7: C:\Program Files (x86)\XBMC\addons\skin.aeon.nox\1080i\
The group of buttons you are looking for are defined after the line containing
<control type="grouplist" id="5000">.
Paste the following:
Code:
<control type="button" id="101">
<description>Extras</description>
<include>DialogVideoInfoButton</include>
<label>Extras</label>
<onclick>XBMC.RunScript(script.dvdextras,$INFO[ListItem.FilenameAndPath])</onclick>
<visible>[Container.Content(movies) | Container.Content(episodes) | Container.Content(TVShows)] + System.HasAddon(script.dvdextras)</visible>
</control>
after this section:
Code:
<control type="button" id="8">
<label>$LOCALIZE[208]</label>
<include>DialogVideoInfoButton</include>
</control>
and save.
To ensure that the movie tunes functionality works, edit
DialogVideoInfo.xml in:
- Ubuntu Linux: /home/<username>/.xbmc/addons/<skin folder>/<sub-folder>/
- Windows 7: C:\Program Files (x86)\XBMC\addons\<skin folder>\<sub-folder>\
Paste the following:
Code:
<onload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,MovieThemes,start_theme,$INFO[ListItem.FilenameAndPath])</onload>
<onunload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,MovieThemes,stop_theme)</onunload>
at the start or the file, so it looks something like this:
(example given for Confluence skin)
Code:
<window>
<defaultcontrol always="true">8</defaultcontrol>
<onload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,MovieThemes,start_theme,$INFO[ListItem.FilenameAndPath])</onload>
<onunload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,MovieThemes,stop_theme)</onunload>
<allowoverlay>no</allowoverlay>
<controls>
<control type="group">
<visible>!Window.IsVisible(FileBrowser)</visible>
<animation effect="slide" start="1100,0" end="0,0" time="400" tween="quadratic" easing="out">WindowOpen</animation>
<animation effect="slide" start="0,0" end="1100,0" time="400" tween="quadratic" easing="out">WindowClose</animation>
<control type="image">
<posx>180</posx>
<posy>0</posy>
<width>1100</width>
<height>720</height>
<texture border="15,0,0,0" flipx="true">MediaBladeSub.png</texture>
</control>
...etc...
and save.
N.B. Remember to create a backup of any file before altering it i.e. DialogVideoInfo.xml.old.
For anyone who wants to add to or alter this summary; here's the BBCode source for this post (not PHP):
PHP Code:
[b][size=large]A summary containing some useful information:[/size][/b]
[size=small][b](Updated for version 1.2.3)[/b][/size]
Previously installed zip packages i.e. [b]script.dvdextras-1.1.2.zip[/b] can be found in:
[list][*]Ubuntu Linux: [i]/home/<username>/.xbmc/addons/packages/[/i]
[*]Windows 7: [i]C:\Users\<username>\AppData\Roaming\XBMC\addons\packages\[/i][/list]
A [b]script.dvdextras[/b] folder containing your currently configured [b]settings.xml[/b] file can be found in:
[list][*]Ubuntu Linux: [i]/home/<username>/.xbmc/userdata/addon_data/[/i]
[*]Windows 7: [i]C:\Users\<username>\AppData\Roaming\XBMC\addons\packages\[/i][/list]
The [b]advancedsettings.xml[/b] file lives in:
[list][*]Ubuntu Linux: [i]/home/<username>/.xbmc/userdata/[/i]
[*]Windows 7: [i]C:\Users\<username>\AppData\Roaming\XBMC\userdata\[/i][/list]
The file should contain:
[code]
<advancedsettings>
<video>
<excludefromscan>
<regexp>-extras-</regexp>
<regexp>[\\/]Extras[\\/]</regexp>
</excludefromscan>
<excludetvshowsfromscan>
<regexp>-extras-</regexp>
<regexp>[\\/]Extras[\\/]</regexp>
</excludetvshowsfromscan>
</video>
</advancedsettings>
[/code]
The currently installed [b]script.dvdextras[/b] folder, containing the add-on's components lives in:
[list][*]Ubuntu Linux: [i]/home/<username>/.xbmc/addons/[/i]
[*]Windows 7: [i]C:\Users\<username>\AppData\Roaming\XBMC\addons\[/i][/list]
To add an [b][Extras][/b] button to the [i]Confluence[/i] skin, edit [b]DialogVideoInfo.xml[/b] in:
[list][*]Ubuntu Linux: [i]/home/<username>/.xbmc/addons/skin.confluence/720p/[/i]
[*]Windows 7: [i]C:\Program Files (x86)\XBMC\addons\skin.confluence\720p\[/i][/list]
The group of buttons you are looking for are defined after the line containing [b]<control type="grouplist" id="9000">[/b].
Paste the following:
[code]
<control type="button" id="101">
<description>Extras</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>Extras</label>
<onclick>XBMC.RunScript(script.dvdextras,$INFO[ListItem.FilenameAndPath])</onclick>
<visible>[Container.Content(movies) | Container.Content(episodes) | Container.Content(TVShows)] + System.HasAddon(script.dvdextras)</visible>
</control>
[/code]
after this section:
[code]
<control type="togglebutton" id="8">
<description>Play/browse to Show</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>208</label>
<alttexturefocus border="2">button-focus.png</alttexturefocus>
<alttexturenofocus border="2">button-nofocus.png</alttexturenofocus>
<altlabel>1024</altlabel>
<usealttexture>Container.Content(TVShows)</usealttexture>
</control>
[/code]
and save.
To add an [b][Extras][/b] button to the [i]Aeon Nox[/i] skin, edit [b]DialogVideoInfo.xml[/b] in:
[list][*]Ubuntu Linux: [i]/home/<username>/.xbmc/addons/skin.aeon.nox/1080i/[/i]
[*]Windows 7: [i]C:\Program Files (x86)\XBMC\addons\skin.aeon.nox\1080i\[/i][/list]
The group of buttons you are looking for are defined after the line containing [b]<control type="grouplist" id="5000">[/b].
Paste the following:
[code]
<control type="button" id="101">
<description>Extras</description>
<include>DialogVideoInfoButton</include>
<label>Extras</label>
<onclick>XBMC.RunScript(script.dvdextras,$INFO[ListItem.FilenameAndPath])</onclick>
<visible>[Container.Content(movies) | Container.Content(episodes) | Container.Content(TVShows)] + System.HasAddon(script.dvdextras)</visible>
</control>
[/code]
after this section:
[code]
<control type="button" id="8">
<label>$LOCALIZE[208]</label>
<include>DialogVideoInfoButton</include>
</control>
[/code]
and save.
To ensure that the movie tunes functionality works, edit [b]DialogVideoInfo.xml[/b] in:
[list][*]Ubuntu Linux: [i]/home/<username>/.xbmc/addons/<skin folder>/<sub-folder>/[/i]
[*]Windows 7: [i]C:\Program Files (x86)\XBMC\addons\<skin folder>\<sub-folder>\[/i][/list]
Paste the following:
[code]
<onload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,MovieThemes,start_theme,$INFO[ListItem.FilenameAndPath])</onload>
<onunload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,MovieThemes,stop_theme)</onunload>
[/code]
at the start or the file, so it looks something like this:
[size=small](example given for Confluence skin)[/size]
[code]
<window>
<defaultcontrol always="true">8</defaultcontrol>
<onload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,MovieThemes,start_theme,$INFO[ListItem.FilenameAndPath])</onload>
<onunload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,MovieThemes,stop_theme)</onunload>
<allowoverlay>no</allowoverlay>
<controls>
<control type="group">
<visible>!Window.IsVisible(FileBrowser)</visible>
<animation effect="slide" start="1100,0" end="0,0" time="400" tween="quadratic" easing="out">WindowOpen</animation>
<animation effect="slide" start="0,0" end="1100,0" time="400" tween="quadratic" easing="out">WindowClose</animation>
<control type="image">
<posx>180</posx>
<posy>0</posy>
<width>1100</width>
<height>720</height>
<texture border="15,0,0,0" flipx="true">MediaBladeSub.png</texture>
</control>
...etc...
[/code]
and save.
[size=large]N.B. Remember to create a backup of any file before altering it i.e. [i]DialogVideoInfo.xml.old[/i].[/size]