Re: dynamic containers issue



Hi,

On Fri, May 14, 2010 at 2:15 AM, Juan A. Suarez Romero
<jasuarez igalia com> wrote:
> On Thu, 2010-05-13 at 23:27 +0300, Zeeshan Ali (Khattak) wrote:
>> 1. UPnP specific issue: UPnP does not take into account such
>> containers and whenever each container changes, it must signal that
>> and the clients are supposed to update their views (if any) to the
>> container. Because of this it is mandatory to provide the correct
>> value for this property if/when a client asks for it.
>
> Sorry, I don't get what the problem is, actually. What is the
> relationship between ChildCount, Update signal and dynamic containers?
> Could you show an example?

  It could be just that I misunderstood what you meant by 'dynamic' in
our IRC discussion. See below:

>> 2. Generic issue: If the containers are so dynamic, how is the client
>> (e.g totem) going to do incremental browsing? The current browsing API
>> that we have agreed on, requires the container's children to remain
>> not only the same but also in the same order unless the changes are
>> explicitly signaled.
>
> Well, "dynamic" doesn't mean that it changes very frequently. In fact,
> some plugins, like Jamendo, change weekly, and others changes with more
> frequency, like Youtube.

  In that case I just misunderstood and my concerns are misplaced. The
only question that remains is then whether you want me to implement
the ChildCount (actually ContainerCount & ItemCount) in rygel or you
want to handle that in rygel-grilo? At first thought, it seems correct
to do so in rygel as this issue is (at least currently) specific to
UPnP but when you think about implementation details, you realize that
it will be inefficient to do it in rygel.

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124


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