TumblThree icon indicating copy to clipboard operation
TumblThree copied to clipboard

downloaded_media_files metadata is incorrect for pnj files

Open jacob-pro opened this issue 2 years ago • 1 comments

Describe the bug

According to the downloaded_media_files in the metadata the file name should be:

ae3e458520f44254b4c4a21e06670f5a.pnj.png

However the actually downloaded file has a different extension:

ae3e458520f44254b4c4a21e06670f5a.pnj.jpg

To Reproduce

I currently have "Download PNJ as" set to the default option of jpg.

However even with the png option there is still a similar problem - the extensions in the metadata do not match.

Expected behavior

downloaded_media_files should match the files on disk

Desktop:

  • TumblThree version: 2.10.1.391

Additional context

See also:

  • https://github.com/TumblThreeApp/TumblThree/issues/414
  • https://github.com/TumblThreeApp/TumblThree/discussions/286
  • https://github.com/TumblThreeApp/TumblThree/issues/231

jacob-pro avatar Mar 28 '23 00:03 jacob-pro

The normal case should be solved with commit f2688fd. The much rarer case that a png is requested but the server returns a jpg is harder to solve and still open.

thomas694 avatar Mar 29 '23 20:03 thomas694