audacious-media-player / audacious

A lightweight and versatile audio player
https://audacious-media-player.org
Other
858 stars 115 forks source link

Add a way to close/unload a playlist without deleting it from disk #998

Closed Audacious-Bot closed 6 months ago

Audacious-Bot commented 6 months ago

Author Name: Dreamcat Four Original Redmine Issue: https://redmine.audacious-media-player.org/issues/858 Original Date: 2019-01-05


Quick fore-note:

So what's the problem then? Well I want to minimize to tray with the keyboard. But 'QTRL + Q' will quit audacious entirely. So the music stops playing. But I just want minimize to tray instead. By the keyboard. How to have some keyboard shortcut which is equivalent of closing the 'X' button in the corner of the window?

However I have not

(2) And unfortunately in audacious, normally closing the current tab ('CTRL+W'), if it is a playlist. Which is a force of habit. But in your app, it seems to mean deleting the current playlist. This is not good either! If there is not any other backup copy of your playlist! With not any 'Are you sure?' confirmation dialog either. It just gets immediately deleted.

Perhaps closing a playlist should keep it existing in 'Playlist manager' window. And just hide the open tab view of that playlist. Then people can delete using the manager window instead. Any way we can change this, so the playlist is not automatically deleted by mistaken 'CTRL + W' without any save prompt etc?

Thanks for considering these usability enhancements.

Audacious-Bot commented 6 months ago

Original Redmine Comment Author Name: John Lindgren Original Date: 2019-01-07T15:24:31Z


  1. Alt-F4 will minimize to the system tray if you have the 'Close to system tray' checkbox checked.

  2. There is normally an "Are you sure?" prompt unless you have disabled it (check for and remove @no_confirm_playlist_delete=TRUE@ from your configuration file).

Audacious-Bot commented 6 months ago

Original Redmine Comment Author Name: Dreamcat Four Original Date: 2019-01-07T19:52:49Z


John Lindgren wrote:

  1. Alt-F4 will minimize to the system tray if you have the 'Close to system tray' checkbox checked.

Thank you!

Actually I have trouble with that shortcut due to laptop style keyboard requireing Fn key held down (to do any alt+F number).

However another mechanism quickly found, in the 'Global Hotkeys' plugin --> [Add] --> 'Toggle Player Windows'. Which I bound to a spare unused Media Key.

  1. There is normally an "Are you sure?" prompt unless you have disabled it (check for and remove @no_confirm_playlist_delete=TRUE@ from your configuration file).

Thank you. I must have clicked the 'Don't show ever again' checkbox at some point in time.

So this is also solved OK enough now (for me). Against the accidental deletion by mistake. Due to my liberal CTRL+W habits.

However I still believe that for other usability reason(s), that CTRL+W is not the most ideal shortcut to directly invoke the mechanism to definitely remove a playlist. In most other applications, CTRL+W merely means to close the current window viewport or the current tab viewport. Rather than actually delete a previously saved user data. Which a playlist is (a saved user data), given that it is automatically saved between program sessions.

Perhaps a different shortcut, with an extra modifier key. Would be more appropriate to say 'i want to delete this entire playlist'. For example: CTRL+backspace or CTRL+delete would be a way to differentiate between deleting the currently selected song(s) and deleting the entire playlist itself. At least that is what is often found in other programs.

My point about the Playlist manager still holding the list of all playlists remains valid, I believe. And is a better location from which to permanently delete a playlist.

Then having CTRL+W simply closing the current view of the playlist. For example this is better for an individual who has creates and maintains quite a lot of playlists. Yet only wanting to have a few actually active and open as visible tabs at a specific time.

Maybe a DJ, or the program is being shared amongst multiple DJs, who are sharing the same piece of equipment. They might have to change sets quickly and without the interruption of restarting of the program, to load a different user configuration, etc. That is just one example. But there are many other types of individuals who may wish to maintain many more playlists than really cannot all be in opened tabs.

Not me though! I only need about 2-3 playlists. Kind Regards.

Audacious-Bot commented 6 months ago

Original Redmine Comment Author Name: John Lindgren Original Date: 2019-01-07T21:44:08Z


Dreamcat Four wrote:

Then having CTRL+W simply closing the current view of the playlist. For example this is better for an individual who has creates and maintains quite a lot of playlists. Yet only wanting to have a few actually active and open as visible tabs at a specific time.

I agree with this suggestion. A more convenient way to "unload" a playlist from the program (without deleting it from disk) and load it again later would be nice. You can of course do this today with "Export Playlist" and "Import Playlist", but it's more steps to click through.

I don't have time to implement it right now, but it would be a good enhancement for a future version.

Audacious-Bot commented 6 months ago

Original Redmine Comment Author Name: John Lindgren Original Date: 2022-03-05T14:49:35Z


Closing feature requests that have seen no activity in 3 years.