X-Git-Url: https://git.cweiske.de/ouya-imagestore.git/blobdiff_plain/37822ad4576d5d665e5ce778c1288f8c10ec6301..c706938dba93562cfea0c0932942510e9dfff750:/src/imagestore/Controller/Api/Playlists.php diff --git a/src/imagestore/Controller/Api/Playlists.php b/src/imagestore/Controller/Api/Playlists.php index effb905..d35d786 100644 --- a/src/imagestore/Controller/Api/Playlists.php +++ b/src/imagestore/Controller/Api/Playlists.php @@ -39,7 +39,8 @@ class Controller_Api_Playlists extends Controller_Api_ImageBase foreach ($arDirs as $dirInfo) { $uuid = str_replace( - '/', '-.-', $this->getRelPath($dirInfo->getPathname()) + array('/', ' '), array('-.-', '+'), + $this->getRelPath($dirInfo->getPathname()) ); $playlists->games[] = (object) array( 'content_rating' => 'Everyone',