2012-11-22, 14:41
Forgive me for jumping in here - I'm the one who's experiencing the problem.
For some reason, accessing a UPnP library through the XBMC Yatse remote does not retrieve the contents of the folder, whereas using the keybaord does. If the contents of a directory have been accessed first by keyboard, these appear to be cached, and then these do appear through a JSON list. Similarly if a directory is listed first through JSON, no results are found and if the same directory is listed subsequently using the keyboard, the empty (assumed cached?) list is displayed.
I posted a big log file which would take time to search through so thought I'd pull out what might be two key parts of it.
First of all, a directly listing using the keyboard - this action successfully listed the folder.
18:06:15 T:3656 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
18:06:15 T:3656 DEBUG: CGUIMediaWindow::GetDirectory (upnp://F74F86F9-6610-4078-B847-2EC489C76098/r/)
18:06:15 T:3656 DEBUG: ParentPath = [upnp://F74F86F9-6610-4078-B847-2EC489C76098/]
18:06:15 T:3656 DEBUG: RetrieveMusicInfo() took 0 msec
Then, a request to list a different UPnP folder from the same UPnP source using the Yatse remote a minute later, in the same XBMC session
18:07:02 T:52 DEBUG: JSONRPC: Incoming request: {"id":1,"jsonrpc":"2.0","method":"Files.GetDirectory","params":{"media":"music","directory":"upnp:\/\/F74F86F9-6610-4078-B847-2EC489C76098\/","sort":{"order":"ascending","method":"label"},"properties":["title","thumbnail","fanart","rating","genre","artist","track","season","episode","year","duration","album","showtitle","playcount","file"]}}
18:07:02 T:52 DEBUG: JSONRPC: Calling files.getdirectory
18:07:02 T:52 DEBUG: CUtil::GetMatchingSource: no matching source found for [upnp://F74F86F9-6610-4078-B847-2EC489C76098/]
18:07:02 T:52 DEBUG: Previous line repeats 2 times.
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object t
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object r
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object c
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object v
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object a
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object p
Hopefully this illustrates that the results of the operation differ, depending on the method used.
I'm around these boards a bit and can happily test some more if it would help.
For some reason, accessing a UPnP library through the XBMC Yatse remote does not retrieve the contents of the folder, whereas using the keybaord does. If the contents of a directory have been accessed first by keyboard, these appear to be cached, and then these do appear through a JSON list. Similarly if a directory is listed first through JSON, no results are found and if the same directory is listed subsequently using the keyboard, the empty (assumed cached?) list is displayed.
I posted a big log file which would take time to search through so thought I'd pull out what might be two key parts of it.
First of all, a directly listing using the keyboard - this action successfully listed the folder.
18:06:15 T:3656 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
18:06:15 T:3656 DEBUG: CGUIMediaWindow::GetDirectory (upnp://F74F86F9-6610-4078-B847-2EC489C76098/r/)
18:06:15 T:3656 DEBUG: ParentPath = [upnp://F74F86F9-6610-4078-B847-2EC489C76098/]
18:06:15 T:3656 DEBUG: RetrieveMusicInfo() took 0 msec
Then, a request to list a different UPnP folder from the same UPnP source using the Yatse remote a minute later, in the same XBMC session
18:07:02 T:52 DEBUG: JSONRPC: Incoming request: {"id":1,"jsonrpc":"2.0","method":"Files.GetDirectory","params":{"media":"music","directory":"upnp:\/\/F74F86F9-6610-4078-B847-2EC489C76098\/","sort":{"order":"ascending","method":"label"},"properties":["title","thumbnail","fanart","rating","genre","artist","track","season","episode","year","duration","album","showtitle","playcount","file"]}}
18:07:02 T:52 DEBUG: JSONRPC: Calling files.getdirectory
18:07:02 T:52 DEBUG: CUtil::GetMatchingSource: no matching source found for [upnp://F74F86F9-6610-4078-B847-2EC489C76098/]
18:07:02 T:52 DEBUG: Previous line repeats 2 times.
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object t
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object r
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object c
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object v
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object a
18:07:02 T:52 ERROR: CUPnPDirectory::GetResource - no resources returned for object p
Hopefully this illustrates that the results of the operation differ, depending on the method used.
I'm around these boards a bit and can happily test some more if it would help.