mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-07 04:19:41 +00:00
CoverSearchManager: Fix broken podcast cover search
This commit is contained in:
parent
3f6162f53c
commit
0a82d6a41b
1 changed files with 3 additions and 0 deletions
|
|
@ -224,6 +224,9 @@ class CoverSearchManager {
|
|||
if (!Array.isArray(results)) return covers
|
||||
|
||||
results.forEach((result) => {
|
||||
if (typeof result === 'string') {
|
||||
covers.push(result)
|
||||
}
|
||||
if (result.covers && Array.isArray(result.covers)) {
|
||||
covers.push(...result.covers)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue