[vlc-devel] RE : RE : How to continue playing an online playlistwith LibVLC?

Stream Alerts support at streamalerts.com
Thu Feb 26 19:01:33 CET 2009


Yes, that worked great! I just had to wait for a little after the initial file was parsed. I'll have to post a tutorial on the wiki. Thanks!


 
  
 

 
  Clean
  Clean
  DocumentEmail
  
  
   
  
 



 







  

Actually, libvlc_media_player_play
is asynchronous. It spawns others threads, and returns. The job is really done
when you get a EndReached
event. 

>From the moment on,  libvlc_media_subitems ( ) can be used. You can also just insert a small sleep(1) and it should work (at least for testing). 

  

Erwan10.  

  



-----Message d'origine-----

De :
vlc-devel-bounces at videolan.org [mailto:vlc-devel-bounces at videolan.org] De la part de Stream Alerts

Envoyé : vendredi 20 février
2009 21:40

À : Mailing list for VLC
media player developers

Objet : Re: [vlc-devel] RE :
How to continue playing an online playlistwith LibVLC? 

  

Thank you Erwan10! That makes sense.
How do I extract that media_list after the playlist is parsed?
libvlc_media_subitems()? 

I tried refreshing my media object with libvlc_media_player_get_media() and
then called libvlc_media_subitems() but it returned a null pointer. How else
can I grab the information? Thanks!

Sincerely,

Chris Larsen  

  




 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090226/77ef2381/attachment.html>


More information about the vlc-devel mailing list