git.cweiske.de
/
ouya-imagestore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
escape spaces in folders
[ouya-imagestore.git]
/
src
/
imagestore
/
Controller
/
Api
/
Playlists.php
diff --git
a/src/imagestore/Controller/Api/Playlists.php
b/src/imagestore/Controller/Api/Playlists.php
index effb90579b2ca3bf914a19b48671eb80df9db304..d35d7860ab12c61fb5eebaca321f144a6b224774 100644
(file)
--- 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(
foreach ($arDirs as $dirInfo) {
$uuid = str_replace(
- '/', '-.-', $this->getRelPath($dirInfo->getPathname())
+ array('/', ' '), array('-.-', '+'),
+ $this->getRelPath($dirInfo->getPathname())
);
$playlists->games[] = (object) array(
'content_rating' => 'Everyone',
);
$playlists->games[] = (object) array(
'content_rating' => 'Everyone',