@
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.
(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)