Re: API update proposal: cancellation notification



On Mon, 2011-01-24 at 15:13 +0000, Iago Toral wrote:
>  I guess this second "con" is big enough to discard this idea.
>  However, we could have a new parameter (a boolean maybe) to give
> this 
>  information.

I think it can be done without a new parameter.

When invoked metadata() with a media, it is expected that the callback
is invoked with the same media updated. If media was already up-to-date,
the media in the callback will remain unchanged.

We can use a NULL media to state that the operation was cancelled, and
thus there is no media to update.


	J.A.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]