stash icon indicating copy to clipboard operation
stash copied to clipboard

[Bug Report] Gifs in zip are images vs video

Open damontecres opened this issue 1 year ago • 0 comments

Describe the bug A gif added as a standalone file has a visual file type of VideoFile. If the (possibly same) gif is inside of zip file and added, its visual file type will be ImageFile.

Expected behavior The visual file types should be consistent, maybe as ImageFile since I think image clips would be VideoFile?

Screenshots Added the same gif standalone and in a zip file and this the result from findImage:

{
  "data": {
    "findImage": {
      "title": "test-gif.gif",
      "__typename": "Image",
      "visual_files": [
        {
          "id": "345",
          "path": "/images/gifs/gif.zip/test-gif.gif",
          "basename": "test-gif.gif",
          "fingerprint": "fe82ee312d2c30832221f23cbc6e8cfa",
          "zip_file_id": "344",
          "parent_folder_id": "29",
          "__typename": "ImageFile"
        },
        {
          "id": "346",
          "path": "/images/gifs/test-gif.gif",
          "basename": "test-gif.gif",
          "fingerprint": "fe82ee312d2c30832221f23cbc6e8cfa",
          "zip_file_id": null,
          "parent_folder_id": "26",
          "__typename": "VideoFile",
          "format": "gif"
        }
      ]
    }
  }
}

Stash Version: (from Settings -> About): v0.26.2

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Firefox
  • Version: 128.0.3

Additional context Add any other context about the problem here.

damontecres avatar Aug 04 '24 02:08 damontecres