Hi Chris,

> Is there a more solid distribution API that we can put in front of all
> distribution impls?  e.g. I could see the admin ui pointing to places
> in youtube, all it means is that when publish(media,metadata,etc) is
> called it returns a URL.  If no url, no play link.  If url, link play
> to that.
> 
> Have our cake and eat it too?

that may be more than one can suggest (unless you Canadians have extra strong 
stomachs :-)

The point here is that a workflow only has a reference to the mediapackage that 
it was processing *at that time*. The problem is, that in the meantime (while 
you are still looking at that one workflow), another workflow might have been 
kicked off to remove all the distribution formats that had previously been 
there. Essentially this means that the mediapackage as it is stored within a 
workflow may be outdated, and displaying "play" links will get you a 404.

This is at least true for the workflow list view, where we cannot (for 
performance reason) look at the most recent mediapackage for each workflow to 
determine whether we should display such a "play" link. When we are diving into 
a detail view of the media package, it's a different story, there we have the 
time to do a lookup and see what the most recent version of the mediapackage 
looks like.

For these reasons, sending the user to the episode view, where the most recent 
version of the media package is stored, makes the most sense to me. But adding 
those links to a detail/inspector view in the workflow ui is fine as well.

Tobias
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to