foreach ($arDirs as $dirInfo) {
$uuid = str_replace(
- '/', '-.-', $this->getRelPath($dirInfo->getPathname())
+ array('/', ' '), array('-.-', '+'),
+ $this->getRelPath($dirInfo->getPathname())
);
$playlists->games[] = (object) array(
'content_rating' => 'Everyone',
- 'image' => $this->getImageUrl($this->getFirstImage($dirInfo)),
+ 'image' => $this->getImageUrl($this->getFirstImage($dirInfo))
+ . '&w=400',
'title' => basename($dirInfo->getPathname()),
'uuid' => $uuid,
'version' => '11111111-0000-1111-0000-111111111111',