Fix Upload Lookup

This commit is contained in:
Finn Dittmar
2025-11-29 11:02:42 +01:00
parent d8e272e091
commit a5d2c1bd64
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -428,7 +428,7 @@ class BookFinder {
}
}
if (books.length) {
if (books.length && libraryItem) {
const isAudibleProvider = provider.startsWith('audible')
const libraryItemDurationMinutes = libraryItem?.media?.duration ? libraryItem.media.duration / 60 : null