mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-17 14:51:55 +00:00
Added block tags based on Patreon private rss feed
This commit is contained in:
parent
8c84640484
commit
50512ef09e
1 changed files with 5 additions and 2 deletions
|
|
@ -47,7 +47,8 @@ class FeedMeta {
|
||||||
custom_namespaces: {
|
custom_namespaces: {
|
||||||
'itunes': 'http://www.itunes.com/dtds/podcast-1.0.dtd',
|
'itunes': 'http://www.itunes.com/dtds/podcast-1.0.dtd',
|
||||||
'psc': 'http://podlove.org/simple-chapters',
|
'psc': 'http://podlove.org/simple-chapters',
|
||||||
'podcast': 'https://podcastindex.org/namespace/1.0'
|
'podcast': 'https://podcastindex.org/namespace/1.0',
|
||||||
|
'googleplay': 'http://www.google.com/schemas/play-podcasts/1.0'
|
||||||
},
|
},
|
||||||
custom_elements: [
|
custom_elements: [
|
||||||
{ 'author': this.author || 'advplyr' },
|
{ 'author': this.author || 'advplyr' },
|
||||||
|
|
@ -68,7 +69,9 @@ class FeedMeta {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"itunes:explicit": !!this.explicit
|
"itunes:explicit": !!this.explicit
|
||||||
}
|
},
|
||||||
|
{ 'itunes:block': 'Yes' },
|
||||||
|
{ 'googleplay:block': 'yes' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue