[vlc-devel] libvlc status? [BIS]
tkrotoff at gmail.com
Tue Apr 1 20:23:21 CEST 2008
I feel so stupid! it works now!!!
Never do this in your code if you want to get meta data:
Sorry for bothering you with my stupidity...
I do simply this and it works:
vlcMedia = p_libvlc_media_new(vlcInstance, _filename);
vlcMediaPlayer = p_libvlc_media_player_new_from_media(vlcMedia);
artist = p_libvlc_media_get_meta(vlcMedia, libvlc_meta_Artist);
So without playing the file.
There is still something that I don't understand,
this code does not work:
if (event->type == libvlc_MediaMetaChanged)
meta = p_libvlc_media_get_meta(vlcMedia,
And each time I get a libvlc_MediaMetaChanged event, meta string is
just empty... even if the code above works fine.
Do you have a rational explanation?
Tanguy Krotoff <tkrotoff at gmail.com>
+33 6 68 42 70 24
More information about the vlc-devel