mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-29 13:32:02 +00:00
fix(podcast:soundbite): rename start time attribute to follow spec
This commit is contained in:
parent
6e4045bb0d
commit
689831c26c
@ -370,7 +370,7 @@ if (! function_exists('get_rss_feed')) {
|
|||||||
foreach ($episode->soundbites as $soundbite) {
|
foreach ($episode->soundbites as $soundbite) {
|
||||||
// TODO: differentiate video from soundbites?
|
// TODO: differentiate video from soundbites?
|
||||||
$soundbiteElement = $item->addChild('soundbite', $soundbite->title, $podcastNamespace);
|
$soundbiteElement = $item->addChild('soundbite', $soundbite->title, $podcastNamespace);
|
||||||
$soundbiteElement->addAttribute('start_time', (string) $soundbite->start_time);
|
$soundbiteElement->addAttribute('startTime', (string) $soundbite->start_time);
|
||||||
$soundbiteElement->addAttribute('duration', (string) round($soundbite->duration, 3));
|
$soundbiteElement->addAttribute('duration', (string) round($soundbite->duration, 3));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user