Fix itunes duration format in station podcast xml

This commit is contained in:
Duncan Sommerville 2015-11-17 11:53:02 -05:00
parent 9ddb33f2cd
commit 2523391d4d

View file

@ -437,7 +437,7 @@ class Application_Service_PodcastService
//itunes:explicit - skip this?
//itunes:duration
self::addEscapedChild($item, "xmlns:itunes:duration", $publishedFile->getDbLength());
self::addEscapedChild($item, "xmlns:itunes:duration", explode('.', $publishedFile->getDbLength())[0]);
}
return $xml->asXML();