mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +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) {
|
||||
// TODO: differentiate video from soundbites?
|
||||
$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));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user