This commit is contained in:
advplyr 2022-07-02 09:10:52 -05:00
commit 0a6aa43b07
3 changed files with 7 additions and 4 deletions

View File

@ -120,6 +120,9 @@ module.exports = {
sizes: "512x512"
}
]
},
workbox: {
enabled: false,
}
},

View File

@ -48,7 +48,7 @@
<template v-for="(item, index) in mostRecentListeningSessions">
<div :key="item.id" class="w-full py-0.5">
<div class="flex items-center mb-1">
<p class="text-sm font-book text-white text-opacity-70 w-6 truncate">{{ index + 1 }}.&nbsp;</p>
<p class="text-sm font-book text-white text-opacity-70 w-8">{{ index + 1 }}.&nbsp;</p>
<div class="w-56">
<p class="text-sm font-book text-white text-opacity-80 truncate">{{ item.mediaMetadata ? item.mediaMetadata.title : '' }}</p>
<p class="text-xs text-white text-opacity-50">{{ $dateDistanceFromNow(item.updatedAt) }}</p>

View File

@ -180,11 +180,11 @@ class BookFinder {
Logger.debug(`Book Search: title: "${title}", author: "${author}", provider: ${provider}`)
if (provider === 'google') {
books = this.getGoogleBooksResults(title, author)
books = await this.getGoogleBooksResults(title, author)
} else if (provider === 'audible') {
books = this.getAudibleResults(title, author, asin)
books = await this.getAudibleResults(title, author, asin)
} else if (provider === 'itunes') {
books = this.getiTunesAudiobooksResults(title, author)
books = await this.getiTunesAudiobooksResults(title, author)
} else if (provider === 'libgen') {
books = await this.getLibGenResults(title, author, maxTitleDistance, maxAuthorDistance)
} else if (provider === 'openlibrary') {