X-Git-Url: https://git.cweiske.de/noxon-gateway.git/blobdiff_plain/9967c9b7ad14516a95a5c408bc06e78bc2eeb75e..49f9d0097f92966d8d09cb8eb05708425ea3e5ab:/src/mediatomb.php diff --git a/src/mediatomb.php b/src/mediatomb.php index 33b9bd8..ffc123a 100644 --- a/src/mediatomb.php +++ b/src/mediatomb.php @@ -73,7 +73,7 @@ function mediatombAddFile(&$listItems, $item) if (!clientSupportsType($di->mimetype)) { //client wants transcoded file //noxon iRadio cube does not want to play .ogg files - if (isset($GLOBALS['cacheDir']) && $GLOBALS['cacheDir'] != '') { + if (isset($GLOBALS['enableCache']) && $GLOBALS['enableCache']) { $itemUrl = $host1 . 'transcode-cache.php' . '?url=' . urlencode($itemUrl); } else {