Ap15e;649582 Wrote: 
> 
> Albums
> *Artists
> Genres
> *Years
> Play lists
> Favorites
> Folders
> 
> Items marked with * don't work. 
> 
> Error messages:
> 
> Can't read the media directory on ...
> Invalid device response
> with:
> Connection to ...:31416 refused
> or
> List index out of bounds (261). (UPnP Error U0501).
> I had some offline discussions with Ap15e and with his kind help we
discovered that the problem is because when Whitbear issues a query to
Squeezebox Server CLI with "artists 0 300" the latter returns the entry
"id%3A3123 artist%3AVarious%20Artists" two times in its response. 

In the case of Ap15e he has 262 artist entries in his artist database
so  Whitebear thinks it must pass on 262 items to the Android UPnP
control point. But since Various Artists is a duplicate, the second
copy gets eliminated, and so there are finally only 261 items in the
list. This explains why Ap15e sees the error when Whitebear trips over
the no longer existent index 261 entry...

It is a mystery to me why the Squeezebox Server CLI makes a duplicate
of Various Artists. Perhaps it is because Ap15e has an actual artist
called Various Artists, and he also has compilation albums that
Squeezebox Server names as by Various Artists, and therefore perhaps
Squeezebox Server is not clever enough to know that these two are in
fact the same name ???

=> This is clearly a bug in Squeezebox Server.

However, now that I know about it, I can modify Whitebear to work
around this problem.

I am guessing the problem with the "years" folder is due to a similar
duplication. (Perhaps this time between the explicit year "0" and the
implicit "no year" = 0 ...)


-- 
AndrewFG

Regards,
AndrewFG

Try out Whitebear. The middleware that joins the two worlds of:
1. UPnP/DLNA media clients and media players, and,
2. Squeezebox Server and Squeeze Players
Download it for free here: http://www.whitebear.ch/mediaserver
------------------------------------------------------------------------
AndrewFG's Profile: http://forums.slimdevices.com/member.php?userid=15838
View this thread: http://forums.slimdevices.com/showthread.php?t=87559

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to