JosefNemec / Playnite

Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
https://playnite.link
MIT License
8.88k stars 489 forks source link

Multiple Play Actions: Select default action without disabling others #3441

Open chocolatechipcats opened 1 year ago

chocolatechipcats commented 1 year ago

Feature description

Currently, if you have more than one play action, you need to select the preferred action with a dialog.

To avoid this, you need to disable 'play action' for the rest. But this disables time tracking and constantly toggling it can be a pain.

In this case, it would be helpful to let the user select a 'default' play action. (If none are selected, show the dialog.) This will be the one launched when the user presses play, uses the system tray menu, or uses a playnite://playnite/start shortcut. The other play options would be available in either the 'play' or 'more' menu and still track time.

Thank you.

Gerren commented 6 months ago

Hi there. This seems a little excessive, TBH. But I see what you mean. I think that working out the user interface would be a headache.

Variant 1: The play button would need to have a dropdown arrow to bring up a menu for the "non-default" play actions. Variant 2: The play "non-default" actions would have to be added to the list of actions, having the play icon.

The Variant 1 would give a good kick to the themes built for Playnite. The Variant 2 shouldn't be so bad to implement, IMHO.

Of course, there could be a toggle in the options for global behaviour, or even "Remember this action" in the dialog itself to set it up in the moment.