[solve] how to get the psz_uri or the URL in hotkeys.c
Posted: 26 Dec 2008 17:49
Hi, I'm using the vlc-0.8.6f. I want to modify the program so that I able to display the URL of the stream or the parameter of psz_uri when one of the hotkey was pressed. So, I try to add some code in the file vlc-0.8.6f/modules/control/hotkeys.c.
But I dunno how to get the URL of current stream media in the hotkeys.c file. Can anyone please tell me how to obtain that or give me an direction on how to do it? Due the argument pass to the method of "static void Run(intf_thread_t *p_intf) is intf_thread_t, I dunno how to related that to obtain the URL of stream media.
Any help is very kind.
But I dunno how to get the URL of current stream media in the hotkeys.c file. Can anyone please tell me how to obtain that or give me an direction on how to do it? Due the argument pass to the method of "static void Run(intf_thread_t *p_intf) is intf_thread_t, I dunno how to related that to obtain the URL of stream media.
Any help is very kind.