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
9.25k stars 501 forks source link

New cmdline arguments #1728

Open Bluscream opened 4 years ago

Bluscream commented 4 years ago
Argument Description
--startfullscreen Forces application to start in Fullscreen mode.
--starttray Forces application to start minimized to tray.
--startminimized Forces application to start minimized.
--updatelibraries Forces application to update libraries.
--updatemetadata Forces application to update missing metadata.

Bonus points if these are executing the related code even when playnite is already running (switching modes)

JosefNemec commented 4 years ago

Why would you need those? They are supported as option in the application itself. What's the use case for these?

Bluscream commented 4 years ago

For example when i start steamvr i want playnite to start in fullscreen mode (just one example)

Telmo26 commented 4 years ago

That would also allow using the guide button to open Playnite in fullscreen mode by using JoyToKey to redirect the input. And yes it would be awesome if this worked even when playnite is already launched.

Deide commented 4 years ago

Is it possible to pass arguments to the started application? For example if you --start <Library ID> -- -some "app specific args"

JosefNemec commented 4 years ago

@Deide No it's not, game startup is fully controlled by how game's Play action is set up (either by library plugin or custom settings). I will probably add additional argument to choose specific play action once #272 is done.

Bluscream commented 4 years ago

added --updatelibraries and --updatemetadata

JosefNemec commented 4 years ago

What's the use case for --updatelibraries and --updatemetadata?

Bluscream commented 4 years ago

If you keep your pc on for a long time you can set a task in windows task scheduler to update your libs every 24h or so