The video is indeed present in the feed, and from the screenshot, USC is finding the video_embedded_html_url [1], but software-center-agent doesn't think the url is correct and instead renders a 404 with "The requested video is not available".
The reason is that SCA doesn't think the sha1 is a hash of the URL, and indeed it's not [2]. Manually constructing the url which should be published with the correct hash does indeed work [3].
So, why is the video url not matching the hash... from a quick look at the code, it looks to be fallout from a recent-ish change we made to only update the approved changes (Application.request_changes and Application._apply_immediate_changes). This would mean that the published video_urls attribute was updated from a previous value, but without updating the published video_embedded_html_urls. Indeed, I can verify this is the case because checking for older videos for zeegaree on vimeo, you can see that one from 4 months ago matches the hash [4].
The video is indeed present in the feed, and from the screenshot, USC is finding the video_embedded_ html_url [1], but software- center- agent doesn't think the url is correct and instead renders a 404 with "The requested video is not available".
The reason is that SCA doesn't think the sha1 is a hash of the URL, and indeed it's not [2]. Manually constructing the url which should be published with the correct hash does indeed work [3].
So, why is the video url not matching the hash... from a quick look at the code, it looks to be fallout from a recent-ish change we made to only update the approved changes (Application. request_ changes and Application. _apply_ immediate_ changes) . This would mean that the published video_urls attribute was updated from a previous value, but without updating the published video_embedded_ html_urls. Indeed, I can verify this is the case because checking for older videos for zeegaree on vimeo, you can see that one from 4 months ago matches the hash [4].
[1] https:/ /myapps. developer. ubuntu. com/dev/ apps/1623/ video/6d6550441 e87c8c43b69e9ea eedaf49e9dce610 c/ vimeo.com/ 65380474' ).hexdigest() bf4d8cd4a35be72 f071a8e8228' /myapps. developer. ubuntu. com/dev/ apps/1623/ video/d3b70b400 8f035bf4d8cd4a3 5be72f071a8e822 8/ vimeo.com/ 62694828' ).hexdigest() 8c43b69e9eaeeda f49e9dce610c'
[2] hashlib.sha1('http://
'd3b70b4008f035
[3] https:/
[4] hashlib.sha1('http://
'6d6550441e87c