• 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 23
Associate extras and/or alternative versions to a movie/TV show title

Here is an issue I came across which I cannot resolve in an elegant way. How can you link a film-making documentary to a movie if the said documentary has already an IMDB entry, is therefore scrapeable as movie, indeed is for all intents and purposes a movie in its own right? Movie sets doesn't work, for obvious reasons. Brenton Smith's DVDExtras addon is meant for extras, not movies in their own right (with their actors, extrafanart, artwork, nfo file).

(2013-08-29, 20:22)DiMag Wrote: Movie sets doesn't work, for obvious reasons.
Maybe I'm just dense, but I don't see why sets wouldn't work? Unless they're already in another set. I don't think xbmc supports having movies in more than one set.
ASUS Chromebox M004U (LibreELEC 8.2/Aeon Nox SiLVO)--->HDMI--->Onkyo TX-NR646--->HDMI--->Panasonic P65VT30
I imagine you would put the documentary in as a separate movie,... then group both into a "set"... then with the extras,... you wouldn't have a problem.

Legion
Thank you for this addon, love it.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Hi All,

First off thanks to brentosmith for the great addon - it has made my life a whole load easier!

I do have one enhancement request (Afraid I don't know python very well - so would struggle a little to edit the addon myself). This addon works great for Films, however with TV Series it's not quite compatible with my collection.

The behaviour is that it will only look for extras in the top directory, so doesn't cope with my structure, which is to have each series in it's own directory. i.e.

How I Met Your Mother/Series 1/Extras
How I Met Your Mother/Series 2/Extras
How I Met Your Mother/Series 3/Extras
How I Met Your Mother/Series 4/Extras
How I Met Your Mother/Series 5/Extras

So each DVDs Extras are in with the Series that they are extras for.

Please would it be possible to have an option to have dvdextras recurse directories to find all "Extras" directories below the root directory for the series?

It appears that the addon is currently called with the root "How I Met Your Mother" directory and it then looks for "How I Met Your Mother/Extras". Is there anyway that we could have the option to look for "How I Met Your Mother/*/Extras" as well?

Thanks

Rob
(I hope this is the correct thread - I did search, but could not find one specific for the release of the plugin)
@wgstarks

Yes, this is the problem. They are in another set.
(2013-03-15, 02:27)mbc0 Wrote: Hi,

Can somebody please help me? I am really keen to get this working but cannot get the extras button to show up on NOX? I have added the following at the bottom of the DialogVideoInfo.xml file and restarted XBMC, I then go to the movie (in this case despicable me) and then movie information there is an extras subfolder with all the extra mini movies in it but there is no extras button? just the usual trailers / get art etc

<control type="button" id="100">
<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)] + System.HasAddon(script.dvdextras)</visible>
</control>

(2013-03-15, 06:29)brentosmith Wrote: You probably don't have the control in the right group. Search for the text id="5000" in that file, the control should go in that group list. This is based on my version of Aeon Nox, I don't know if that id is the same in all versions.

This worked beautifully in Aeon Nox.

I placed it right after the Play button in the DialogVideoInfo.xml file, i.e.

Code:
<control type="grouplist" id="5000">
                <posx>827</posx>
                <posy>544</posy>
                <width>1018</width>
                <height>60</height>
                <onleft>5000</onleft>
                <onright>5000</onright>
                <onup>50</onup>
                <ondown>5055</ondown>
                <orientation>horizontal</orientation>
                <scrolltime tween="quadratic">200</scrolltime>
                <control type="button" id="8">
                    <label>$LOCALIZE[208]</label>
                    <include>DialogVideoInfoButton</include>
                </control>

               <control type="button" id="100">
                    <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)] + System.HasAddon(script.dvdextras)</visible>
                </control>

                <control type="button" id="9">
                    <label>$LOCALIZE[13404]</label>
                    <include>DialogVideoInfoButton</include>
                    <visible>Control.IsEnabled(9)</visible>
                </control>
                <control type="button" id="20">
                    <label>$LOCALIZE[31284]</label>
                    <include>DialogVideoInfoButton</include>
                    <onclick>Playlist.Clear</onclick>
                    <onclick>Dialog.Close(MovieInformation)</onclick>
                    <onclick>RunScript(script.cinema.experience)</onclick>
                    <visible>Container.Content(Movies) + system.hasaddon(script.cinema.experience) + !SubString(Container.FolderPath,plugin)</visible>
                </control>

...and so on...

To get this to work in the default Confluence skin, I added the control to id="9000" and changed the <include> statement for the button to match that of the others, i.e.

Code:
                    <control type="button" id="100">
                        <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)] + System.HasAddon(script.dvdextras)</visible>
                    </control>

So...

Code:
                <control type="grouplist" id="9000">
                    <posx>210</posx>
                    <posy>660</posy>
                    <width>1030</width>
                    <height>40</height>
                    <itemgap>2</itemgap>
                    <align>center</align>
                    <orientation>horizontal</orientation>
                    <onleft>9000</onleft>
                    <onright>9000</onright>
                    <onup>50</onup>
                    <ondown>49</ondown>
                    <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>
                    <control type="button" id="100">
                        <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)] + System.HasAddon(script.dvdextras)</visible>
                    </control>
                    <control type="button" id="5">
                        <description>Cast/Review</description>
                        <include>ButtonInfoDialogsCommonValues</include>
                        <label>206</label>
                    </control>
                    <control type="button" id="6">
                        <description>Refresh</description>
                        <include>ButtonInfoDialogsCommonValues</include>
                        <label>184</label>
                    </control>
                    <control type="button" id="10">
                        <description>Get Thumb</description>
                        <include>ButtonInfoDialogsCommonValues</include>
                        <label>13511</label>
                    </control>
                    <control type="button" id="11">
                        <description>Play Trailer</description>
                        <include>ButtonInfoDialogsCommonValues</include>
                        <label>20410</label>
                        <visible>!IsEmpty(ListItem.Trailer) + !Skin.HasSetting(WindowedTrailer)</visible>
                    </control>

...etc...

Thanks for all the hard work, guys.

I hope this gets into the default install on the next release!
@brenton smith

I have perused your script and came across the following code blocks:

Code:
def getExtrasDirFiles(self, filepath):
        basepath = os.path.dirname( filepath )
        extrasDir = basepath + "/Extras/"
    
    
def createNfos(self):
        progressDialog = xbmcgui.DialogProgress()
        progressDialog.create( "Extras", "Searching for files" )
        pendingFiles = self.getExtraNfoFiles( self.get_movie_sources() )
        pattern = "-extras-nfo-"
If one substitutes (say)
Code:
extrasDir = basepath + "/Specials/" for extrasDir = basepath + "/Extras/"
and
Code:
progressDialog.create( "Specials"
for
Code:
progressDialog.create( "Extras"
, does it suffice to customize the diectory name?
(2013-09-03, 18:28)DiMag Wrote: @brenton smith

I have perused your script and came across the following code blocks:

Code:
def getExtrasDirFiles(self, filepath):
        basepath = os.path.dirname( filepath )
        extrasDir = basepath + "/Extras/"
    
    
def createNfos(self):
        progressDialog = xbmcgui.DialogProgress()
        progressDialog.create( "Extras", "Searching for files" )
        pendingFiles = self.getExtraNfoFiles( self.get_movie_sources() )
        pattern = "-extras-nfo-"
If one substitutes (say)
Code:
extrasDir = basepath + "/Specials/" for extrasDir = basepath + "/Extras/"
and
Code:
progressDialog.create( "Specials"
for
Code:
progressDialog.create( "Extras"
, does it suffice to customize the diectory name?

Give it a try and report back with the result! Smile
@brentosmith

Feature Request:

I have Extras for several of my movies which have .idx and .sub subtitle files with them.
The Extras play beautifully, but when I include these files in the folder with the videos, they show up on the list and make selection difficult. In fact, when I create a blank file called "Hello!" in the folder, this also shows up.

Would it be possible to include a 'include' list and maybe have it accessible and editable through the System>Settings>Add-ons>Enabled Add-ons>Program Add-ons>DVD Extras>Configure menu item?

This way all major media file types can be allowed onto the Extras Menu without including spurious items, therefore allowing the automatic recognition of subtitle and other needed files without cluttering up the menu.

Thinking about it; perhaps substituting a variable or two in the code for the "Extras" file/folder names or paths and including a way to change them in this menu item would also be a good idea?

(2013-09-03, 18:28)DiMag Wrote: @brenton smith

I have perused your script and came across the following code blocks:

Code:
def getExtrasDirFiles(self, filepath):
        basepath = os.path.dirname( filepath )
        extrasDir = basepath + "/Extras/"
    [/size]
    
def createNfos(self):
        progressDialog = xbmcgui.DialogProgress()
        progressDialog.create( "Extras", "Searching for files" )
        pendingFiles = self.getExtraNfoFiles( self.get_movie_sources() )
        pattern = "-extras-nfo-"
If one substitutes (say)
Code:
extrasDir = basepath + "/Specials/" for extrasDir = basepath + "/Extras/"
and
Code:
progressDialog.create( "Specials"
for
Code:
progressDialog.create( "Extras"
, does it suffice to customize the diectory name?


Personally, I wouldn't know where to start with altering your code to do this, but perhaps yourself or someone else out there could?

Perhaps the help of another add-on developer could be sought.

I believe that if these changes are made, along with sorting out some people's problems with TV show extras, this thing would be ready for prime time. Big Grin

(2013-09-03, 18:17)rob_webset Wrote: Hi All,

First off thanks to brentosmith for the great addon - it has made my life a whole load easier!

I do have one enhancement request (Afraid I don't know python very well - so would struggle a little to edit the addon myself). This addon works great for Films, however with TV Series it's not quite compatible with my collection.

The behaviour is that it will only look for extras in the top directory, so doesn't cope with my structure, which is to have each series in it's own directory. i.e.

How I Met Your Mother/Series 1/Extras
How I Met Your Mother/Series 2/Extras
How I Met Your Mother/Series 3/Extras
How I Met Your Mother/Series 4/Extras
How I Met Your Mother/Series 5/Extras

So each DVDs Extras are in with the Series that they are extras for.

Please would it be possible to have an option to have dvdextras recurse directories to find all "Extras" directories below the root directory for the series?

It appears that the addon is currently called with the root "How I Met Your Mother" directory and it then looks for "How I Met Your Mother/Extras". Is there anyway that we could have the option to look for "How I Met Your Mother/*/Extras" as well?

Thanks

Rob
(I hope this is the correct thread - I did search, but could not find one specific for the release of the plugin)
(2013-05-08, 11:01)weirdinin Wrote: I noticed that if I have a theme.mp3 in the movie folder, the extras won't play. xbmc just goes back to movie list. If I delete theme.mp3 from the movie folder, extras work.

All,

I'm having the same problem that weirdinin described, and I'm guessing it has something to do with the location of the Theme Music onload and onunload commands. Can anyone who is getting it to work in Aeon Nox tell me where exactly they inserted these commands in the DialogVideoInfo.xml file?

Thanks!
Hey guys ,

Does anyone know how to "disable" the 'extras' section in this addon? (ie, I only want the Movie Theme Music to play, nothing else)

thanks
Allen
Don't include the button in your theme. The code will still be there, but you need never see it.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
How do I not include the EXTRAS button? I'm using Aeon Nox 4.1.9

thanks for the help
Allen
(2013-09-04, 01:16)Legion455 Wrote: How do I not include the EXTRAS button? I'm using Aeon Nox 4.1.9

thanks for the help
Allen

Good night Legion455,

I haven't tested it myself but it could be worth give it a try: I believe you need to take out (if you have previously pasted it in) the code you put in the file DialogVideoInfo.xml located in <your home user name>/Library/Application Support/XBMC/addons/skin.aeon.nox/1080i. The specific code is:
Code:
<control type="button" id="100">
<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)] + System.HasAddon(script.dvdextras)</visible>
</control>

I hope it goes well. Best,

CF
  • 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 23

Logout Mark Read Team Forum Stats Members Help
Associate extras and/or alternative versions to a movie/TV show title8