Directory sorting changed after end of playback
#1
Hello. I'm developing a video addon that displays directories with videos and other folders. After a add the items (videos andf folders), the order in the directory is set with:

    xbmcplugin.addSortMethod(_handle, xbmcplugin.SORT_METHOD_DATEADDED)

But after playback of any video, the directory order is different. Folders are first and videos after folder. Is any way to preserve the original order?
This is visible in kodi 17. In kodi 16 it doesn't happen but it is due to a different in the default sort. In both versions the sorting I set is overriden after any playback.
Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Directory sorting changed after end of playback0