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.52k stars 505 forks source link

Option to not delete media files after a game is removed #3853

Closed dinhani closed 1 month ago

dinhani commented 1 month ago

Bug 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.

To Reproduce

No response

Diagnostics ID

32b41f72-c18b-4ec9-85c6-9ccb40f6e6c0

Screenshots

No response

dinhani commented 1 month ago

Will re-open it as a feature request.