2021-03-22, 01:14
If it isn't a lot of work, could you update the script to ignore non-video files? The actual Kodi file browser doesn't display .srt or .nfo files, so I don't see why the extras browser would, yet it does.
(2021-03-22, 01:14)Kriven Wrote: [ -> ]If it isn't a lot of work, could you update the script to ignore non-video files? The actual Kodi file browser doesn't display .srt or .nfo files, so I don't see why the extras browser would, yet it does.
for name in files:
if name.lower().endswith(('.avi', '.mkv', '.mp4', '.ogm')):
li = ListItem(unquote_plus(name).rsplit('.', 1)[0])
else:
name = ''
(2021-03-23, 05:36)A600 Wrote: [ -> ]This is what I do (plus removing the extensions and unquoting the name for webdav sources)I appreciate the suggestion, but that covers only a small portion of the video types that Kodi can play, and that's the reason this isn't simple. If the add-on is going to start excluding things, I need to make sure it both doesn't exclude something Kodi could play and stays up to date (without having to manually adding another extension to the list) as things change. So this solution "works" for the people who will only ever have one of those four types of video files, but might not work for a very large group of other people.
Code:for name in files:
if name.lower().endswith(('.avi', '.mkv', '.mp4', '.ogm')):
li = ListItem(unquote_plus(name).rsplit('.', 1)[0])
else:
name = ''
(2021-03-23, 05:36)A600 Wrote: [ -> ]This is what I do (plus removing the extensions and unquoting the name for webdav sources)
Code:for name in files:
if name.lower().endswith(('.avi', '.mkv', '.mp4', '.ogm')):
li = ListItem(unquote_plus(name).rsplit('.', 1)[0])
else:
name = ''
(2021-03-23, 18:46)Kriven Wrote: [ -> ]Do you put this in the addon's python script or is this somewhere else? I don't mind managing a personal solution if it's really the best way.
(2021-09-06, 13:22)illuvattarr Wrote: [ -> ]I've been using this addon for a while but since updating to Kodi 19, it has become extremely slow.It's impossible to even speculate without a debug log. Please turn on debugging in Kodi and then active the add-on as usual. Put the debug log on https://paste.kodi.tv and then put a link to it here.
My extras are all neatly in folders and when I select a movie and select the Extras option, it just takes a good few minutes for the list of videos in the Extras folder to appear. It shows a 'Please wait' dialog.
Any idea what could be the problem here?
(2021-09-10, 11:04)Gade Wrote: [ -> ]@pkscoutIt's been asked about before, and the short answer is only by completely rewriting the add-on. The current add-on really just gets a list of stuff in a directory. To add a skin indicator you'd probably need a service that would constantly scan for files in the right directories.
Is it possible to add some kind of indication for a skin to know when a movie has extras?
That would make it possible for a skin to add an icon when extras are available.
https://forum.kodi.tv/showthread.php?tid=364303
(2021-09-10, 15:56)pkscout Wrote: [ -> ](2021-09-10, 11:04)Gade Wrote: [ -> ]@pkscoutIt's been asked about before, and the short answer is only by completely rewriting the add-on. The current add-on really just gets a list of stuff in a directory. To add a skin indicator you'd probably need a service that would constantly scan for files in the right directories.
Is it possible to add some kind of indication for a skin to know when a movie has extras?
That would make it possible for a skin to add an icon when extras are available.
https://forum.kodi.tv/showthread.php?tid=364303
(2021-09-23, 02:01)DanTheMan827 Wrote: [ -> ]Would it be possible to only show the extras menu item if an extras folder exists?Its been asked for multiple times, even a couple of posts up. The way this addon is written, it is not possible. It needs to be redesigned to allow that functionality.