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.66k stars 482 forks source link

Could we get a global variable for game tags? #3747

Closed xCeeTee closed 1 month ago

xCeeTee commented 1 month ago

Feature description

So I'd like to have a global script for all games marked as Competitive or CPU intense in the tags. And another for games I play listening to music.

Screenshots

No response

JosefNemec commented 1 month ago

Add condition to global script based on assigned data to a game:

https://api.playnite.link/docs/manual/features/scriptingSupport/exampleScripts.html#executing-actions-depending-of-game-characteristics