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.5k stars 504 forks source link

Do not delete media files after a game is removed #3854

Open dinhani opened 1 month ago

dinhani commented 1 month ago

Feature description

I am writing a PowerShell script to synchronize my LaunchBox collection with Playnite collection, so I am pointing the cover and background images to assets managed by LaunchBox.

It works fine, but the problem is that when I delete a game from Playnite, it deletes the associated media from the filesystem.

I am aware this normally happens because Playnite copies images to its own directory, but I would like to have a Playnite option or at least a boolean flag in the Game class to indicate that a image is an external asset and should not be deleted on game removal.

Screenshots

No response