(2014-05-13, 07:15)rob_webset Wrote: (2014-05-13, 03:14)bbqbob Wrote: I have discovered a bug in the VideoExtras add-on (v1.1.1) in the way that a custom location is handled. I am using OpenElec 4.0 with Gotham.
I am using a custom extras location. I have found that when doing so, movies are matched against the TVShows sub directory, and TV shows are matched against the Movies sub directory. When viewing movies, VideoExtras is searching for extras in smb:/CustomLoc/TVShows instead of smb:/CustomLoc/Movies. I have worked around this problem by changing the name of the sub folders in the file system settings.
Here are the lines out of my settings.xml that made the add-on work
Code:
<setting id="custom_path_movies" value="TVShows" />
<setting id="custom_path_tvshows" value="Movies" />
Please can you give a bit more info, which method are you using to look at the extras:
- Video Information Dialog
- Extras Browser (new plugin addition)
And a debug log might also help track down the issue.
Thanks
Rob
I am using the xperience1080++ skin. When I opened the information for any movie, a dialog would pop up with something like "Info: No extras found. [OK]". When I went into Add-ons and selected VideoExtras, and then Movies, the list was empty. When I changed the settings for the TVShows sub directory to "Movies", the Movies list in the VideoExtras browser would populate with my extras videos. And after changing the setting, the dialog box in the movie information would no longer pop-up. I still don't see an "Extras" button with the movie information, but I am not sure this is the same problem.
To be precise, I don't have any tv shows with extras, and while I have a TVShows directory it is empty.
I don't have a debug log handy right now, but using the log was how I found the problem. When looking at my movies using either method, the VideoExtras add on was trying the concatenate "TVShows" to the Custom directory and the movie name. For example, the movie Avengers would form a path smb://customdir/TVShows/Avengers and search there.
I suspect these lines in core.py are at the source of the problem, although I don't have a Python debugger running to check.
Code:
+ # Calculates and checks the path that files should be in
+ # if using a custom path
+ def _getCustomPathDir(self, path):
+ # Work out which section to look in
+ typeSection = Settings.getCustomPathMoviesDir()
+ if not xbmc.getCondVisibility("Container.Content(movies)"):
+ typeSection = Settings.getCustomPathTvShowsDir()
While I am new at this, I think that the content could be other values other than Movies or TVShows. A playlist would be one common example. With this code, it looks like the default value would be the TVShows directory.
Bob