libvlc: get current filename being played

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
briantokyo
Blank Cone
Blank Cone
Posts: 13
Joined: 21 Feb 2008 04:34

libvlc: get current filename being played

Postby briantokyo » 21 Feb 2008 04:36

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libvlc: get current filename being played

Postby Jean-Baptiste Kempf » 21 Feb 2008 08:45

input_item_GetTitle( p_item );
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

briantokyo
Blank Cone
Blank Cone
Posts: 13
Joined: 21 Feb 2008 04:34

Re: libvlc: get current filename being played

Postby briantokyo » 22 Feb 2008 06:36

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 33 guests