Playlist of video and audio
#1
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 Tongue

Thanks!
Reply
#2
Alright, i figured out that if you create a .m3u playlist and have both audio and video in it, xbmc will play all files in order Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Playlist of video and audio0