View Issue Details

IDProjectCategoryView StatusLast Update
0006867MMW v4Otherpublic2011-02-16 01:50
Reporterrusty Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version4.0 
Target Version4.0Fixed in Version4.0 
Summary0006867: UPnP: all nodes are displayed with an expansion indicator
DescriptionWhen MM is used to browse a UPnP server, it displays all nodes with an indicator that it contains child nodes, even though no child nodes exist.

e.g. Click Artists node --> All Artists are preceded with an icon indicating that child folders exist even though NO child folders exist.
TagsNo tags attached.
Fixed in build1349

Activities

jiri

2010-12-07 08:07

administrator   ~0021644

I'm not sure whether this can be implemented without a serious performance hit, Ludek can you confirm whether the UPnP interface returns such an info?

I tried to compare to WMP, but it seems to have somehow specific approach to UPnP and shows only some root-level nodes, i.e. it doesn't show all the hierarchy MM provides.

Ludek

2010-12-20 21:32

developer   ~0021982

Last edited: 2011-02-10 15:37

Generally it is problem, if childCount="0" then we might not show the expansion incicator, but if childCount is undefined then we cannot do much about this without a performance impacts (by reading all children)

As you mentioned, WMP solves it by scanning (caching) all content and builds own hierarchy (without respecting server hierarchy), but it brings some others problems and it is actually the only UPnP/DLNA client I know that acts like this

Clients like XBMC solves it by presenting the items like directories in Total Commander, i.e.
[..]
Directory1
Directory2
so they don't care whether the directories are empty or not

Ludek

2011-02-10 15:34

developer   ~0023003

Last edited: 2011-02-10 15:36

Fixed in build 1349:
Implemented based on the childCount="0" attribute, if the server provides this attribute (like tVersity) then if childCount="0" we do not show the expansion indicator. But if the server doesn't provide the info (like XBMC) than we can hardly to something about it without a serious performance hit.

BTW: I also implemented providing of the childCount attribute to the MediaMonkey server so that it reports childCount="0" whenever it knows that there is no child node to be added.
i.e. nodes like "Music->Rating->5.0 stars", "Music->Album->10000 Hz Legend" doesn't show the expansion indicator anymore for MediaMonkey Server

lowlander

2011-02-16 01:50

developer   ~0023130

Verified in 1349 on MediaMonkey with MediaMonkey Server.