Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

AYON Chore: Do not use thumbnailSource for thumbnail integration#6063

Merged
iLLiCiTiT merged 1 commit intodevelopfrom
bugfix/integrate-thumbnail-does-not-use-thumbsource
Dec 19, 2023
Merged

AYON Chore: Do not use thumbnailSource for thumbnail integration#6063
iLLiCiTiT merged 1 commit intodevelopfrom
bugfix/integrate-thumbnail-does-not-use-thumbsource

Conversation

@iLLiCiTiT
Copy link
Copy Markdown
Member

@iLLiCiTiT iLLiCiTiT commented Dec 15, 2023

Changelog Description

Do not use thumbnailSource for thumbnail integration.

Additional info

The value of "thumbnailSource" is what should be used as source for "thumbnailPath", so it can be .exr, .mp4 etc. all of them are invalid for thumbnail. It looks like it was accidentaly used instead of thumbnailPath and nobody noticed...

OpenPype Note

I found out the logic how to determine what should be used as thumbnail is different in AYON and OpenPype integrator. Looks like the logic in OpenPype is quite old.

Steps to replicate issues

  • Open traypublisher
  • Select render
  • Pass as source file mp4 and use the same mp4 for review
  • Publish
  • Integrate thumbnail will probably crash because mp4 is invalid file for thumbnail

Testing notes:

  1. Thumbnail publishing should work as expected

@ynbot ynbot added type: bug Something isn't working size/XS Denotes a PR changes 0-99 lines, ignoring general files labels Dec 15, 2023
@iLLiCiTiT iLLiCiTiT requested a review from kalisp December 18, 2023 15:04
Copy link
Copy Markdown
Member

@m-u-r-p-h-y m-u-r-p-h-y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works as expected

published mp4 file as render (source + review)

image

@iLLiCiTiT iLLiCiTiT merged commit 4db853e into develop Dec 19, 2023
@iLLiCiTiT iLLiCiTiT deleted the bugfix/integrate-thumbnail-does-not-use-thumbsource branch December 19, 2023 10:24
@ynbot ynbot added this to the next-patch milestone Dec 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size/XS Denotes a PR changes 0-99 lines, ignoring general files target: AYON type: bug Something isn't working

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants