No subject


Fri Dec 5 15:05:44 CET 2008


just insert a small sleep(1) and it should work (at least for testing).
=20
Erwan10.
=20
-----Message d'origine-----
De : vlc-devel-bounces at videolan.org
[mailto:vlc-devel-bounces at videolan.org] De la part de Stream Alerts
Envoy=E9 : vendredi 20 f=E9vrier 2009 21:40
=C0 : Mailing list for VLC media player developers
Objet : Re: [vlc-devel] RE : How to continue playing an online
playlistwith LibVLC?
=20
Thank you Erwan10! That makes sense. How do I extract that media_list
after the playlist is parsed? libvlc_media_subitems()?=20
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
=20

------=_NextPart_000_002C_01C99451.75B24910
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml at 01C99451.73526010">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:UseFELayout/>
  </w:Compatibility>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Batang;
	panose-1:2 3 6 0 0 1 1 1 1 1;
	mso-font-alt:\BC14\D0D5;
	mso-font-charset:129;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1342176593 1775729915 48 0 524447 0;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:553679495 -2147483648 8 0 66047 0;}
@font-face
	{font-family:"\@Batang";
	panose-1:2 3 6 0 0 1 1 1 1 1;
	mso-font-charset:129;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1342176593 1775729915 48 0 524447 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:Batang;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.StyleCourrierlectronique18
	{mso-style-type:personal-reply;
	mso-style-noshow:yes;
	color:black;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Tableau Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:36.0pt'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></font></p=
>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:black'>Actually, <span =
class=3DSpellE>libvlc_media_player_play</span>
is asynchronous. It spawns others threads, and returns. The job is =
really done
when you get <span class=3DGramE>a</span> <span =
class=3DSpellE>EndReached</span>
event.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:black'>From the moment on, =
</span></font><span
class=3DSpellE><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial'>libvlc_media_<span =
class=3DGramE>subitems</span></span></font></span><span
class=3DGramE><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial'>(</span></font></span><font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'>) can be used. You can also just insert a =
small <span
class=3DGramE>sleep(</span>1) and it should work (at least for =
testing).<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Erwan10.</span></font><font color=3Dblack><span
style=3D'color:black'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></font></p=
>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0cm 0cm =
0cm 4.0pt'>

<p class=3DMsoNormal><font size=3D2 face=3DTahoma><span lang=3DFR =
style=3D'font-size:
10.0pt;font-family:Tahoma;mso-ansi-language:FR'>-----Message =
d'origine-----<br>
<b><span style=3D'font-weight:bold'>De&nbsp;:</span></b>
vlc-devel-bounces at videolan.org [mailto:vlc-devel-bounces at videolan.org] =
<b><span
style=3D'font-weight:bold'>De la part de</span></b> Stream Alerts<br>
<b><span style=3D'font-weight:bold'>Envoy=E9&nbsp;:</span></b> vendredi =
20 f=E9vrier
2009 21:40<br>
<b><span style=3D'font-weight:bold'>=C0&nbsp;:</span></b> Mailing list =
for VLC
media player developers<br>
<b><span style=3D'font-weight:bold'>Objet&nbsp;:</span></b> Re: =
[vlc-devel] RE :
How to continue playing an online playlistwith LibVLC?</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Thank you Erwan10! That =
makes sense.
How do I extract that media_list after the playlist is parsed?
libvlc_media_subitems()? <br>
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!<br>
Sincerely,<br>
Chris Larsen</span></font><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></font></p=
>

</div>

</div>

</body>

</html>

------=_NextPart_000_002C_01C99451.75B24910--




More information about the vlc-devel mailing list