2014-07-31, 12:37
Hello all,
I have a folder called media on the pi, that has mixed audio, and video in it. No sub folders, all in root of the media folder.
When i use :
xbmc.executebuiltin('xbmc.PlayMedia("media","isdir")')
xbmc.executebuiltin('xbmc.PlayerControl(RepeatAll)')
It only plays the videos, one after the other.
I want to to play a video, and after video is completed, play the next media file(audio or video).
I was wondering if making a playlist is the way to go here?
If so, which type of playlist? i noticed there are smart and partymode under the videos > playlists menu.
Also if i am to be creating a playlist, i will be creating it in python.
But for now i need to know which playlist will play both audio and video as i mentioned, and the basic structure of a playlist that plays both audio and video.
Or if there is some amazing command that will play audio and video without creating a playlist
Thanks!
I have a folder called media on the pi, that has mixed audio, and video in it. No sub folders, all in root of the media folder.
When i use :
xbmc.executebuiltin('xbmc.PlayMedia("media","isdir")')
xbmc.executebuiltin('xbmc.PlayerControl(RepeatAll)')
It only plays the videos, one after the other.
I want to to play a video, and after video is completed, play the next media file(audio or video).
I was wondering if making a playlist is the way to go here?
If so, which type of playlist? i noticed there are smart and partymode under the videos > playlists menu.
Also if i am to be creating a playlist, i will be creating it in python.
But for now i need to know which playlist will play both audio and video as i mentioned, and the basic structure of a playlist that plays both audio and video.
Or if there is some amazing command that will play audio and video without creating a playlist
Thanks!