Kodi Community Forum

Full Version: Issue with autoexec service : PlayMedia fails with "isdir" option
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone

I have several ubuntu machines using kodi.
They start with the service.autoexec using the code :
import xbmc
xbmc.executebuiltin("PlayMedia(/home/media/video,isdir)")
xbmc.executebuiltin( "PlayerControl(repeat)" )


Since v20 (and 20.1), start fails and the log says :
error <general>: GetItemsForPlayList: Unable to get playlist items for /home/media/video/
Looks like it believes it's a playlist...

I tried  <<">> instead of <<'>>
I tried w/wo <<r>>
I tried mixing " and '
Nothing seems to work.

Any idea ?

Tom
check out this post - https://forum.kodi.tv/showthread.php?tid=69797

it does what youre wanting but in a different way