2018-01-01, 19:27
Hi to all,
I execute a Files.GetDirectory of a video directory, which contains six subdirectories and no files (video files are instead in those subdirectories). In the returned result, I see five elements of "filetype":"directory" as expected, and one element of "filetype":"file", which is not expected!
That wrong element is actually a video file contained into the sixth directory; I suppose the first one in alphabetical order of the many ones contained in the same one.
The problem is that a remote app (Yatse for Android) will display that directory as a single file, and I cannot browse into it! I'm testing the API with curl on localhost, Kodi is version 17.6, running on a Debian GNU/Linux box.
I execute a Files.GetDirectory of a video directory, which contains six subdirectories and no files (video files are instead in those subdirectories). In the returned result, I see five elements of "filetype":"directory" as expected, and one element of "filetype":"file", which is not expected!
That wrong element is actually a video file contained into the sixth directory; I suppose the first one in alphabetical order of the many ones contained in the same one.
- The sixth directory contains many video files, they are different, unrelated movies (not episodes, not pieces of videos to be stacked);
- The whole video directory tree was added to the library using metadata from some .nfo files, but only the sixth subdirectory contains videos with .nfo metadata. For absurd the only folder with tagged files, is the only one that is badly managed.
The problem is that a remote app (Yatse for Android) will display that directory as a single file, and I cannot browse into it! I'm testing the API with curl on localhost, Kodi is version 17.6, running on a Debian GNU/Linux box.