QMPlay2 icon indicating copy to clipboard operation
QMPlay2 copied to clipboard

[FR]: Add FILE delete option

Open RafaelLinux opened this issue 1 year ago • 3 comments

I usually delete unwanted media files while/after playing them. That's possible from some players QMMP (if you enable it), Audacious and some audio tag editors.

Please, could you add this feature to QMPlay2? With that feature, I can forget definitively any other video/audio player. In fact, I was looking a faster player. QMPlay2 opens/closes itself instantly when launching to play any media file, while SMplayer takes about 4 seconds to do same thing.

image

RafaelLinux avatar Jan 01 '23 20:01 RafaelLinux

Good idea, but dangerous (deletes files) - it must be disabled by default.

zaps166 avatar Jan 03 '23 21:01 zaps166

Of course. That's the way it's implemented in QMMP or Audacious. User must enable it and after enabled, it's clear in menu that is delete FILE not a playlist entry ;)

RafaelLinux avatar Jan 04 '23 10:01 RafaelLinux

Good idea, but dangerous

For example, for Windows this is not critical, since the files are deleted to the Recycle. However, given the multi-platform nature of the player, there are some nuances. For example, in Linux you can use the ~/.local/share/Trash/ folder for this. However, there is no such option on Android.

This part of the menu needs to be reorganized a little, since it is currently redundant with unnecessary functions. In particular, "Remove entries without groups" makes the menu too wide. The menu item "Remove selected entries" should also be shortened, since if the elements are not selected, nothing will be deleted.

Add a "Delete to Trash" checkbox to the settings and if it is activated by pressing Shift+Del, let the user delete the file to the Trash. At the same time, clearing the list (Clear list) is also a controversial function, since it repeats the action of Ctrl+A and the Del key. In this case, it is needed once a year =) "Remove entries without groups" once every two years.

I sketched out a small sketch of what it might look like:

QM-CaptureStream3

Thank you for your work!

Related topics: https://github.com/zaps166/QMPlay2/issues/86

blzos avatar May 09 '24 12:05 blzos