diff --git a/airtime_mvc/application/services/PodcastService.php b/airtime_mvc/application/services/PodcastService.php index fdfff94fb..fee674377 100644 --- a/airtime_mvc/application/services/PodcastService.php +++ b/airtime_mvc/application/services/PodcastService.php @@ -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();