Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Sony Ci webhook linking media to Assets is linking incorrect files, e.g. mediainfo XML #865

Closed
afred opened this issue Apr 19, 2024 · 0 comments · Fixed by #866
Closed
Assignees
Labels

Comments

@afred
Copy link
Contributor

afred commented Apr 19, 2024

Describe the bug

  • Sony Ci is configured to send a payload to /sony_ci/webhooks/save_sony_ci_id
  • Normally we follow a convention of naming files with teh AAPB_ID, e.g. cpb-aacip-123456789.mp4, and the webhook uses that convention to locate the appropriate AMS2 Asset to which to save the Sony Ci ID, which comes in as part of the POST payload to the webhook endpoint.
  • However, we've recently initiated a workflow that deposits other non-media files which also contain the AAPB ID

To Reproduce
Steps to reproduce the behavior:

  1. Upload a non-media file with an AMS2 AAPB_ID in the filename
  2. Go to AMS2 and see that it got linked to the Asset with the same AAPB_ID

Expected behavior
Webhook only does not link AMS2 Assets to Sony Ci files that are not media files.

@afred afred changed the title BUG: A BUG: Sony Ci webhook linking media to Assets is linking incorrect (media info XML files) Apr 19, 2024
@afred afred changed the title BUG: Sony Ci webhook linking media to Assets is linking incorrect (media info XML files) BUG: Sony Ci webhook linking media to Assets is linking incorrect files, e.g. mediainfo XML Apr 19, 2024
@afred afred self-assigned this Apr 23, 2024
@afred afred added the Bug label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant