diff --git a/global.ini b/global.ini index 7905429..367cc98 100644 --- a/global.ini +++ b/global.ini @@ -1,6 +1,6 @@ [config] ; Public URL to this folder incl. trailing slash(!) -base_url = "https://rpi4.mbirth.de/bassdrive-rss/" +base_url = "https://rpi4.mbirth.uk/bassdrive-rss/" ; Used for schedule times of shows time_zone = "America/Chicago" diff --git a/lib/RSSGenerator.php b/lib/RSSGenerator.php index c523db9..b759c2a 100644 --- a/lib/RSSGenerator.php +++ b/lib/RSSGenerator.php @@ -135,6 +135,7 @@ class RSSGenerator $channel->appendChild($dom->createElement('itunes:explicit', $this->show_conf['show']['explicit'])); $channel->appendChild($dom->createElement('itunes:complete', $this->show_conf['show']['complete'])); $channel->appendChild($dom->createElement('itunes:type', $this->show_conf['show']['type'])); + $channel->appendChild($dom->createElement('itunes:new-feed-url', str_replace('mbirth.de', 'mbirth.uk', $this->self_url))); //$s_limit = $dom->createElement('spotify:limit'); //$s_limit->appendChild(new DOMAttr('recentCount', '3')); // At most this number of episodes appear in the client