Re: media_from_site API



El vie, 10-12-2010 a las 11:05 +0100, Juan A. Suarez Romero escribió:
> On Fri, 2010-12-10 at 10:33 +0100, Iago Toral Quiroga wrote:
> > Also, I was wondering, in the case we want to do a really generic API
> > should we not support thinkgs like this?:
> > 
> > Artist: X, Album: Y
> > 
> > Which is a 1:N relation (unlike the URI, which is alwaya 1:1). The
> > result would not be one media, but a collection of them, in which case
> > the behaviour would be more like that of browse/search instead of
> > metadata. If we are really interested in having a generic API for
> > reverse resolution we should do this instead.
> 
> 
> Of course we can do it. But I prefer to focus only in 1:1 relations, in
> order to avoid to be too much general, which would make the usage (and
> implementation) more complicated.
> 

But then we are not trying to be very generic I think and in that case I
would not go for a more generic API that does not have clear use cases
other than the URI case, which was the point I was making.

Iago



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