Fix itunes duration format in station podcast xml
This commit is contained in:
parent
9ddb33f2cd
commit
2523391d4d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue