Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Jul 2, 2022
2 parents 806a8cf + 1a32fbf commit 0a6aa43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions client/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ module.exports = {
sizes: "512x512"
}
]
},
workbox: {
enabled: false,
}
},

Expand Down
2 changes: 1 addition & 1 deletion client/pages/config/stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions server/finders/BookFinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 0a6aa43

Please sign in to comment.