Concatenate multiple streams for playback
#1
Hello,

I'm currently writing a video addon, that makes an online library of educational videos available in XBMC.

My problem is that the web page divides its courses in various small chapters - each only a few minutes in length. Every chapter consists of a standalone .mp4 file. On the webpage they have a sophisticated player that plays the chapters one after the other so that it is almost seemless for the user.

Is there anyway to simulate this behaviour in XBMC? When I'm generating list items for the videos, it seems I can only pass one URL for the video, but I would need to pass some sort of playlist instead that plays one item after the other.

Ideally I would like to have one virtual item, that plays all URLs one after each other without the user even noticing. Or alternatively automatically play the next clip in the list when one clip finishes.

Thanks!
Reply
#2
This should be possible with using XBMC's stack url syntax:
Code:
stack://http://video1 , http://video2
My GitHub. My Add-ons:
Image
Reply
#3
Thanks, this seems perfect :-) The magic phrase "stack url syntax" also led me to this page:

http://forum.xbmc.org/showthread.php?tid=120054

I will try the URL syntax or the alternatives presented in the other post.
Reply

Logout Mark Read Team Forum Stats Members Help
Concatenate multiple streams for playback0