extract($mediatomb);
$smt = new Services_MediaTomb($user, $pass, $host, $port);
- $path = substr($fullPath, strlen($prefix));
+ $path = substr(urldecode($fullPath), strlen($prefix));
$container = $smt->getContainerByPath($path);
$listItems = array();
addPreviousItem($listItems, $fullPath);
foreach ($container->getContainers() as $subContainer) {
$listItems[] = getDirItem(
$subContainer->title,
- $fullPath . $subContainer->title . '/'
+ $fullPath . urlencode($subContainer->title) . '/'
);
}