Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Screenshot cache contains many large files #4899

@low-batt

Description

@low-batt

System and IINA version:

  • macOS 14.4.1
  • IINA 1.3.4

Expected behavior:
Disk caches are bounded in size.

Actual behavior:
@hugepower reports in this comment:

I am using PNG format for my screenshots, and each one occupies approximately 2MB of space. Surprisingly, in the ~/Library/Caches/com.colliderli.iina/screenshot_cache directory, IINA has stored nearly 10GB of past screenshot images. I am puzzled by this as I don't understand the need to retain so many screenshots, which seem to be taking up a significant amount of unnecessary storage space.

Steps to reproduce:

  • Start IINA

  • Click on Settings… under the IINA menu

  • The settings panel appears

  • Scroll down to the Screenshots section

  • Uncheck the Save to setting

  • Uncheck the Show previews after taking screenshots

  • Start playing a video

  • Take a screenshot

  • Notice a file still remains in the ~/Library/Caches/com.colliderli.iina/screenshot_cache directory

  • MPV does not have this problem.

How often does this happen?
Every time with the settings shown above.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions