Configurable double-click action on folder/file
A filebrowser plugin for the DeaDBeeF audio player.
Status: Beta
Brought to you by:
zykure
When double-clicking on a folder or file in the tree, I would like to:
1. Clear the current playlist.
2. Add the clicked content to the playlist (if folder, then everything under it should be added).
3. Start playing the first song in the new playlist.
Others might want other things to happen, so maybe this could be configurable to other actions like:
Add the clicked content to the end of the current playlist
or the current behaviour:
Expand/collapse folder content
This could be presented in the settings as a dropdown with alternatives:
expand/collapse
add selection to playlist
selection as new playlist
Oh, and if any other option than expand/collapse is selected you could get rid of the + button in the gui too. :)
Very good suggestion. In one short sentence:
We'd like to assign a custom action to the double-click mouse event.
It's practically the same as the keyboard add-to-action thing (e. g. so that F11 might open Search window etc.)
(Come to think of it, in theory, this could even be a candidate to get integrated into deadbeef's "Keyboard shortcuts" dialog some fine day! Because this dialog works under the very same subject: assigning actions to button/key events.)
Last edit: Andreas E 2015-03-02
I will add a "Start playing" button or something similar, which will replace the current playlist, add the selected folder, and start playing. Adding custom handler to click actions is a bit too much for now (there are more important tasks) and I wouldn't implement it before adding a custom config dialog (because these extra options would finally make it explode).