sagiadinos / garlic-player

Digital Signage Player based on SMIL
https://garlic-player.com
GNU Affero General Public License v3.0
82 stars 14 forks source link

How are the settings used? #24

Closed jf133 closed 2 years ago

jf133 commented 2 years ago

Hi, I'm playing around with garlic-player.app (on mac). If I delete the .app file and then download a new one it seems to keep track of the settings. Where are the settings stored for garlic-player.app?

jf133 commented 2 years ago

found two places: ~/Library/Application Support/garlic-player ~/Library/Caches/garlic-player/

Can you elaborate on how/why these are used?

Thank you! J

sagiadinos commented 2 years ago

There is also another dir/file on macOS and Linux ~/.config/SmilControl/garlic-player.ini This file stores the UUID and some other config temporary parameter like the content-url, the position of the last used smil-file and the task-id needed for update, resets and other maintenance when used with a launcher (currently only android)

~/Library/Application Support/garlic-player used for the log-files in logs QtWebengine also stores the web cache there.

~/Library/Caches/garlic-player/ These are the cached files when using garlic-player with a http/https url

I will create a Wiki entry for this directories.

sagiadinos commented 2 years ago

Here are the locations and descriptions for every supported operating system.

https://github.com/sagiadinos/garlic-player/wiki/Directories-in-Android,-Linux,-macOS,-and-Windows