Get mediaDescription.title for all items in playlist

This forum is about all development around libVLC.
tompkinsjs
New Cone
New Cone
Posts: 1
Joined: 08 Feb 2016 22:00

Get mediaDescription.title for all items in playlist

Postby tompkinsjs » 08 Feb 2016 22:15

Hi,

I've created a playlist view in a vb.net form (using a listview control) and would like to grab the meta information from each item in the playlist so I can display it in the listview control. I can get the meta information just fine, one at a time, once a video is loaded and playing in VLC player, but I would like to know how to go through the items loaded in the VLC playlist, and then list the meta titles, albums, etc. in my listview control.

The VLC player seems to do this when you view playlist.

Does anyone know how I can 1) get all of the items out of a loaded playlist and 2) get the meta information using mediaDescription to do this through the AxVLCPlugin21 APIs?

Using: VB.NET, VLC 32-bit v2.2.2 and the AxVLCPlugin21 VLC control in Windows 10. The files are all .MP4

Thanks in advance for your help.

Elkoss
New Cone
New Cone
Posts: 1
Joined: 18 Apr 2017 08:11

Re: Get mediaDescription.title for all items in playlist

Postby Elkoss » 18 Apr 2017 08:18

Hi tompkinsjs,

have you managed to solve your problem in the meantime?

I need exactly the same functionality and yes, you can get metadata from audio files using AxVLCPlugin21 VLC control. It is weird, that you are able to read metadata only if you start to play the playlist.
Therefore I created two AxVLCPlugin21 VLC control instances. One for reading metadata, which is muted and the other for playing songs. It is a little workarround, but I haven't figured better way...

Have you solved it in any better - more elegant way?

Thanks for sharing!

Elkoss

I'm using Visual Studio 2012 Professional on Windows 10, AxVLCPlugin21 VLC control...

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: Get mediaDescription.title for all items in playlist

Postby Jean-Baptiste Kempf » 11 Jun 2017 16:59

Yes, you need to preparse, and I don't think it is available on the AxVLC interface.
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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 34 guests