Update podcast rss feed parser to use psc chapters on episodes

This commit is contained in:
advplyr 2025-03-31 17:57:39 -05:00
parent ddcda197b4
commit 6ed66fea16
5 changed files with 102 additions and 2 deletions

View file

@ -325,6 +325,24 @@ class FeedEpisode extends Model {
customElements.push({ 'itunes:summary': { _cdata: this.description } })
}
customElements.push({
'psc:chapters': [
{
_attr: {
version: '1.2'
},
'psc:chapter': [
{
_attr: {
title: 'Test',
start: '00:00:00'
}
}
]
}
]
})
return {
title: this.title,
description: this.description || '',