Skip to content

Commit

Permalink
Version bump 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Oct 2, 2022
1 parent c254dc5 commit 803c969
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 14 deletions.
2 changes: 1 addition & 1 deletion client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
@@ -1,6 +1,6 @@
{
"name": "audiobookshelf-client",
"version": "2.1.5",
"version": "2.2.0",
"description": "Self-hosted audiobook and podcast client",
"main": "index.js",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions client/pages/audiobook/_id/manage.vue
Expand Up @@ -91,6 +91,14 @@
A backup of your original audio files will be stored in <span class="rounded-md bg-neutral-600 text-sm text-white py-0.5 px-1 font-mono">/metadata/cache/items/{{ libraryItemId }}/</span>. Make sure to periodically purge items cache.
</p>
</div>
<div v-if="selectedTool === 'm4b'" class="flex items-start mb-2">
<span class="material-icons text-base text-warning pt-1">star</span>
<p class="text-gray-200 ml-2">Encoding can take up to 30 minutes.</p>
</div>
<div v-if="selectedTool === 'm4b'" class="flex items-start mb-2">
<span class="material-icons text-base text-warning pt-1">star</span>
<p class="text-gray-200 ml-2">If you have the watcher disabled you will need to re-scan this audiobook afterwards.</p>
</div>
<div class="flex items-start mb-2">
<span class="material-icons text-base text-warning pt-1">star</span>
<p class="text-gray-200 ml-2">Once the task is started you can navigate away from this page.</p>
Expand Down
4 changes: 2 additions & 2 deletions client/pages/config/index.vue
Expand Up @@ -193,15 +193,15 @@
</ui-tooltip>
</div>

<div class="flex items-center py-2">
<!-- <div class="flex items-center py-2">
<ui-toggle-switch v-model="newServerSettings.scannerUseTone" :disabled="updatingServerSettings" @input="(val) => updateSettingsKey('scannerUseTone', val)" />
<ui-tooltip text="Tone library for metadata">
<p class="pl-4">
Use Tone library for metadata
<span class="material-icons icon-text text-sm">info_outlined</span>
</p>
</ui-tooltip>
</div>
</div> -->
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "audiobookshelf",
"version": "2.1.5",
"version": "2.2.0",
"description": "Self-hosted audiobook and podcast server",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -38,4 +38,4 @@
"socket.io": "^4.4.1",
"xml2js": "^0.4.23"
}
}
}
13 changes: 7 additions & 6 deletions server/scanner/MediaFileScanner.js
Expand Up @@ -60,12 +60,13 @@ class MediaFileScanner {
var probeStart = Date.now()

var probeData = null
if (global.ServerSettings.scannerUseTone) {
Logger.debug(`[MediaFileScanner] using tone to probe audio file "${libraryFile.metadata.path}"`)
probeData = await toneProber.probe(libraryFile.metadata.path, true)
} else {
probeData = await prober.probe(libraryFile.metadata.path, verbose)
}
// TODO: Temp not using tone for probing until more testing can be done
// if (global.ServerSettings.scannerUseTone) {
// Logger.debug(`[MediaFileScanner] using tone to probe audio file "${libraryFile.metadata.path}"`)
// probeData = await toneProber.probe(libraryFile.metadata.path, true)
// } else {
probeData = await prober.probe(libraryFile.metadata.path, verbose)
// }

if (probeData.error) {
Logger.error(`[MediaFileScanner] ${probeData.error} : "${libraryFile.metadata.path}"`)
Expand Down

0 comments on commit 803c969

Please sign in to comment.