//default configuration values
$GLOBALS['baseUrl'] = 'http://ouya.cweiske.de/';
+$GLOBALS['categorySubtitles'] = [];
$GLOBALS['packagelists'] = [];
$GLOBALS['urlRewrites'] = [];
$cfgFile = __DIR__ . '/../config.php';
'rows' => [],
'tiles' => [],
];
+ if (isset($GLOBALS['categorySubtitles'][$name])) {
+ $data['stouyapi']['subtitle'] = $GLOBALS['categorySubtitles'][$name];
+ }
if (count($games) >= 20) {
addDiscoverRow(
$iaUrl = dirname($game->latestRelease->url) . '/';
}
+ $description = $game->description;
+ if (isset($game->notes) && trim($game->notes)) {
+ $description = "Technical notes:\r\n" . $game->notes
+ . "\r\n----\r\n"
+ . $description;
+ }
+
// http://cweiske.de/ouya-store-api-docs.htm#get-https-devs-ouya-tv-api-v1-details
$data = [
'type' => 'Game',
'title' => $game->title,
- 'description' => $game->description,
+ 'description' => $description,
'gamerNumbers' => $game->players,
'genres' => $game->genres,