I 'm after adding a routine called libvlc_media_player_get_title() which will return the title of the item currently played.
The ultimate goal is to provide access to this information to the Mozilla plugin thru a new field in the API called "input.title" .
This can be the dvb-t program name or the title of the DVD. I decided to start with the latest first which seemed the simplest.
I spotted in file dvdnav.c a Control routine which returns exactly what I'm after with the DEMUX_GET_META enum as a parameter.
Now I'm trying to figure out how to tie libvlc_media_player_get_title() to this Control one which is unfortunately static.
I may use the wrong method here (maybe the meta info is already referenced in the player structure ?)
Newbie at developping around vlc, I'm looking for help.
regards,