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