Fix Upload Lookup

This commit is contained in:
Finn Dittmar 2025-11-29 11:02:42 +01:00
parent d8e272e091
commit a5d2c1bd64
No known key found for this signature in database
GPG key ID: A630219F715A1D1E
2 changed files with 3 additions and 3 deletions

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