git.cweiske.de
/
noxon-gateway.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix podcast redirection
[noxon-gateway.git]
/
src
/
podcasts.php
diff --git
a/src/podcasts.php
b/src/podcasts.php
index 68d133ce057f4dd34e581b39b852689bc7d7978d..bb8f5ce7d675988482cbfe2a4620b216701f3f5e 100644
(file)
--- a/
src/podcasts.php
+++ b/
src/podcasts.php
@@
-21,7
+21,6
@@
function sendPodcast($path)
$sx = simplexml_load_file($cacheFile);
$listItems = array();
$sx = simplexml_load_file($cacheFile);
$listItems = array();
- addPreviousItem($listItems, $path);
foreach ($sx->channel->item as $item) {
$title = (string) $item->title;
foreach ($sx->channel->item as $item) {
$title = (string) $item->title;
@@
-30,12
+29,12
@@
function sendPodcast($path)
$listItems[] = getEpisodeItem(
$title,
$listItems[] = getEpisodeItem(
$title,
- $host1 . '
play-url
?url=' . urlencode($url),
+ $host1 . '
deredirect.php
?url=' . urlencode($url),
$desc,
'MP3'
);
}
$desc,
'MP3'
);
}
- sendListItems($listItems);
+ sendListItems($listItems
, buildPreviousItem($path)
);
}
}