Page 1 of 1

Snapshot webradio info by hotkey to log file?

Posted: 20 Jul 2014 11:31
by Elektromusic
Listens to many web radio stations while working and once in a while there is some great music and I would like to do a snapshot of current "Now playing" to a logfile by pressing a hotkey. How to manage this?
(Not a big skilled programmer, just basic knowledge.)

Probably someone already has done this but despite my search I haven't found it. :(

Re: Snapshot webradio info by hotkey to log file?

Posted: 25 Jul 2014 16:16
by mederi
Custom hotkeys are available in VLC-2.0.x (example script: eplased_time_to_file.lua), not in VLC-2.1+. You could write a VLC Lua Extension script containing a dialog box with a button and use some external helper like AutoHotkey.

Re: Snapshot webradio info by hotkey to log file?

Posted: 09 Aug 2014 21:48
by Elektromusic
Thank's alot for your answear mederi!
Ok, so best alternative is to install a previous version of VLC as I understand. (I'm now running 2.1)
Why disable custom hotkeys in 2.1+? Security reasons?

Writing a Lua Ex. + using AutoHotkey seems a long way around though, but will try it out.

No known stream-player with this option already at hand otherwise? (Would still keep VLC as my primary player, it rocks! ;) )

Re: Snapshot webradio info by hotkey to log file?

Posted: 10 Aug 2014 19:42
by mederi
VLC-2.0.x with hotkeys.lua interface script with your custom hotkey and appropriate function would suit your request best. Otherwise go for suggested solution/workaround for VLC-2.1+

Re: Snapshot webradio info by hotkey to log file?

Posted: 12 Aug 2014 20:01
by mederi
Here is an example of the function you could use within the hotkeys inferface script or in your extension:
https://forum.videolan.org/viewtopic.ph ... 73#p408373