Page 1 of 1

libvlc: get current filename being played

Posted: 21 Feb 2008 04:36
by briantokyo
Hi,

Is there any way to get the current filename that vlc is playing? I've been checking libvlc for quite a bit and couldn't find anything helpful. Isn't there a specific function to retrieve the current media info?

Thanks

Re: libvlc: get current filename being played

Posted: 21 Feb 2008 08:45
by Jean-Baptiste Kempf
input_item_GetTitle( p_item );

Re: libvlc: get current filename being played

Posted: 22 Feb 2008 06:36
by briantokyo
Can I use it to find out the normal player's item or is it only valid to use my own player instance?

I need to find if the player is running and retrieve the current filename being played, but I see this DLL is mostly oriented to create your own instance of the player