mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-24 04:39:40 +00:00
Resolve @advplyr's feedback
Add 'itunes' tag to 'season' and fix display formating
This commit is contained in:
parent
cc285bb685
commit
6b98baafdf
2 changed files with 5 additions and 5 deletions
|
|
@ -85,7 +85,7 @@ function extractEpisodeData(item) {
|
|||
episode.descriptionPlain = stripHtml(episode.description || '').result
|
||||
}
|
||||
|
||||
var arrayFields = ['title', 'pubDate', 'itunes:episodeType', 'season', 'itunes:episode', 'itunes:author', 'itunes:duration', 'itunes:explicit', 'itunes:subtitle']
|
||||
var arrayFields = ['title', 'pubDate', 'itunes:episodeType', 'itunes:season', 'itunes:episode', 'itunes:author', 'itunes:duration', 'itunes:explicit', 'itunes:subtitle']
|
||||
arrayFields.forEach((key) => {
|
||||
var cleanKey = key.split(':').pop()
|
||||
episode[cleanKey] = extractFirstArrayItem(item, key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue