Page 1 of 1

Get mediaDescription.title for all items in playlist

Posted: 08 Feb 2016 22:15
by tompkinsjs
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.

Re: Get mediaDescription.title for all items in playlist

Posted: 18 Apr 2017 08:18
by Elkoss
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...

Re: Get mediaDescription.title for all items in playlist

Posted: 11 Jun 2017 16:59
by Jean-Baptiste Kempf
Yes, you need to preparse, and I don't think it is available on the AxVLC interface.