Need help with "xbmc.executebuiltin('SlideShow("[path/to/dir]",pause)')"
#1
Hello to all!

need some help with opening CBR/CBZ files with "xbmc.executebuiltin('SlideShow("[path/to/dir]",pause)')"

As far as I know, Kodi can handle .zip files like folders. Kodi also handles .cbz files (after all, .cbz files are just a .zip file with the renamed extension)

So...
When I execute the command:

Code:
xbmc.executebuiltin('SlideShow("Y:\Comics\X-Men\Uncanny X-Men_0001.cbz",pause)')

Nothing happens and in the log I get the following error in the log:
ERROR: XFILE::CDirectory::GetDirectory - Error getting Y:\Comics\X-Men\Uncanny X-Men_0001.cbz

BUT!!
When I execute the same command, but changing the extension back to .zip:

Code:
xbmc.executebuiltin('SlideShow("Y:\Comics\X-Men\Uncanny X-Men_0001.zip",pause)')
 
It opens normally.

Am i doing something wrong? 
Using Kodi Leia
Cheers
Reply
#2
Anyone??
Reply
#3
As far as I can see in the code only zip or rar work. Have you tried the ShowPicture(picture) builtin instead? (Replacing picture by the cbz file)
Reply
#4
(2021-03-30, 01:22)enen92 Wrote: As far as I can see in the code only zip or rar work. Have you tried the ShowPicture(picture) builtin instead? (Replacing picture by the cbz file)

Yes, I tried this too!

xbmc.executebuiltin('ShowPicture("Y:\Comics\X-Men\Uncanny X-Men_0001.cbz")')

But this give me only a black screen (Screenshot)

Image

And in the log give me: 
"ERROR: Error loading the current image 0: Y:\Comics\X-Men\Uncanny X-Men_0001.cbz"
Reply

Logout Mark Read Team Forum Stats Members Help
Need help with "xbmc.executebuiltin('SlideShow("[path/to/dir]",pause)')"0