This is a weird one and it actually causes problems for dLeyna-control.
There is no ".." entry as we are in the root directory.
The '..' is there. Clicking on it causes an exception.
This seems to be a bug in the implementation of MediaObject2.get_prop. Have a look at this log from mediaconsole.
>>> root = Device("/com/intel/dLeynaServer/server/1")
>>> root.print_props()
{
"ChildCount": 2,
"ContainerUpdateID": 0,
"CreateClasses": [],
"Creator": "Unknown",
"DLNAManaged": {
"ChangeMeta": 0,
"CreateContainer": 0,
"Delete": 0,
"Upload": 0,
"UploadDelete": 0
},
"DeviceType": "urn:schemas-upnp-org:device:MediaServer:1",
"DisplayName": "Root",
"FriendlyName": "XBMC (mryan6dev)",
"IconURL": "http://192.168.1.143:60639/images/platinum-48x48.png",
"Location": "http://192.168.1.143:60639/DeviceDescription.xml",
"Manufacturer": "Team XBMC",
"ManufacturerUrl": "http://www.xbmc.org/",
"ModelDescription": "XBMC Media Center - Media Server",
"ModelName": "XBMC Media Center",
"ModelNumber": "1.0",
"ModelURL": "http://www.xbmc.org/",
"ObjectUpdateID": 0,
"Parent": "/com/intel/dLeynaServer/server/1",
"Path": "/com/intel/dLeynaServer/server/1",
"PresentationURL": "http://192.168.1.143:8080/",
"Restricted": 1,
"SearchCaps": [],
"Searchable": 1,
"SerialNumber": "",
"SortCaps": [],
"SystemUpdateID": 0,
"TotalDeletedChildCount": 0,
"Type": "container",
"UDN": "uuid:9b96484f-13b7-f0fe-e492-7aff83c28c51"
}
>>> root.get_prop("Parent")
dbus.String(u'/com/intel/dLeynaServer/server/1/', variant_level=1)
>>> root.get_prop("Path")
dbus.String(u'/com/intel/dLeynaServer/server/1', variant_level=1)
Note that the parent path reported by root.get_prop("Parent") is incorrect. It has a trailing '/'. This '/' is not present when you do a root.print_props. Also, it is only present for XBMC. It is not present for Rygel. I haven't explored why this is the case. The creates problems for dLeyna-control which performs a comparison between Parent and Path to determine whether the user is browsing the root directory.