mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-01 01:15:18 +02:00
Update feedepisode psc customElement
This commit is contained in:
parent
6ed66fea16
commit
96825c3c2b
@ -607,7 +607,6 @@ class Feed extends Model {
|
|||||||
custom_namespaces: {
|
custom_namespaces: {
|
||||||
itunes: 'http://www.itunes.com/dtds/podcast-1.0.dtd',
|
itunes: 'http://www.itunes.com/dtds/podcast-1.0.dtd',
|
||||||
podcast: 'https://podcastindex.org/namespace/1.0',
|
podcast: 'https://podcastindex.org/namespace/1.0',
|
||||||
psc: 'http://podlove.org/simple-chapters',
|
|
||||||
googleplay: 'http://www.google.com/schemas/play-podcasts/1.0'
|
googleplay: 'http://www.google.com/schemas/play-podcasts/1.0'
|
||||||
},
|
},
|
||||||
custom_elements: customElements
|
custom_elements: customElements
|
||||||
|
@ -325,24 +325,6 @@ class FeedEpisode extends Model {
|
|||||||
customElements.push({ 'itunes:summary': { _cdata: this.description } })
|
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 {
|
return {
|
||||||
title: this.title,
|
title: this.title,
|
||||||
description: this.description || '',
|
description: this.description || '',
|
||||||
|
Loading…
Reference in New Issue
Block a user