2015-06-10, 18:42
I'm trying to use Kodi to do an auto start and play but I'm having an issue with a script I found on this forums not working
I have tried it with xmbc and with kodi as the import. I'm googling but I can't find anything on it. I tried doing a playlist but Kodi doesn't let you create video playlists only now playing lists (which is a little irritating). I activated debug mode and when I look through the log it says kodi and xmbc are not recognized modules. Am I missing something?
EDIT: I think I may have put this in the wrong forum. If so, my apologies.
Code:
import xmbc
xmbc.executebuiltin("PlayMedia(/home/pi/path/to/file.mp4)")
xmbc.executebuiltin("PlayerControl(Repeat)")
I have tried it with xmbc and with kodi as the import. I'm googling but I can't find anything on it. I tried doing a playlist but Kodi doesn't let you create video playlists only now playing lists (which is a little irritating). I activated debug mode and when I look through the log it says kodi and xmbc are not recognized modules. Am I missing something?
EDIT: I think I may have put this in the wrong forum. If so, my apologies.