<div dir="ltr">Bump<br><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 14, 2019 at 10:52 PM John Hammer <<a href="mailto:dev54335@gmail.com">dev54335@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>HI,</div><div> Looks like single key stroke binding for the vlc extensions is not supported and the only way is to modify the c++ sources. I have cloned and able to compile and run vlc on ubunutu 18.04 machine.</div><div><br></div><div> After browsing the the source code a little i have found that the keys are intercepted by this function <a href="https://github.com/videolan/vlc/blob/26dc589ae9d85e7e9236e1bb7b7218a65bcdfcdc/modules/gui/qt/main_interface.cpp#L1646" target="_blank">https://github.com/videolan/vlc/blob/26dc589ae9d85e7e9236e1bb7b7218a65bcdfcdc/modules/gui/qt/main_interface.cpp#L1646</a>. I want to modify this function to delete the currently playing file if the key is "D". How to get the vlc core object here and what method to be called on it to delete the current playing file ? I will publish the code on github if anyone interested in it. <br></div><div><br></div><div>PS:<br></div><div>I searched for the vlc extension to delete the current playing file from filesystem with single keystroke and the closest i could find was this addon <a href="https://github.com/surrim/vlc-delete/blob/master/vlc-delete.lua" target="_blank">https://github.com/surrim/vlc-delete/blob/master/vlc-delete.lua</a>. But it does not work on single keystroke.<br>-- <br><div dir="ltr" class="gmail-m_-5564718006783220337gmail_signature"><div dir="ltr">Regards</div><div>Bob333<br></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Regards<br></div></div></div></div>