mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-11-07 16:44:16 +01:00
Merge branch 'master' into auth_passportjs
This commit is contained in:
commit
2662e8f715
@ -89,7 +89,7 @@
|
||||
|
||||
<!-- Series name overlay -->
|
||||
<div v-if="booksInSeries && libraryItem && isHovering" class="w-full h-full absolute top-0 left-0 z-10 bg-black bg-opacity-60 rounded flex items-center justify-center" :style="{ padding: sizeMultiplier + 'rem' }">
|
||||
<p class="text-gray-200 text-center" :style="{ fontSize: 1.1 * sizeMultiplier + 'rem' }">{{ series }}</p>
|
||||
<p v-if="seriesName" class="text-gray-200 text-center" :style="{ fontSize: 1.1 * sizeMultiplier + 'rem' }">{{ seriesName }}</p>
|
||||
</div>
|
||||
|
||||
<!-- Error widget -->
|
||||
@ -218,6 +218,9 @@ export default {
|
||||
// Only included when filtering by series or collapse series or Continue Series shelf on home page
|
||||
return this.mediaMetadata.series
|
||||
},
|
||||
seriesName() {
|
||||
return this.series?.name || null
|
||||
},
|
||||
seriesSequence() {
|
||||
return this.series?.sequence || null
|
||||
},
|
||||
|
@ -33,8 +33,10 @@
|
||||
</div>
|
||||
|
||||
<div class="flex pt-2 px-2">
|
||||
<ui-btn type="button" @click="searchAuthor">{{ $strings.ButtonQuickMatch }}</ui-btn>
|
||||
<ui-btn v-if="userCanDelete" small color="error" type="button" @click.stop="removeClick">{{ $strings.ButtonRemove }}</ui-btn>
|
||||
<div class="flex-grow" />
|
||||
<ui-btn type="button" class="mx-2" @click="searchAuthor">{{ $strings.ButtonQuickMatch }}</ui-btn>
|
||||
|
||||
<ui-btn type="submit">{{ $strings.ButtonSave }}</ui-btn>
|
||||
</div>
|
||||
</div>
|
||||
@ -91,6 +93,9 @@ export default {
|
||||
},
|
||||
libraryProvider() {
|
||||
return this.$store.getters['libraries/getLibraryProvider'](this.currentLibraryId) || 'google'
|
||||
},
|
||||
userCanDelete() {
|
||||
return this.$store.getters['user/getUserCanDelete']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@ -100,6 +105,31 @@ export default {
|
||||
this.authorCopy.description = this.author.description
|
||||
this.authorCopy.imagePath = this.author.imagePath
|
||||
},
|
||||
removeClick() {
|
||||
const payload = {
|
||||
message: this.$getString('MessageConfirmRemoveAuthor', [this.author.name]),
|
||||
callback: (confirmed) => {
|
||||
if (confirmed) {
|
||||
this.processing = true
|
||||
this.$axios
|
||||
.$delete(`/api/authors/${this.authorId}`)
|
||||
.then(() => {
|
||||
this.$toast.success('Author removed')
|
||||
this.show = false
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error('Failed to remove author', error)
|
||||
this.$toast.error('Failed to remove author')
|
||||
})
|
||||
.finally(() => {
|
||||
this.processing = false
|
||||
})
|
||||
}
|
||||
},
|
||||
type: 'yesNo'
|
||||
}
|
||||
this.$store.commit('globals/setConfirmPrompt', payload)
|
||||
},
|
||||
async submitForm() {
|
||||
var keysToCheck = ['name', 'asin', 'description', 'imagePath']
|
||||
var updatePayload = {}
|
||||
|
@ -205,7 +205,7 @@ export default {
|
||||
processing: Boolean,
|
||||
libraryItem: {
|
||||
type: Object,
|
||||
default: () => {}
|
||||
default: () => { }
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@ -305,7 +305,7 @@ export default {
|
||||
const filterData = this.$store.state.libraries.filterData || {}
|
||||
const currentGenres = filterData.genres || []
|
||||
const selectedMatchGenres = this.selectedMatch.genres || []
|
||||
return [...new Set([...currentGenres ,...selectedMatchGenres])]
|
||||
return [...new Set([...currentGenres, ...selectedMatchGenres])]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@ -325,9 +325,9 @@ export default {
|
||||
}
|
||||
},
|
||||
getSearchQuery() {
|
||||
if (this.isPodcast) return `term=${this.searchTitle}`
|
||||
var searchQuery = `provider=${this.provider}&fallbackTitleOnly=1&title=${this.searchTitle}`
|
||||
if (this.searchAuthor) searchQuery += `&author=${this.searchAuthor}`
|
||||
if (this.isPodcast) return `term=${encodeURIComponent(this.searchTitle)}`
|
||||
var searchQuery = `provider=${this.provider}&fallbackTitleOnly=1&title=${encodeURIComponent(this.searchTitle)}`
|
||||
if (this.searchAuthor) searchQuery += `&author=${encodeURIComponent(this.searchAuthor)}`
|
||||
return searchQuery
|
||||
},
|
||||
submitSearch() {
|
||||
@ -580,6 +580,7 @@ export default {
|
||||
.matchListWrapper {
|
||||
height: calc(100% - 124px);
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.matchListWrapper {
|
||||
height: calc(100% - 80px);
|
||||
|
@ -20,7 +20,7 @@
|
||||
<p class="px-1 text-sm font-semibold">{{ $strings.LabelFolders }}</p>
|
||||
<div v-for="(folder, index) in folders" :key="index" class="w-full flex items-center py-1 px-2">
|
||||
<span class="material-icons bg-opacity-50 mr-2 text-yellow-200" style="font-size: 1.2rem">folder</span>
|
||||
<ui-editable-text ref="folderInput" v-model="folder.fullPath" readonly type="text" class="w-full" />
|
||||
<ui-editable-text ref="folderInput" v-model="folder.fullPath" :readonly="!!folder.id" type="text" class="w-full" @blur="existingFolderInputBlurred(folder)" />
|
||||
<span v-show="folders.length > 1" class="material-icons text-2xl ml-2 cursor-pointer hover:text-error" @click="removeFolder(folder)">close</span>
|
||||
</div>
|
||||
<div class="flex py-1 px-2 items-center w-full">
|
||||
@ -67,10 +67,6 @@ export default {
|
||||
value: 'podcast',
|
||||
text: this.$strings.LabelPodcasts
|
||||
}
|
||||
// {
|
||||
// value: 'music',
|
||||
// text: 'Music'
|
||||
// }
|
||||
]
|
||||
},
|
||||
folderPaths() {
|
||||
@ -110,6 +106,11 @@ export default {
|
||||
formUpdated() {
|
||||
this.$emit('update', this.getLibraryData())
|
||||
},
|
||||
existingFolderInputBlurred(folder) {
|
||||
if (!folder.fullPath) {
|
||||
this.removeFolder(folder)
|
||||
}
|
||||
},
|
||||
newFolderInputBlurred() {
|
||||
if (this.newFolderPath) {
|
||||
this.folders.push({ fullPath: this.newFolderPath })
|
||||
@ -149,6 +150,7 @@ export default {
|
||||
this.folders = this.library ? this.library.folders.map((p) => ({ ...p })) : []
|
||||
this.icon = this.library ? this.library.icon : 'default'
|
||||
this.mediaType = this.library ? this.library.mediaType : 'book'
|
||||
|
||||
this.showDirectoryPicker = false
|
||||
}
|
||||
},
|
||||
|
@ -120,7 +120,7 @@ export default {
|
||||
for (const key in this.libraryCopy) {
|
||||
if (library[key] !== undefined) {
|
||||
if (key === 'folders') {
|
||||
this.libraryCopy.folders = library.folders.map((f) => ({ ...f }))
|
||||
this.libraryCopy.folders = library.folders.map((f) => ({ ...f })).filter((f) => !!f.fullPath?.trim())
|
||||
} else if (key === 'settings') {
|
||||
for (const settingKey in library.settings) {
|
||||
this.libraryCopy.settings[settingKey] = library.settings[settingKey]
|
||||
|
@ -164,6 +164,7 @@ export default {
|
||||
this.$axios
|
||||
.$get('/api/backups')
|
||||
.then((data) => {
|
||||
this.$emit('loaded', data.backupLocation)
|
||||
this.setBackups(data.backups || [])
|
||||
})
|
||||
.catch((error) => {
|
||||
|
@ -191,6 +191,7 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
submit() {},
|
||||
inputUpdate() {
|
||||
clearTimeout(this.searchTimeout)
|
||||
this.searchTimeout = setTimeout(() => {
|
||||
|
4
client/package-lock.json
generated
4
client/package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "audiobookshelf-client",
|
||||
"version": "2.4.3",
|
||||
"version": "2.4.4",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "audiobookshelf-client",
|
||||
"version": "2.4.3",
|
||||
"version": "2.4.4",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@nuxtjs/axios": "^5.13.6",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "audiobookshelf-client",
|
||||
"version": "2.4.3",
|
||||
"version": "2.4.4",
|
||||
"description": "Self-hosted audiobook and podcast client",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -1,6 +1,12 @@
|
||||
<template>
|
||||
<div>
|
||||
<app-settings-content :header-text="$strings.HeaderBackups" :description="$strings.MessageBackupsDescription">
|
||||
<div v-if="backupLocation" class="flex items-center mb-4">
|
||||
<span class="material-icons-outlined text-2xl text-black-50 mr-2">folder</span>
|
||||
<span class="text-white text-opacity-60 uppercase text-sm">{{ $strings.LabelBackupLocation }}:</span>
|
||||
<div class="text-gray-100 pl-4">{{ backupLocation }}</div>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center py-2">
|
||||
<ui-toggle-switch v-model="enableBackups" small :disabled="updatingServerSettings" @input="updateBackupsSettings" />
|
||||
<ui-tooltip :text="$strings.LabelBackupsEnableAutomaticBackupsHelp">
|
||||
@ -11,7 +17,7 @@
|
||||
<div v-if="enableBackups" class="mb-6">
|
||||
<div class="flex items-center pl-6 mb-2">
|
||||
<span class="material-icons-outlined text-2xl text-black-50 mr-2">schedule</span>
|
||||
<div class="w-48">
|
||||
<div class="w-40">
|
||||
<span class="text-white text-opacity-60 uppercase text-sm">{{ $strings.HeaderSchedule }}:</span>
|
||||
</div>
|
||||
<div class="text-gray-100">{{ scheduleDescription }}</div>
|
||||
@ -20,7 +26,7 @@
|
||||
|
||||
<div v-if="nextBackupDate" class="flex items-center pl-6 py-0.5 px-2">
|
||||
<span class="material-icons-outlined text-2xl text-black-50 mr-2">event</span>
|
||||
<div class="w-48">
|
||||
<div class="w-40">
|
||||
<span class="text-white text-opacity-60 uppercase text-sm">{{ $strings.LabelNextBackupDate }}:</span>
|
||||
</div>
|
||||
<div class="text-gray-100">{{ nextBackupDate }}</div>
|
||||
@ -43,7 +49,7 @@
|
||||
</ui-tooltip>
|
||||
</div>
|
||||
|
||||
<tables-backups-table />
|
||||
<tables-backups-table @loaded="backupsLoaded" />
|
||||
|
||||
<modals-backup-schedule-modal v-model="showCronBuilder" :cron-expression.sync="cronExpression" />
|
||||
</app-settings-content>
|
||||
@ -65,7 +71,8 @@ export default {
|
||||
maxBackupSize: 1,
|
||||
cronExpression: '',
|
||||
newServerSettings: {},
|
||||
showCronBuilder: false
|
||||
showCronBuilder: false,
|
||||
backupLocation: ''
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@ -98,6 +105,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
backupsLoaded(backupLocation) {
|
||||
this.backupLocation = backupLocation
|
||||
},
|
||||
updateBackupsSettings() {
|
||||
if (isNaN(this.maxBackupSize) || this.maxBackupSize <= 0) {
|
||||
this.$toast.error('Invalid maximum backup size')
|
||||
|
@ -53,8 +53,10 @@
|
||||
</div>
|
||||
<p v-else class="text-white text-opacity-50">{{ $strings.MessageNoListeningSessions }}</p>
|
||||
|
||||
<div class="w-full my-8 h-px bg-white/10" />
|
||||
|
||||
<!-- open listening sessions table -->
|
||||
<p v-if="openListeningSessions.length" class="text-lg mb-4 mt-8">Open Listening Sessions</p>
|
||||
<p v-if="openListeningSessions.length" class="text-lg my-4">Open Listening Sessions</p>
|
||||
<div v-if="openListeningSessions.length" class="block max-w-full">
|
||||
<table class="userSessionsTable">
|
||||
<tr class="bg-primary bg-opacity-40">
|
||||
@ -73,8 +75,7 @@
|
||||
<p class="text-xs text-gray-400 truncate">{{ session.displayAuthor }}</p>
|
||||
</td>
|
||||
<td class="hidden md:table-cell">
|
||||
<p v-if="filteredUserUsername" class="text-xs">{{ filteredUserUsername }}</p>
|
||||
<p v-else class="text-xs">{{ session.user ? session.user.username : 'N/A' }}</p>
|
||||
<p class="text-xs">{{ session.user ? session.user.username : 'N/A' }}</p>
|
||||
</td>
|
||||
<td class="hidden md:table-cell">
|
||||
<p class="text-xs">{{ getPlayMethodName(session.playMethod) }}</p>
|
||||
@ -153,8 +154,8 @@ export default {
|
||||
},
|
||||
filteredUserUsername() {
|
||||
if (!this.userFilter) return null
|
||||
var user = this.users.find((u) => u.id === this.userFilter)
|
||||
return user ? user.username : null
|
||||
const user = this.users.find((u) => u.id === this.userFilter)
|
||||
return user?.username || null
|
||||
},
|
||||
dateFormat() {
|
||||
return this.$store.state.serverSettings.dateFormat
|
||||
@ -273,7 +274,7 @@ export default {
|
||||
return 'Unknown'
|
||||
},
|
||||
async loadSessions(page) {
|
||||
var userFilterQuery = this.selectedUser ? `&user=${this.selectedUser}` : ''
|
||||
const userFilterQuery = this.selectedUser ? `&user=${this.selectedUser}` : ''
|
||||
const data = await this.$axios.$get(`/api/sessions?page=${page}&itemsPerPage=${this.itemsPerPage}${userFilterQuery}`).catch((err) => {
|
||||
console.error('Failed to load listening sessions', err)
|
||||
return null
|
||||
|
@ -13,6 +13,7 @@ const languageCodeMap = {
|
||||
'it': { label: 'Italiano', dateFnsLocale: 'it' },
|
||||
'lt': { label: 'Lietuvių', dateFnsLocale: 'lt' },
|
||||
'nl': { label: 'Nederlands', dateFnsLocale: 'nl' },
|
||||
'no': { label: 'Norsk', dateFnsLocale: 'no' },
|
||||
'pl': { label: 'Polski', dateFnsLocale: 'pl' },
|
||||
'ru': { label: 'Русский', dateFnsLocale: 'ru' },
|
||||
'zh-cn': { label: '简体中文 (Simplified Chinese)', dateFnsLocale: 'zhCN' },
|
||||
|
@ -186,6 +186,7 @@
|
||||
"LabelAuthors": "Autoren",
|
||||
"LabelAutoDownloadEpisodes": "Episoden automatisch herunterladen",
|
||||
"LabelBackToUser": "Zurück zum Benutzer",
|
||||
"LabelBackupLocation": "Backup-Ort",
|
||||
"LabelBackupsEnableAutomaticBackups": "Automatische Sicherung aktivieren",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Backups werden in /metadata/backups gespeichert",
|
||||
"LabelBackupsMaxBackupSize": "Maximale Sicherungsgröße (in GB)",
|
||||
@ -398,9 +399,9 @@
|
||||
"LabelSettingsDisableWatcher": "Überwachung deaktivieren",
|
||||
"LabelSettingsDisableWatcherForLibrary": "Ordnerüberwachung für die Bibliothek deaktivieren",
|
||||
"LabelSettingsDisableWatcherHelp": "Deaktiviert das automatische Hinzufügen/Aktualisieren von Elementen, wenn Dateiänderungen erkannt werden. *Erfordert einen Server-Neustart",
|
||||
"LabelSettingsEnableWatcher": "Enable Watcher",
|
||||
"LabelSettingsEnableWatcherForLibrary": "Enable folder watcher for library",
|
||||
"LabelSettingsEnableWatcherHelp": "Enables the automatic adding/updating of items when file changes are detected. *Requires server restart",
|
||||
"LabelSettingsEnableWatcher": "Überwachung aktivieren",
|
||||
"LabelSettingsEnableWatcherForLibrary": "Ordnerüberwachung für die Bibliothek aktivieren",
|
||||
"LabelSettingsEnableWatcherHelp": "Aktiviert das automatische Hinzufügen/Aktualisieren von Elementen, wenn Dateiänderungen erkannt werden. *Erfordert einen Server-Neustart",
|
||||
"LabelSettingsExperimentalFeatures": "Experimentelle Funktionen",
|
||||
"LabelSettingsExperimentalFeaturesHelp": "Funktionen welche sich in der Entwicklung befinden, benötigen Ihr Feedback und Ihre Hilfe beim Testen. Klicken Sie hier, um die Github-Diskussion zu öffnen.",
|
||||
"LabelSettingsFindCovers": "Suche Titelbilder",
|
||||
@ -533,6 +534,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "Sind Sie sicher, dass Sie alle Medien dieser Reihe als abgeschlossen markieren wollen?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Sind Sie sicher, dass Sie alle Medien dieser Reihe als nicht abgeschlossen markieren wollen?",
|
||||
"MessageConfirmRemoveAllChapters": "Sind Sie sicher, dass Sie alle Kapitel entfernen möchten?",
|
||||
"MessageConfirmRemoveAuthor": "Sind Sie sicher, dass Sie den Autor \"{0}\" enfernen möchten?",
|
||||
"MessageConfirmRemoveCollection": "Sind Sie sicher, dass Sie die Sammlung \"{0}\" löschen wollen?",
|
||||
"MessageConfirmRemoveEpisode": "Sind Sie sicher, dass Sie die Episode \"{0}\" löschen möchten?",
|
||||
"MessageConfirmRemoveEpisodes": "Sind Sie sicher, dass Sie {0} Episoden löschen wollen?",
|
||||
@ -711,4 +713,4 @@
|
||||
"ToastSocketFailedToConnect": "Verbindung zum WebSocket fehlgeschlagen",
|
||||
"ToastUserDeleteFailed": "Benutzer konnte nicht gelöscht werden",
|
||||
"ToastUserDeleteSuccess": "Benutzer gelöscht"
|
||||
}
|
||||
}
|
@ -187,6 +187,7 @@
|
||||
"LabelAuthors": "Authors",
|
||||
"LabelAutoDownloadEpisodes": "Auto Download Episodes",
|
||||
"LabelBackToUser": "Back to User",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "Enable automatic backups",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Backups saved in /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "Maximum backup size (in GB)",
|
||||
@ -534,6 +535,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "Are you sure you want to mark all books in this series as finished?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Are you sure you want to mark all books in this series as not finished?",
|
||||
"MessageConfirmRemoveAllChapters": "Are you sure you want to remove all chapters?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "Are you sure you want to remove collection \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisode": "Are you sure you want to remove episode \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisodes": "Are you sure you want to remove {0} episodes?",
|
||||
|
@ -186,6 +186,7 @@
|
||||
"LabelAuthors": "Autores",
|
||||
"LabelAutoDownloadEpisodes": "Descargar Episodios Automáticamente",
|
||||
"LabelBackToUser": "Regresar a Usuario",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "Habilitar Respaldo Automático",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Respaldo Guardado en /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "Tamaño Máximo de Respaldos (en GB)",
|
||||
@ -533,6 +534,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "Esta seguro que desea marcar todos los libros en esta serie como terminados?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Esta seguro que desea marcar todos los libros en esta serie como no terminados?",
|
||||
"MessageConfirmRemoveAllChapters": "Esta seguro que desea remover todos los capitulos?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "Esta seguro que desea remover la colección \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisode": "Esta seguro que desea remover el episodio \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisodes": "Esta seguro que desea remover {0} episodios?",
|
||||
|
@ -186,6 +186,7 @@
|
||||
"LabelAuthors": "Auteurs",
|
||||
"LabelAutoDownloadEpisodes": "Téléchargement automatique d’épisode",
|
||||
"LabelBackToUser": "Revenir à l’Utilisateur",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "Activer les sauvegardes automatiques",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Sauvegardes Enregistrées dans /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "Taille maximale de la sauvegarde (en Go)",
|
||||
@ -533,6 +534,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "Êtes-vous sûr de vouloir marquer tous les livres de cette série comme terminées ?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Êtes-vous sûr de vouloir marquer tous les livres de cette série comme comme non terminés ?",
|
||||
"MessageConfirmRemoveAllChapters": "Êtes-vous sûr de vouloir supprimer tous les chapitres ?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "Êtes-vous sûr de vouloir supprimer la collection « {0} » ?",
|
||||
"MessageConfirmRemoveEpisode": "Êtes-vous sûr de vouloir supprimer l’épisode « {0} » ?",
|
||||
"MessageConfirmRemoveEpisodes": "Êtes-vous sûr de vouloir supprimer {0} épisodes ?",
|
||||
@ -711,4 +713,4 @@
|
||||
"ToastSocketFailedToConnect": "Échec de la connexion WebSocket",
|
||||
"ToastUserDeleteFailed": "Échec de la suppression de l’utilisateur",
|
||||
"ToastUserDeleteSuccess": "Utilisateur supprimé"
|
||||
}
|
||||
}
|
@ -186,6 +186,7 @@
|
||||
"LabelAuthors": "Authors",
|
||||
"LabelAutoDownloadEpisodes": "Auto Download Episodes",
|
||||
"LabelBackToUser": "Back to User",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "Enable automatic backups",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Backups saved in /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "Maximum backup size (in GB)",
|
||||
@ -533,6 +534,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "Are you sure you want to mark all books in this series as finished?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Are you sure you want to mark all books in this series as not finished?",
|
||||
"MessageConfirmRemoveAllChapters": "Are you sure you want to remove all chapters?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "Are you sure you want to remove collection \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisode": "Are you sure you want to remove episode \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisodes": "Are you sure you want to remove {0} episodes?",
|
||||
|
@ -186,6 +186,7 @@
|
||||
"LabelAuthors": "Authors",
|
||||
"LabelAutoDownloadEpisodes": "Auto Download Episodes",
|
||||
"LabelBackToUser": "Back to User",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "Enable automatic backups",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Backups saved in /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "Maximum backup size (in GB)",
|
||||
@ -533,6 +534,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "Are you sure you want to mark all books in this series as finished?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Are you sure you want to mark all books in this series as not finished?",
|
||||
"MessageConfirmRemoveAllChapters": "Are you sure you want to remove all chapters?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "Are you sure you want to remove collection \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisode": "Are you sure you want to remove episode \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisodes": "Are you sure you want to remove {0} episodes?",
|
||||
|
@ -186,6 +186,7 @@
|
||||
"LabelAuthors": "Autori",
|
||||
"LabelAutoDownloadEpisodes": "Automatski preuzmi epizode",
|
||||
"LabelBackToUser": "Nazad k korisniku",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "Uključi automatski backup",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Backups spremljeni u /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "Maksimalna količina backupa (u GB)",
|
||||
@ -533,6 +534,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "Are you sure you want to mark all books in this series as finished?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Are you sure you want to mark all books in this series as not finished?",
|
||||
"MessageConfirmRemoveAllChapters": "Are you sure you want to remove all chapters?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "AJeste li sigurni da želite obrisati kolekciju \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisode": "Jeste li sigurni da želite obrisati epizodu \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisodes": "Jeste li sigurni da želite obrisati {0} epizoda/-u?",
|
||||
|
@ -186,6 +186,7 @@
|
||||
"LabelAuthors": "Autori",
|
||||
"LabelAutoDownloadEpisodes": "Auto Download Episodi",
|
||||
"LabelBackToUser": "Torna a Utenti",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "Abilita backup Automatico",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "I Backup saranno salvati in /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "Dimensione massima backup (in GB)",
|
||||
@ -533,6 +534,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "Sei sicuro di voler contrassegnare tutti i libri di questa serie come completati?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Sei sicuro di voler contrassegnare tutti i libri di questa serie come non completati?",
|
||||
"MessageConfirmRemoveAllChapters": "Sei sicuro di voler rimuovere tutti i capitoli?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "Sei sicuro di voler rimuovere la Raccolta \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisode": "Sei sicuro di voler rimuovere l'episodio \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisodes": "Sei sicuro di voler rimuovere {0} episodi?",
|
||||
|
@ -186,6 +186,7 @@
|
||||
"LabelAuthors": "Autoriai",
|
||||
"LabelAutoDownloadEpisodes": "Automatiškai atsisiųsti epizodus",
|
||||
"LabelBackToUser": "Grįžti į naudotoją",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "Įjungti automatinį atsarginių kopijų kūrimą",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Atsarginės kopijos bus išsaugotos /metadata/backups aplanke",
|
||||
"LabelBackupsMaxBackupSize": "Maksimalus atsarginių kopijų dydis (GB)",
|
||||
@ -533,6 +534,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "Ar tikrai norite pažymėti visas knygas šioje serijoje kaip užbaigtas?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Ar tikrai norite pažymėti visas knygas šioje serijoje kaip nebaigtas?",
|
||||
"MessageConfirmRemoveAllChapters": "Ar tikrai norite pašalinti visus skyrius?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "Ar tikrai norite pašalinti kolekciją \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisode": "Ar tikrai norite pašalinti epizodą \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisodes": "Ar tikrai norite pašalinti {0} epizodus?",
|
||||
|
@ -99,11 +99,11 @@
|
||||
"HeaderDetails": "Details",
|
||||
"HeaderDownloadQueue": "Download-wachtrij",
|
||||
"HeaderEbookFiles": "Ebook Files",
|
||||
"HeaderEmail": "Email",
|
||||
"HeaderEmailSettings": "Email Settings",
|
||||
"HeaderEmail": "E-mail",
|
||||
"HeaderEmailSettings": "E-mail instellingen",
|
||||
"HeaderEpisodes": "Afleveringen",
|
||||
"HeaderEreaderDevices": "Ereader Devices",
|
||||
"HeaderEreaderSettings": "Ereader Settings",
|
||||
"HeaderEreaderDevices": "Ereader-apparaten",
|
||||
"HeaderEreaderSettings": "Ereader-instellingen",
|
||||
"HeaderFiles": "Bestanden",
|
||||
"HeaderFindChapters": "Zoek hoofdstukken",
|
||||
"HeaderIgnoredFiles": "Genegeerde bestanden",
|
||||
@ -138,7 +138,7 @@
|
||||
"HeaderRemoveEpisodes": "Verwijder {0} afleveringen",
|
||||
"HeaderRSSFeedGeneral": "RSS-details",
|
||||
"HeaderRSSFeedIsOpen": "RSS-feed is open",
|
||||
"HeaderRSSFeeds": "RSS Feeds",
|
||||
"HeaderRSSFeeds": "RSS-feeds",
|
||||
"HeaderSavedMediaProgress": "Opgeslagen mediavoortgang",
|
||||
"HeaderSchedule": "Schema",
|
||||
"HeaderScheduleLibraryScans": "Schema automatische bibliotheekscans",
|
||||
@ -156,7 +156,7 @@
|
||||
"HeaderStatsRecentSessions": "Recente sessies",
|
||||
"HeaderStatsTop10Authors": "Top 10 auteurs",
|
||||
"HeaderStatsTop5Genres": "Top 5 genres",
|
||||
"HeaderTableOfContents": "Table of Contents",
|
||||
"HeaderTableOfContents": "Inhoudsopgave",
|
||||
"HeaderTools": "Tools",
|
||||
"HeaderUpdateAccount": "Account bijwerken",
|
||||
"HeaderUpdateAuthor": "Auteur bijwerken",
|
||||
@ -179,13 +179,14 @@
|
||||
"LabelAll": "Alle",
|
||||
"LabelAllUsers": "Alle gebruikers",
|
||||
"LabelAlreadyInYourLibrary": "Reeds in je bibliotheek",
|
||||
"LabelAppend": "Append",
|
||||
"LabelAppend": "Achteraan toevoegen",
|
||||
"LabelAuthor": "Auteur",
|
||||
"LabelAuthorFirstLast": "Auteur (Voornaam Achternaam)",
|
||||
"LabelAuthorLastFirst": "Auteur (Achternaam, Voornaam)",
|
||||
"LabelAuthors": "Auteurs",
|
||||
"LabelAutoDownloadEpisodes": "Afleveringen automatisch downloaden",
|
||||
"LabelBackToUser": "Terug naar gebruiker",
|
||||
"LabelBackupLocation": "Back-up locatie",
|
||||
"LabelBackupsEnableAutomaticBackups": "Automatische back-ups inschakelen",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Back-ups opgeslagen in /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "Maximale back-up-grootte (in GB)",
|
||||
@ -207,7 +208,7 @@
|
||||
"LabelComplete": "Compleet",
|
||||
"LabelConfirmPassword": "Bevestig wachtwoord",
|
||||
"LabelContinueListening": "Verder luisteren",
|
||||
"LabelContinueReading": "Continue Reading",
|
||||
"LabelContinueReading": "Verder luisteren",
|
||||
"LabelContinueSeries": "Ga verder met serie",
|
||||
"LabelCover": "Cover",
|
||||
"LabelCoverImageURL": "Coverafbeelding URL",
|
||||
@ -224,7 +225,7 @@
|
||||
"LabelDirectory": "Map",
|
||||
"LabelDiscFromFilename": "Schijf uit bestandsnaam",
|
||||
"LabelDiscFromMetadata": "Schijf uit metadata",
|
||||
"LabelDiscover": "Discover",
|
||||
"LabelDiscover": "Ontdek",
|
||||
"LabelDownload": "Download",
|
||||
"LabelDownloadNEpisodes": "Download {0} episodes",
|
||||
"LabelDuration": "Duur",
|
||||
@ -233,10 +234,10 @@
|
||||
"LabelEbooks": "Ebooks",
|
||||
"LabelEdit": "Wijzig",
|
||||
"LabelEmail": "Email",
|
||||
"LabelEmailSettingsFromAddress": "From Address",
|
||||
"LabelEmailSettingsSecure": "Secure",
|
||||
"LabelEmailSettingsSecureHelp": "If true the connection will use TLS when connecting to server. If false then TLS is used if server supports the STARTTLS extension. In most cases set this value to true if you are connecting to port 465. For port 587 or 25 keep it false. (from nodemailer.com/smtp/#authentication)",
|
||||
"LabelEmailSettingsTestAddress": "Test Address",
|
||||
"LabelEmailSettingsFromAddress": "Van-adres",
|
||||
"LabelEmailSettingsSecure": "Veilig",
|
||||
"LabelEmailSettingsSecureHelp": "Als 'waar', dan gebruikt de verbinding TLS om met de server te verbinden. Als 'onwaar', dan wordt TLS gebruikt als de server de STARTTLS-extensie ondersteunt. In de meeste gevallen kies je voor 'waar' verbindt met poort 465. Voo poort 587 of 25, laat op 'onwaar'. (van nodemailer.com/smtp/#authentication)",
|
||||
"LabelEmailSettingsTestAddress": "Test-adres",
|
||||
"LabelEmbeddedCover": "Ingesloten cover",
|
||||
"LabelEnable": "Inschakelen",
|
||||
"LabelEnd": "Einde",
|
||||
@ -255,13 +256,13 @@
|
||||
"LabelFinished": "Voltooid",
|
||||
"LabelFolder": "Map",
|
||||
"LabelFolders": "Mappen",
|
||||
"LabelFontScale": "Font scale",
|
||||
"LabelFormat": "Format",
|
||||
"LabelFontScale": "Lettertype schaal",
|
||||
"LabelFormat": "Formaat",
|
||||
"LabelGenre": "Genre",
|
||||
"LabelGenres": "Genres",
|
||||
"LabelHardDeleteFile": "Hard-delete bestand",
|
||||
"LabelHasEbook": "Has ebook",
|
||||
"LabelHasSupplementaryEbook": "Has supplementary ebook",
|
||||
"LabelHasEbook": "Heeft ebook",
|
||||
"LabelHasSupplementaryEbook": "Heeft supplementair ebook",
|
||||
"LabelHost": "Host",
|
||||
"LabelHour": "Uur",
|
||||
"LabelIcon": "Icoon",
|
||||
@ -288,15 +289,15 @@
|
||||
"LabelLastTime": "Laatste keer",
|
||||
"LabelLastUpdate": "Laatste update",
|
||||
"LabelLayout": "Layout",
|
||||
"LabelLayoutSinglePage": "Single page",
|
||||
"LabelLayoutSplitPage": "Split page",
|
||||
"LabelLayoutSinglePage": "Enkele pagina",
|
||||
"LabelLayoutSplitPage": "Gesplitste pagina",
|
||||
"LabelLess": "Minder",
|
||||
"LabelLibrariesAccessibleToUser": "Voor gebruiker toegankelijke bibliotheken",
|
||||
"LabelLibrary": "Bibliotheek",
|
||||
"LabelLibraryItem": "Library Item",
|
||||
"LabelLibraryName": "Library Name",
|
||||
"LabelLibraryItem": "Bibliotheekonderdeel",
|
||||
"LabelLibraryName": "Bibliotheeknaam",
|
||||
"LabelLimit": "Limiet",
|
||||
"LabelLineSpacing": "Line spacing",
|
||||
"LabelLineSpacing": "Regelruimte",
|
||||
"LabelListenAgain": "Luister opnieuw",
|
||||
"LabelLogLevelDebug": "Debug",
|
||||
"LabelLogLevelInfo": "Info",
|
||||
@ -321,7 +322,7 @@
|
||||
"LabelNewPassword": "Nieuw wachtwoord",
|
||||
"LabelNextBackupDate": "Volgende back-up datum",
|
||||
"LabelNextScheduledRun": "Volgende geplande run",
|
||||
"LabelNoEpisodesSelected": "No episodes selected",
|
||||
"LabelNoEpisodesSelected": "Geen afleveringen geselecteerd",
|
||||
"LabelNotes": "Notities",
|
||||
"LabelNotFinished": "Niet Voltooid",
|
||||
"LabelNotificationAppriseURL": "Apprise URL(s)",
|
||||
@ -353,18 +354,18 @@
|
||||
"LabelPodcast": "Podcast",
|
||||
"LabelPodcasts": "Podcasts",
|
||||
"LabelPodcastType": "Podcasttype",
|
||||
"LabelPort": "Port",
|
||||
"LabelPort": "Poort",
|
||||
"LabelPrefixesToIgnore": "Te negeren voorzetsels (ongeacht hoofdlettergebruik)",
|
||||
"LabelPreventIndexing": "Voorkom indexering van je feed door iTunes- en Google podcastmappen",
|
||||
"LabelPrimaryEbook": "Primary ebook",
|
||||
"LabelPrimaryEbook": "Primair ebook",
|
||||
"LabelProgress": "Voortgang",
|
||||
"LabelProvider": "Bron",
|
||||
"LabelPubDate": "Publicatiedatum",
|
||||
"LabelPublisher": "Uitgever",
|
||||
"LabelPublishYear": "Jaar van uitgave",
|
||||
"LabelRead": "Read",
|
||||
"LabelReadAgain": "Read Again",
|
||||
"LabelReadEbookWithoutProgress": "Read ebook without keeping progress",
|
||||
"LabelRead": "Lees",
|
||||
"LabelReadAgain": "Lees opnieuw",
|
||||
"LabelReadEbookWithoutProgress": "Lees ebook zonder voortgang bij te houden",
|
||||
"LabelRecentlyAdded": "Recent toegevoegd",
|
||||
"LabelRecentSeries": "Recente series",
|
||||
"LabelRecommended": "Aangeraden",
|
||||
@ -381,32 +382,32 @@
|
||||
"LabelSearchTitle": "Zoek titel",
|
||||
"LabelSearchTitleOrASIN": "Zoek titel of ASIN",
|
||||
"LabelSeason": "Seizoen",
|
||||
"LabelSelectAllEpisodes": "Select all episodes",
|
||||
"LabelSelectEpisodesShowing": "Select {0} episodes showing",
|
||||
"LabelSendEbookToDevice": "Send Ebook to...",
|
||||
"LabelSelectAllEpisodes": "Selecteer alle afleveringen",
|
||||
"LabelSelectEpisodesShowing": "Selecteer {0} afleveringen laten zien",
|
||||
"LabelSendEbookToDevice": "Stuur ebook naar...",
|
||||
"LabelSequence": "Sequentie",
|
||||
"LabelSeries": "Serie",
|
||||
"LabelSeriesName": "Naam serie",
|
||||
"LabelSeriesProgress": "Voortgang serie",
|
||||
"LabelSetEbookAsPrimary": "Set as primary",
|
||||
"LabelSetEbookAsSupplementary": "Set as supplementary",
|
||||
"LabelSettingsAudiobooksOnly": "Audiobooks only",
|
||||
"LabelSettingsAudiobooksOnlyHelp": "Enabling this setting will ignore ebook files unless they are inside an audiobook folder in which case they will be set as supplementary ebooks",
|
||||
"LabelSetEbookAsPrimary": "Stel in als primair",
|
||||
"LabelSetEbookAsSupplementary": "Stel in als supplementair",
|
||||
"LabelSettingsAudiobooksOnly": "Alleen audiobooks",
|
||||
"LabelSettingsAudiobooksOnlyHelp": "Deze instelling inschakelen zorgt ervoor dat ebook-bestanden genegeerd worden tenzij ze in een audiobook-map staan, in welk geval ze worden ingesteld als supplementaire ebooks",
|
||||
"LabelSettingsBookshelfViewHelp": "Skeumorphisch design met houten planken",
|
||||
"LabelSettingsChromecastSupport": "Chromecast support",
|
||||
"LabelSettingsDateFormat": "Datum format",
|
||||
"LabelSettingsDisableWatcher": "Watcher uitschakelen",
|
||||
"LabelSettingsDisableWatcherForLibrary": "Map-watcher voor bibliotheek uitschakelen",
|
||||
"LabelSettingsDisableWatcherHelp": "Schakelt het automatisch toevoegen/bijwerken van onderdelen wanneer bestandswijzigingen gedetecteerd zijn uit. *Vereist herstart server",
|
||||
"LabelSettingsEnableWatcher": "Enable Watcher",
|
||||
"LabelSettingsEnableWatcherForLibrary": "Enable folder watcher for library",
|
||||
"LabelSettingsEnableWatcherHelp": "Enables the automatic adding/updating of items when file changes are detected. *Requires server restart",
|
||||
"LabelSettingsEnableWatcher": "Watcher inschakelen",
|
||||
"LabelSettingsEnableWatcherForLibrary": "Map-watcher voor bibliotheek inschakelen",
|
||||
"LabelSettingsEnableWatcherHelp": "Zorgt voor het automatisch toevoegen/bijwerken van onderdelen als bestandswijzigingen worden gedetecteerd. *Vereist herstarten van server",
|
||||
"LabelSettingsExperimentalFeatures": "Experimentele functies",
|
||||
"LabelSettingsExperimentalFeaturesHelp": "Functies in ontwikkeling die je feedback en testing kunnen gebruiken. Klik om de Github-discussie te openen.",
|
||||
"LabelSettingsFindCovers": "Zoek covers",
|
||||
"LabelSettingsFindCoversHelp": "Als je audioboek geen ingesloten cover of cover in de map heeft, zal de scanner proberen een cover te vinden.<br>Opmerking: Dit zal de scan-duur verlengen",
|
||||
"LabelSettingsHideSingleBookSeries": "Hide single book series",
|
||||
"LabelSettingsHideSingleBookSeriesHelp": "Series that have a single book will be hidden from the series page and home page shelves.",
|
||||
"LabelSettingsHideSingleBookSeries": "Verberg series met een enkel boek",
|
||||
"LabelSettingsHideSingleBookSeriesHelp": "Series die slechts een enkel boek bevatten worden verborgen op de seriespagina en de homepagina-planken.",
|
||||
"LabelSettingsHomePageBookshelfView": "Boekenplank-view voor homepagina",
|
||||
"LabelSettingsLibraryBookshelfView": "Boekenplank-view voor bibliotheek",
|
||||
"LabelSettingsOverdriveMediaMarkers": "Gebruik Overdrive media markers voor hoofdstukken",
|
||||
@ -460,9 +461,9 @@
|
||||
"LabelTagsAccessibleToUser": "Tags toegankelijk voor de gebruiker",
|
||||
"LabelTagsNotAccessibleToUser": "Tags niet toegankelijk voor de gebruiker",
|
||||
"LabelTasks": "Lopende taken",
|
||||
"LabelTheme": "Theme",
|
||||
"LabelThemeDark": "Dark",
|
||||
"LabelThemeLight": "Light",
|
||||
"LabelTheme": "Thema",
|
||||
"LabelThemeDark": "Donker",
|
||||
"LabelThemeLight": "Licht",
|
||||
"LabelTimeBase": "Tijdsbasis",
|
||||
"LabelTimeListened": "Tijd geluisterd",
|
||||
"LabelTimeListenedToday": "Tijd geluisterd vandaag",
|
||||
@ -481,8 +482,8 @@
|
||||
"LabelTrackFromMetadata": "Track vanuit metadata",
|
||||
"LabelTracks": "Tracks",
|
||||
"LabelTracksMultiTrack": "Multi-track",
|
||||
"LabelTracksNone": "No tracks",
|
||||
"LabelTracksSingleTrack": "Single-track",
|
||||
"LabelTracksNone": "Geen tracks",
|
||||
"LabelTracksSingleTrack": "Enkele track",
|
||||
"LabelType": "Type",
|
||||
"LabelUnabridged": "Onverkort",
|
||||
"LabelUnknown": "Onbekend",
|
||||
@ -524,15 +525,16 @@
|
||||
"MessageCheckingCron": "Cron aan het checken...",
|
||||
"MessageConfirmCloseFeed": "Are you sure you want to close this feed?",
|
||||
"MessageConfirmDeleteBackup": "Weet je zeker dat je de backup voor {0} wil verwijderen?",
|
||||
"MessageConfirmDeleteFile": "This will delete the file from your file system. Are you sure?",
|
||||
"MessageConfirmDeleteFile": "Dit verwijdert het bestand uit het bestandssysteem. Weet je het zeker?",
|
||||
"MessageConfirmDeleteLibrary": "Weet je zeker dat je de bibliotheek \"{0}\" permanent wil verwijderen?",
|
||||
"MessageConfirmDeleteSession": "Weet je zeker dat je deze sessie wil verwijderen?",
|
||||
"MessageConfirmForceReScan": "Weet je zeker dat je geforceerd opnieuw wil scannen?",
|
||||
"MessageConfirmMarkAllEpisodesFinished": "Are you sure you want to mark all episodes as finished?",
|
||||
"MessageConfirmMarkAllEpisodesNotFinished": "Are you sure you want to mark all episodes as not finished?",
|
||||
"MessageConfirmMarkAllEpisodesFinished": "Weet je zeker dat je alle afleveringen als voltooid wil markeren?",
|
||||
"MessageConfirmMarkAllEpisodesNotFinished": "Weet je zeker dat je alle afleveringen als niet-voltooid wil markeren?",
|
||||
"MessageConfirmMarkSeriesFinished": "Weet je zeker dat je alle boeken in deze serie wil markeren als voltooid?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Weet je zeker dat je alle boeken in deze serie wil markeren als niet voltooid?",
|
||||
"MessageConfirmRemoveAllChapters": "Weet je zeker dat je alle hoofdstukken wil verwijderen?",
|
||||
"MessageConfirmRemoveAuthor": "Weet je zeker dat je auteur \"{0}\" wil verwijderen?",
|
||||
"MessageConfirmRemoveCollection": "Weet je zeker dat je de collectie \"{0}\" wil verwijderen?",
|
||||
"MessageConfirmRemoveEpisode": "Weet je zeker dat je de aflevering \"{0}\" wil verwijderen?",
|
||||
"MessageConfirmRemoveEpisodes": "Weet je zeker dat je {0} afleveringen wil verwijderen?",
|
||||
@ -544,7 +546,7 @@
|
||||
"MessageConfirmRenameTag": "Weet je zeker dat je tag \"{0}\" wil hernoemen naar\"{1}\" voor alle onderdelen?",
|
||||
"MessageConfirmRenameTagMergeNote": "Opmerking: Deze tag bestaat al, dus zullen ze worden samengevoegd.",
|
||||
"MessageConfirmRenameTagWarning": "Waarschuwing! Een gelijknamige tag met ander hoofdlettergebruik bestaat al: \"{0}\".",
|
||||
"MessageConfirmSendEbookToDevice": "Are you sure you want to send {0} ebook \"{1}\" to device \"{2}\"?",
|
||||
"MessageConfirmSendEbookToDevice": "Weet je zeker dat je {0} ebook \"{1}\" naar apparaat \"{2}\" wil sturen?",
|
||||
"MessageDownloadingEpisode": "Aflevering aan het dowloaden",
|
||||
"MessageDragFilesIntoTrackOrder": "Sleep bestanden in de juiste trackvolgorde",
|
||||
"MessageEmbedFinished": "Insluiting voltooid!",
|
||||
@ -563,8 +565,8 @@
|
||||
"MessageM4BFailed": "M4B mislukt!",
|
||||
"MessageM4BFinished": "M4B voltooid!",
|
||||
"MessageMapChapterTitles": "Map hoofdstuktitels naar je bestaande audioboekhoofdstukken zonder aanpassing van tijden",
|
||||
"MessageMarkAllEpisodesFinished": "Mark all episodes finished",
|
||||
"MessageMarkAllEpisodesNotFinished": "Mark all episodes not finished",
|
||||
"MessageMarkAllEpisodesFinished": "Markeer alle afleveringen als voltooid",
|
||||
"MessageMarkAllEpisodesNotFinished": "Markeer alle afleveringen als niet voltooid",
|
||||
"MessageMarkAsFinished": "Markeer als Voltooid",
|
||||
"MessageMarkAsNotFinished": "Markeer als Niet Voltooid",
|
||||
"MessageMatchBooksDescription": "zal proberen boeken in de bibliotheek te matchen met een boek uit de geselecteerde bron en lege details en coverafbeelding te vullen. Overschrijft details niet.",
|
||||
@ -700,8 +702,8 @@
|
||||
"ToastRemoveItemFromCollectionSuccess": "Onderdeel verwijderd uit collectie",
|
||||
"ToastRSSFeedCloseFailed": "Sluiten RSS-feed mislukt",
|
||||
"ToastRSSFeedCloseSuccess": "RSS-feed gesloten",
|
||||
"ToastSendEbookToDeviceFailed": "Failed to Send Ebook to device",
|
||||
"ToastSendEbookToDeviceSuccess": "Ebook sent to device \"{0}\"",
|
||||
"ToastSendEbookToDeviceFailed": "Ebook naar apparaat sturen mislukt",
|
||||
"ToastSendEbookToDeviceSuccess": "Ebook verstuurd naar apparaat \"{0}\"",
|
||||
"ToastSeriesUpdateFailed": "Bijwerken serie mislukt",
|
||||
"ToastSeriesUpdateSuccess": "Bijwerken serie gelukt",
|
||||
"ToastSessionDeleteFailed": "Verwijderen sessie mislukt",
|
||||
@ -711,4 +713,4 @@
|
||||
"ToastSocketFailedToConnect": "Verbinding Socket mislukt",
|
||||
"ToastUserDeleteFailed": "Verwijderen gebruiker mislukt",
|
||||
"ToastUserDeleteSuccess": "Gebruiker verwijderd"
|
||||
}
|
||||
}
|
||||
|
716
client/strings/no.json
Normal file
716
client/strings/no.json
Normal file
@ -0,0 +1,716 @@
|
||||
{
|
||||
"ButtonAdd": "Legg til",
|
||||
"ButtonAddChapters": "Legg til kapittel",
|
||||
"ButtonAddPodcasts": "Legg til podcast",
|
||||
"ButtonAddYourFirstLibrary": "Legg til ditt første bibliotek",
|
||||
"ButtonApply": "Bruk",
|
||||
"ButtonApplyChapters": "Bruk kapittel",
|
||||
"ButtonAuthors": "Forfatter",
|
||||
"ButtonBrowseForFolder": "Bla gjennom mappe",
|
||||
"ButtonCancel": "Avbryt",
|
||||
"ButtonCancelEncode": "Avbryt Encode",
|
||||
"ButtonChangeRootPassword": "Bytt Root-bruker passord",
|
||||
"ButtonCheckAndDownloadNewEpisodes": "Sjekk og last ned nye episoder",
|
||||
"ButtonChooseAFolder": "Velg mappe",
|
||||
"ButtonChooseFiles": "Velg filer",
|
||||
"ButtonClearFilter": "Bytt filter",
|
||||
"ButtonCloseFeed": "Lukk Feed",
|
||||
"ButtonCollections": "Samlinger",
|
||||
"ButtonConfigureScanner": "Konfigurer skanner",
|
||||
"ButtonCreate": "Opprett",
|
||||
"ButtonCreateBackup": "Opprett sikkerhetskopi",
|
||||
"ButtonDelete": "Slett",
|
||||
"ButtonDownloadQueue": "Kø",
|
||||
"ButtonEdit": "Rediger",
|
||||
"ButtonEditChapters": "Rediger kapittel",
|
||||
"ButtonEditPodcast": "Rediger podcast",
|
||||
"ButtonForceReScan": "Tving skann",
|
||||
"ButtonFullPath": "Full sti",
|
||||
"ButtonHide": "Gjøm",
|
||||
"ButtonHome": "Hjem",
|
||||
"ButtonIssues": "Problemer",
|
||||
"ButtonLatest": "Siste",
|
||||
"ButtonLibrary": "Bibliotek",
|
||||
"ButtonLogout": "Logg ut",
|
||||
"ButtonLookup": "Slå opp",
|
||||
"ButtonManageTracks": "Administrer spor",
|
||||
"ButtonMapChapterTitles": "Kartlegg kapittel titler",
|
||||
"ButtonMatchAllAuthors": "Søk opp alle forfattere",
|
||||
"ButtonMatchBooks": "Søk opp bøker",
|
||||
"ButtonNevermind": "Avbryt",
|
||||
"ButtonOk": "Ok",
|
||||
"ButtonOpenFeed": "Åpne Feed",
|
||||
"ButtonOpenManager": "Åpne behandler",
|
||||
"ButtonPlay": "Spill av",
|
||||
"ButtonPlaying": "Spiller av",
|
||||
"ButtonPlaylists": "Spilleliste",
|
||||
"ButtonPurgeAllCache": "Tøm alle mellomlager",
|
||||
"ButtonPurgeItemsCache": "Tøm mellomlager",
|
||||
"ButtonPurgeMediaProgress": "Slett medie fremgang",
|
||||
"ButtonQueueAddItem": "Legg til kø",
|
||||
"ButtonQueueRemoveItem": "Fjern fra kø",
|
||||
"ButtonQuickMatch": "Kjapt søk",
|
||||
"ButtonRead": "Les",
|
||||
"ButtonRemove": "Fjern",
|
||||
"ButtonRemoveAll": "Fjern alle",
|
||||
"ButtonRemoveAllLibraryItems": "Fjern alle bibliotekobjekter",
|
||||
"ButtonRemoveFromContinueListening": "Fjern fra Fortsett å lytte",
|
||||
"ButtonRemoveFromContinueReading": "Fjern fra Fortsett å lese",
|
||||
"ButtonRemoveSeriesFromContinueSeries": "Fjern serie fra Fortsett serie",
|
||||
"ButtonReScan": "Skann på nytt",
|
||||
"ButtonReset": "Nullstill",
|
||||
"ButtonRestore": "Gjenopprett",
|
||||
"ButtonSave": "Lagre",
|
||||
"ButtonSaveAndClose": "Lagre og lukk",
|
||||
"ButtonSaveTracklist": "Lagre spilleliste",
|
||||
"ButtonScan": "Skann",
|
||||
"ButtonScanLibrary": "Skann bibliotek",
|
||||
"ButtonSearch": "Søk",
|
||||
"ButtonSelectFolderPath": "Velg mappe",
|
||||
"ButtonSeries": "Serier",
|
||||
"ButtonSetChaptersFromTracks": "Sett kapittel fra spor",
|
||||
"ButtonShiftTimes": "Forskyv tider",
|
||||
"ButtonShow": "Vis",
|
||||
"ButtonStartM4BEncode": "Start M4B Koding",
|
||||
"ButtonStartMetadataEmbed": "Start Metadata innbaking",
|
||||
"ButtonSubmit": "Send inn",
|
||||
"ButtonTest": "Test",
|
||||
"ButtonUpload": "Last opp",
|
||||
"ButtonUploadBackup": "Last opp sikkerhetskopi",
|
||||
"ButtonUploadCover": "Last opp cover",
|
||||
"ButtonUploadOPMLFile": "Last opp OPML fil",
|
||||
"ButtonUserDelete": "Slett bruker {0}",
|
||||
"ButtonUserEdit": "Rediger bruker {0}",
|
||||
"ButtonViewAll": "Vis alt",
|
||||
"ButtonYes": "Ja",
|
||||
"HeaderAccount": "Konto",
|
||||
"HeaderAdvanced": "Avansert",
|
||||
"HeaderAppriseNotificationSettings": "Apprise notifikasjonsinstillinger",
|
||||
"HeaderAudiobookTools": "Lydbok Filbehandlingsverktøy",
|
||||
"HeaderAudioTracks": "Lydspor",
|
||||
"HeaderBackups": "Sikkerhetskopier",
|
||||
"HeaderChangePassword": "Bytt passord",
|
||||
"HeaderChapters": "Kapittel",
|
||||
"HeaderChooseAFolder": "Velg en mappe",
|
||||
"HeaderCollection": "Samlinger",
|
||||
"HeaderCollectionItems": "Samlingsgjenstander",
|
||||
"HeaderCover": "Omslag",
|
||||
"HeaderCurrentDownloads": "Aktive nedlastinger",
|
||||
"HeaderDetails": "Detaljer",
|
||||
"HeaderDownloadQueue": "Last ned kø",
|
||||
"HeaderEbookFiles": "Ebook filer",
|
||||
"HeaderEmail": "Epost",
|
||||
"HeaderEmailSettings": "Epost innstillinger",
|
||||
"HeaderEpisodes": "Episoder",
|
||||
"HeaderEreaderDevices": "Ereader enheter",
|
||||
"HeaderEreaderSettings": "Ereader innstillinger",
|
||||
"HeaderFiles": "Filer",
|
||||
"HeaderFindChapters": "Finn Kapittel",
|
||||
"HeaderIgnoredFiles": "Ignorerte filer",
|
||||
"HeaderItemFiles": "Elementfiler",
|
||||
"HeaderItemMetadataUtils": "Enhet Metadata verktøy",
|
||||
"HeaderLastListeningSession": "Siste lyttesesjon",
|
||||
"HeaderLatestEpisodes": "Siste episoder",
|
||||
"HeaderLibraries": "Biblioteker",
|
||||
"HeaderLibraryFiles": "Bibliotek filer",
|
||||
"HeaderLibraryStats": "Bibliotek statistikk",
|
||||
"HeaderListeningSessions": "Lyttesesjoner",
|
||||
"HeaderListeningStats": "Lyttestatistikk",
|
||||
"HeaderLogin": "Logg inn",
|
||||
"HeaderLogs": "Loggfiler",
|
||||
"HeaderManageGenres": "Behandle sjangere",
|
||||
"HeaderManageTags": "Behandle tags",
|
||||
"HeaderMapDetails": "Kartleggingsdetaljer",
|
||||
"HeaderMatch": "Tilpasse",
|
||||
"HeaderMetadataToEmbed": "Metadata å bake inn",
|
||||
"HeaderNewAccount": "Ny konto",
|
||||
"HeaderNewLibrary": "Ny bibliotek",
|
||||
"HeaderNotifications": "Notifikasjoner",
|
||||
"HeaderOpenRSSFeed": "Åpne RSS Feed",
|
||||
"HeaderOtherFiles": "Andre filer",
|
||||
"HeaderPermissions": "Rettigheter",
|
||||
"HeaderPlayerQueue": "Spiller kø",
|
||||
"HeaderPlaylist": "Spilleliste",
|
||||
"HeaderPlaylistItems": "Spillelisteelement",
|
||||
"HeaderPodcastsToAdd": "Podcaster å legge til",
|
||||
"HeaderPreviewCover": "Forhåndsvis omslag",
|
||||
"HeaderRemoveEpisode": "Fjern episode",
|
||||
"HeaderRemoveEpisodes": "Fjern {0} episoder",
|
||||
"HeaderRSSFeedGeneral": "RSS Detailer",
|
||||
"HeaderRSSFeedIsOpen": "RSS Feed er åpen",
|
||||
"HeaderRSSFeeds": "RSS Feeder",
|
||||
"HeaderSavedMediaProgress": "Lagret mediefremgang",
|
||||
"HeaderSchedule": "Timeplan",
|
||||
"HeaderScheduleLibraryScans": "Planlegg automatisk bibliotek skann",
|
||||
"HeaderSession": "Sesjon",
|
||||
"HeaderSetBackupSchedule": "Sett timeplan for sikkerhetskopi",
|
||||
"HeaderSettings": "Innstillinger",
|
||||
"HeaderSettingsDisplay": "Vis",
|
||||
"HeaderSettingsExperimental": "Eksperimentelle funksjoner",
|
||||
"HeaderSettingsGeneral": "Generell",
|
||||
"HeaderSettingsScanner": "Skanner",
|
||||
"HeaderSleepTimer": "Sove timer",
|
||||
"HeaderStatsLargestItems": "Største enheter",
|
||||
"HeaderStatsLongestItems": "Lengste enheter (timer)",
|
||||
"HeaderStatsMinutesListeningChart": "Minutter lyttet (siste 7 dagene)",
|
||||
"HeaderStatsRecentSessions": "Siste sesjoner",
|
||||
"HeaderStatsTop10Authors": "Top 10 forfattere",
|
||||
"HeaderStatsTop5Genres": "Top 5 sjangere",
|
||||
"HeaderTableOfContents": "Innholdsfortegnelse",
|
||||
"HeaderTools": "Verktøy",
|
||||
"HeaderUpdateAccount": "Oppdater konto",
|
||||
"HeaderUpdateAuthor": "Oppdater forfatter",
|
||||
"HeaderUpdateDetails": "Oppdater detaljer",
|
||||
"HeaderUpdateLibrary": "Oppdater bibliotek",
|
||||
"HeaderUsers": "Brukere",
|
||||
"HeaderYourStats": "Din statistikk",
|
||||
"LabelAbridged": "Forkortet",
|
||||
"LabelAccountType": "Kontotype",
|
||||
"LabelAccountTypeAdmin": "Admin",
|
||||
"LabelAccountTypeGuest": "Gjest",
|
||||
"LabelAccountTypeUser": "Bruker",
|
||||
"LabelActivity": "Aktivitet",
|
||||
"LabelAdded": "Lagt til",
|
||||
"LabelAddedAt": "Dato lagt til ",
|
||||
"LabelAddToCollection": "Legg til i samling",
|
||||
"LabelAddToCollectionBatch": "Legg {0} bøker til samling",
|
||||
"LabelAddToPlaylist": "Legg til i spilleliste",
|
||||
"LabelAddToPlaylistBatch": "Legg {0} enheter til i spilleliste",
|
||||
"LabelAll": "Alle",
|
||||
"LabelAllUsers": "Alle brukere",
|
||||
"LabelAlreadyInYourLibrary": "Allerede i biblioteket",
|
||||
"LabelAppend": "Legge til",
|
||||
"LabelAuthor": "Forfatter",
|
||||
"LabelAuthorFirstLast": "Forfatter (Fornavn Etternavn)",
|
||||
"LabelAuthorLastFirst": "Forfatter (Etternavn Fornavn)",
|
||||
"LabelAuthors": "Forfattere",
|
||||
"LabelAutoDownloadEpisodes": "Last ned episoder automatisk",
|
||||
"LabelBackToUser": "Tilbake til bruker",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "Aktiver automatisk sikkerhetskopi",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Sikkerhetskopier lagret under /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "Maks sikkerhetskopi størrelse (i GB)",
|
||||
"LabelBackupsMaxBackupSizeHelp": "For å forhindre feilkonfigurasjon, vil sikkerhetskopier mislykkes hvis de oveskride konfigurert størrelse.",
|
||||
"LabelBackupsNumberToKeep": "Antall sikkerhetskopier som skal beholdes",
|
||||
"LabelBackupsNumberToKeepHelp": "Kun 1 sikkerhetskopi vil bli fjernet om gangen, hvis du allerede har flere sikkerhetskopier enn dette bør du fjerne de manuelt.",
|
||||
"LabelBitrate": "Bithastighet",
|
||||
"LabelBooks": "Bøker",
|
||||
"LabelChangePassword": "Endre passord",
|
||||
"LabelChannels": "Kanaler",
|
||||
"LabelChapters": "Kapitler",
|
||||
"LabelChaptersFound": "kapitler funnet",
|
||||
"LabelChapterTitle": "Kapittel tittel",
|
||||
"LabelClosePlayer": "Lukk spiller",
|
||||
"LabelCodec": "Kodek",
|
||||
"LabelCollapseSeries": "Minimer serier",
|
||||
"LabelCollection": "Samling",
|
||||
"LabelCollections": "Samlings",
|
||||
"LabelComplete": "Fullfør",
|
||||
"LabelConfirmPassword": "Bekreft passord",
|
||||
"LabelContinueListening": "Forsett å lytte",
|
||||
"LabelContinueReading": "Fortsett å lese",
|
||||
"LabelContinueSeries": "Fortsett serie",
|
||||
"LabelCover": "Omslag",
|
||||
"LabelCoverImageURL": "Omslagsbilde URL",
|
||||
"LabelCreatedAt": "Dato opprettet",
|
||||
"LabelCronExpression": "Cron uttrykk",
|
||||
"LabelCurrent": "Nåværende",
|
||||
"LabelCurrently": "Nåværende:",
|
||||
"LabelCustomCronExpression": "Tilpasset Cron utrykk:",
|
||||
"LabelDatetime": "Dato tid",
|
||||
"LabelDescription": "Beskrivelse",
|
||||
"LabelDeselectAll": "Fjern valg",
|
||||
"LabelDevice": "Enhet",
|
||||
"LabelDeviceInfo": "Enhetsinformasjon",
|
||||
"LabelDirectory": "Mappe",
|
||||
"LabelDiscFromFilename": "Disk fra filnavn",
|
||||
"LabelDiscFromMetadata": "Disk fra metadata",
|
||||
"LabelDiscover": "Oppdag",
|
||||
"LabelDownload": "Last ned",
|
||||
"LabelDownloadNEpisodes": "Last ned {0} episoder",
|
||||
"LabelDuration": "Varighet",
|
||||
"LabelDurationFound": "Varighet funnet:",
|
||||
"LabelEbook": "Ebok",
|
||||
"LabelEbooks": "Ebøker",
|
||||
"LabelEdit": "Rediger",
|
||||
"LabelEmail": "Epost",
|
||||
"LabelEmailSettingsFromAddress": "Fra Adresse",
|
||||
"LabelEmailSettingsSecure": "Sikker",
|
||||
"LabelEmailSettingsSecureHelp": "Hvis aktivert, vil tilkoblingen bruke TLS under tilkobling til tjeneren. Ellers vil TLS bli brukt hvis tjeneren støtter STARTTLS utvidelsen. I de fleste tilfeller aktiver valget hvis du kobler til med port 465. Med port 587 eller 25 deaktiver valget. (fra nodemailer.com/smtp/#authentication)",
|
||||
"LabelEmailSettingsTestAddress": "Test Adresse",
|
||||
"LabelEmbeddedCover": "Bak inn omslag",
|
||||
"LabelEnable": "Aktiver",
|
||||
"LabelEnd": "Slutt",
|
||||
"LabelEpisode": "Episode",
|
||||
"LabelEpisodeTitle": "Episode tittel",
|
||||
"LabelEpisodeType": "Episode type",
|
||||
"LabelExample": "Eksempel",
|
||||
"LabelExplicit": "Eksplisitt",
|
||||
"LabelFeedURL": "Feed Adresse",
|
||||
"LabelFile": "Fil",
|
||||
"LabelFileBirthtime": "Fil Opprettelsesdato",
|
||||
"LabelFileModified": "Fil Endret",
|
||||
"LabelFilename": "Filnavn",
|
||||
"LabelFilterByUser": "Filtrer etter bruker",
|
||||
"LabelFindEpisodes": "Finn episoder",
|
||||
"LabelFinished": "Fullført",
|
||||
"LabelFolder": "Mappe",
|
||||
"LabelFolders": "Mapper",
|
||||
"LabelFontScale": "Font størrelse",
|
||||
"LabelFormat": "Format",
|
||||
"LabelGenre": "Sjanger",
|
||||
"LabelGenres": "Sjangers",
|
||||
"LabelHardDeleteFile": "Tving sletting av fil",
|
||||
"LabelHasEbook": "Har ebok",
|
||||
"LabelHasSupplementaryEbook": "Har supplerende ebok",
|
||||
"LabelHost": "Tjener",
|
||||
"LabelHour": "Time",
|
||||
"LabelIcon": "Ikon",
|
||||
"LabelIncludeInTracklist": "Inkluder i sporliste",
|
||||
"LabelIncomplete": "Ufullstendig",
|
||||
"LabelInProgress": "I gang",
|
||||
"LabelInterval": "Intervall",
|
||||
"LabelIntervalCustomDailyWeekly": "Egendefinert daglig/ukentlig",
|
||||
"LabelIntervalEvery12Hours": "Hver 12. timer",
|
||||
"LabelIntervalEvery15Minutes": "Hver 15. minutter",
|
||||
"LabelIntervalEvery2Hours": "Hver 2. timer",
|
||||
"LabelIntervalEvery30Minutes": "Hver 30. minutter",
|
||||
"LabelIntervalEvery6Hours": "Hver 6. timer",
|
||||
"LabelIntervalEveryDay": "Hver dag",
|
||||
"LabelIntervalEveryHour": "Hver time",
|
||||
"LabelInvalidParts": "Ugyldige deler",
|
||||
"LabelInvert": "Inverter",
|
||||
"LabelItem": "Enhet",
|
||||
"LabelLanguage": "Språk",
|
||||
"LabelLanguageDefaultServer": "Standard tjener språk",
|
||||
"LabelLastBookAdded": "Siste bok lagt til",
|
||||
"LabelLastBookUpdated": "Siste bok oppdatert",
|
||||
"LabelLastSeen": "Sist sett",
|
||||
"LabelLastTime": "Siste tid",
|
||||
"LabelLastUpdate": "Siste oppdatering",
|
||||
"LabelLayout": "Oppsett",
|
||||
"LabelLayoutSinglePage": "Enkel side",
|
||||
"LabelLayoutSplitPage": "Del side",
|
||||
"LabelLess": "Mindre",
|
||||
"LabelLibrariesAccessibleToUser": "Biblioteker tilgjengelig for bruker",
|
||||
"LabelLibrary": "Bibliotek",
|
||||
"LabelLibraryItem": "Bibliotek enhet",
|
||||
"LabelLibraryName": "Bibliotek navn",
|
||||
"LabelLimit": "Begrensning",
|
||||
"LabelLineSpacing": "Linjemellomrom",
|
||||
"LabelListenAgain": "Lytt på nytt",
|
||||
"LabelLogLevelDebug": "Debug",
|
||||
"LabelLogLevelInfo": "Info",
|
||||
"LabelLogLevelWarn": "Warn",
|
||||
"LabelLookForNewEpisodesAfterDate": "Se etter nye episoder etter denne datoen",
|
||||
"LabelMediaPlayer": "Mediespiller",
|
||||
"LabelMediaType": "Medie type",
|
||||
"LabelMetadataProvider": "Metadata Leverandør",
|
||||
"LabelMetaTag": "Meta Tag",
|
||||
"LabelMetaTags": "Meta Tags",
|
||||
"LabelMinute": "Minutt",
|
||||
"LabelMissing": "Mangler",
|
||||
"LabelMissingParts": "Manglende deler",
|
||||
"LabelMore": "Mer",
|
||||
"LabelMoreInfo": "Mer info",
|
||||
"LabelName": "Navn",
|
||||
"LabelNarrator": "Forteller",
|
||||
"LabelNarrators": "Fortellere",
|
||||
"LabelNew": "Ny",
|
||||
"LabelNewestAuthors": "Nyeste forfattere",
|
||||
"LabelNewestEpisodes": "Nyeste episoder",
|
||||
"LabelNewPassword": "Nytt passord",
|
||||
"LabelNextBackupDate": "Neste sikkerhetskopi dato",
|
||||
"LabelNextScheduledRun": "Neste planlagte kjøring",
|
||||
"LabelNoEpisodesSelected": "Ingen episoder valgt",
|
||||
"LabelNotes": "Notat",
|
||||
"LabelNotFinished": "Ikke fullført",
|
||||
"LabelNotificationAppriseURL": "Apprise URL(er)",
|
||||
"LabelNotificationAvailableVariables": "Tilgjengelige variabler",
|
||||
"LabelNotificationBodyTemplate": "Kroppsmal",
|
||||
"LabelNotificationEvent": "Notifikasjons hendelse",
|
||||
"LabelNotificationsMaxFailedAttempts": "Maks mislykkede forsøk",
|
||||
"LabelNotificationsMaxFailedAttemptsHelp": "Notifikasjoner er deaktivert når de mislykkes på sende dette flere ganger",
|
||||
"LabelNotificationsMaxQueueSize": "Maks kø lengde for Notifikasjonshendelser",
|
||||
"LabelNotificationsMaxQueueSizeHelp": "Hendelser er begrenset til avfyre 1 gang per sekund. Hendelser vil bli ignorert om køen er full. Dette forhindrer Notifikasjon spam.",
|
||||
"LabelNotificationTitleTemplate": "Tittel mal",
|
||||
"LabelNotStarted": "Ikke startet",
|
||||
"LabelNumberOfBooks": "Antall bøker",
|
||||
"LabelNumberOfEpisodes": "Antall episoder",
|
||||
"LabelOpenRSSFeed": "Åpne RSS Feed",
|
||||
"LabelOverwrite": "Overskriv",
|
||||
"LabelPassword": "Passord",
|
||||
"LabelPath": "Sti",
|
||||
"LabelPermissionsAccessAllLibraries": "Har tilgang til alle bibliotek",
|
||||
"LabelPermissionsAccessAllTags": "Har til gang til alle tags",
|
||||
"LabelPermissionsAccessExplicitContent": "Har tilgang til eksplisitt material",
|
||||
"LabelPermissionsDelete": "Kan slette",
|
||||
"LabelPermissionsDownload": "Kan laste ned",
|
||||
"LabelPermissionsUpdate": "Kan oppdatere",
|
||||
"LabelPermissionsUpload": "Kan laste opp",
|
||||
"LabelPhotoPathURL": "Bilde sti/URL",
|
||||
"LabelPlaylists": "Spilleliste",
|
||||
"LabelPlayMethod": "Avspillingsmetode",
|
||||
"LabelPodcast": "Podcast",
|
||||
"LabelPodcasts": "Podcaster",
|
||||
"LabelPodcastType": "Podcast type",
|
||||
"LabelPort": "Port",
|
||||
"LabelPrefixesToIgnore": "Prefiks som skal ignoreres (skiller ikke mellom store og små bokstaver)",
|
||||
"LabelPreventIndexing": "Forhindre at din feed fra å bli indeksert av iTunes og Google podcast kataloger",
|
||||
"LabelPrimaryEbook": "Primær ebok",
|
||||
"LabelProgress": "Framgang",
|
||||
"LabelProvider": "Tilbyder",
|
||||
"LabelPubDate": "Publiseringsdato",
|
||||
"LabelPublisher": "Forlegger",
|
||||
"LabelPublishYear": "Publikasjonsår",
|
||||
"LabelRead": "Les",
|
||||
"LabelReadAgain": "Les igjen",
|
||||
"LabelReadEbookWithoutProgress": "Les ebok uten å beholde fremgang",
|
||||
"LabelRecentlyAdded": "Nylig lagt til",
|
||||
"LabelRecentSeries": "Nylige serier",
|
||||
"LabelRecommended": "Anbefalte",
|
||||
"LabelRegion": "Region",
|
||||
"LabelReleaseDate": "Utgivelsesdato",
|
||||
"LabelRemoveCover": "Fjern omslag",
|
||||
"LabelRSSFeedCustomOwnerEmail": "Tilpasset eier Epost",
|
||||
"LabelRSSFeedCustomOwnerName": "Tilpasset eier Navn",
|
||||
"LabelRSSFeedOpen": "RSS Feed åpne",
|
||||
"LabelRSSFeedPreventIndexing": "Forhindre indeksering",
|
||||
"LabelRSSFeedSlug": "RSS Feed Slug",
|
||||
"LabelRSSFeedURL": "RSS Feed URL",
|
||||
"LabelSearchTerm": "Søkeord",
|
||||
"LabelSearchTitle": "Søk tittel",
|
||||
"LabelSearchTitleOrASIN": "Søk tittel eller ASIN",
|
||||
"LabelSeason": "Sesong",
|
||||
"LabelSelectAllEpisodes": "Velg alle episoder",
|
||||
"LabelSelectEpisodesShowing": "Velg {0} episoder vist",
|
||||
"LabelSendEbookToDevice": "Send Ebok til...",
|
||||
"LabelSequence": "Sekvens",
|
||||
"LabelSeries": "Serier",
|
||||
"LabelSeriesName": "Serier Navn",
|
||||
"LabelSeriesProgress": "Serier fremgang",
|
||||
"LabelSetEbookAsPrimary": "Sett som primær",
|
||||
"LabelSetEbookAsSupplementary": "Sett som supplerende",
|
||||
"LabelSettingsAudiobooksOnly": "Kun lydbøker",
|
||||
"LabelSettingsAudiobooksOnlyHelp": "Aktivering av dette valget til ignorere ebok filer utenom de er i en lydbok mappe hvor de vil bli satt som supplerende ebøker",
|
||||
"LabelSettingsBookshelfViewHelp": "Skeuomorf design med hyller av ved",
|
||||
"LabelSettingsChromecastSupport": "Chromecast støtte",
|
||||
"LabelSettingsDateFormat": "Dato Format",
|
||||
"LabelSettingsDisableWatcher": "Deaktiver overvåker",
|
||||
"LabelSettingsDisableWatcherForLibrary": "Deaktiver mappe overvåker for bibliotek",
|
||||
"LabelSettingsDisableWatcherHelp": "Deaktiverer automatisk opprettelse/oppdatering av enheter når filendringer er oppdaget. *Krever restart av server*",
|
||||
"LabelSettingsEnableWatcher": "Aktiver overvåker",
|
||||
"LabelSettingsEnableWatcherForLibrary": "Aktiver mappe overvåker for bibliotek",
|
||||
"LabelSettingsEnableWatcherHelp": "Aktiverer automatisk opprettelse/oppdatering av enheter når filendringer er oppdaget. *Krever restart av server*",
|
||||
"LabelSettingsExperimentalFeatures": "Eksperimentelle funksjoner",
|
||||
"LabelSettingsExperimentalFeaturesHelp": "Funksjoner under utvikling som kan trenge din tilbakemelding og hjelp med testing. Klikk for å åpne GitHub diskusjon.",
|
||||
"LabelSettingsFindCovers": "Finn omslag",
|
||||
"LabelSettingsFindCoversHelp": "Hvis lydboken ikke har innbakt omslag eller ett omslagsbilde i mappen, vil skanneren prøve å finne ett.<br>Notis: Dette vil øke søketiden",
|
||||
"LabelSettingsHideSingleBookSeries": "Gjem bokserie med en bok",
|
||||
"LabelSettingsHideSingleBookSeriesHelp": "Serier som har kun en bok vil bli gjemt på serie- og hjemmeside hyllen.",
|
||||
"LabelSettingsHomePageBookshelfView": "Hjemmeside bruk bokhyllevisning",
|
||||
"LabelSettingsLibraryBookshelfView": "Bibliotek bruk bokhyllevisning",
|
||||
"LabelSettingsOverdriveMediaMarkers": "Bruk Overdrive mediemerker for kapittel",
|
||||
"LabelSettingsOverdriveMediaMarkersHelp": "MP3 filer fra Overdrive kommer med kapittel tider bakt inn so egendefinert metadata. Aktiveres dette vil disse taggene bli brukt som kapittel tider automatisk",
|
||||
"LabelSettingsParseSubtitles": "Analyser undertekster",
|
||||
"LabelSettingsParseSubtitlesHelp": "Trekk ut undertekster fra lydbok mappenavn.<br>undertekster må være separert med \" - \"<br>f.eks. \"Boktittel - Undertekst her\" har Undertekst \"Undertekst her\"",
|
||||
"LabelSettingsPreferAudioMetadata": "Foretrekk lyd metadata",
|
||||
"LabelSettingsPreferAudioMetadataHelp": "Lydfil ID3 meta tagger vil bli brukt som bokdetaljer i stedet fro mappenavn",
|
||||
"LabelSettingsPreferMatchedMetadata": "Foretrekk funnet metadata",
|
||||
"LabelSettingsPreferMatchedMetadataHelp": "Funnet data vil overskrive enhetens detaljene når man bruker Kjapt søk. Som standard vil Kjapt søk kun fylle inn manglende detaljer.",
|
||||
"LabelSettingsPreferOPFMetadata": "Foretrekk OPF metadata",
|
||||
"LabelSettingsPreferOPFMetadataHelp": "OPF fil metadata vil bli brukt som bokdetaljer i stedet fro mappenavn",
|
||||
"LabelSettingsSkipMatchingBooksWithASIN": "Hopp over bøker som allerede har ASIN",
|
||||
"LabelSettingsSkipMatchingBooksWithISBN": "Hopp over bøker som allerede har ISBN",
|
||||
"LabelSettingsSortingIgnorePrefixes": "Ignorer prefiks når under sortering",
|
||||
"LabelSettingsSortingIgnorePrefixesHelp": "f.eks. for prefiks \"Den\" bok tittel \"Den Lille Havfruen\" vil bli sortert som \"Lille havfruen, Den\"",
|
||||
"LabelSettingsSquareBookCovers": "Bruk kvadratiske bokomslag",
|
||||
"LabelSettingsSquareBookCoversHelp": "Foretrekk å bruke kvadratiske bokomslag i stedet for den standard 1.6:1 bokomslag",
|
||||
"LabelSettingsStoreCoversWithItem": "Lagre bokomslag med gjenstand",
|
||||
"LabelSettingsStoreCoversWithItemHelp": "Som standard vil bokomslag bli lagret under /metadata/items, aktiveres dette valget vil bokomslag bli lagret i samme mappe som gjenstanden. Kun en fil med navn \"cover\" vil bli beholdt",
|
||||
"LabelSettingsStoreMetadataWithItem": "Lagre metadata med gjenstand",
|
||||
"LabelSettingsStoreMetadataWithItemHelp": "Som standard vil metadata bli lagret under /metadata/items, aktiveres dette valget vil metadata bli lagret i samme mappe som gjenstanden. Bruker .abs filetternavn",
|
||||
"LabelSettingsTimeFormat": "Tid format",
|
||||
"LabelShowAll": "Vis alt",
|
||||
"LabelSize": "Størrelse",
|
||||
"LabelSleepTimer": "Sove-timer",
|
||||
"LabelSlug": "Slug",
|
||||
"LabelStart": "Start",
|
||||
"LabelStarted": "Startet",
|
||||
"LabelStartedAt": "Startet",
|
||||
"LabelStartTime": "Start Tid",
|
||||
"LabelStatsAudioTracks": "Lydspor",
|
||||
"LabelStatsAuthors": "Forfattere",
|
||||
"LabelStatsBestDay": "Beste dag",
|
||||
"LabelStatsDailyAverage": "Daglig gjennomsnitt",
|
||||
"LabelStatsDays": "Dager",
|
||||
"LabelStatsDaysListened": "Dager lyttet",
|
||||
"LabelStatsHours": "Timer",
|
||||
"LabelStatsInARow": "på rad",
|
||||
"LabelStatsItemsFinished": "Gjenstander fullført",
|
||||
"LabelStatsItemsInLibrary": "Gjenstander i biblioteket",
|
||||
"LabelStatsMinutes": "minuter",
|
||||
"LabelStatsMinutesListening": "Minutter lyttet",
|
||||
"LabelStatsOverallDays": "Totale dager",
|
||||
"LabelStatsOverallHours": "Totale timer",
|
||||
"LabelStatsWeekListening": "Uker lyttet",
|
||||
"LabelSubtitle": "undertekster",
|
||||
"LabelSupportedFileTypes": "Støttede filtyper",
|
||||
"LabelTag": "Tag",
|
||||
"LabelTags": "Tagger",
|
||||
"LabelTagsAccessibleToUser": "Tagger tilgjengelig for bruker",
|
||||
"LabelTagsNotAccessibleToUser": "Tagger ikke tilgjengelig for bruker",
|
||||
"LabelTasks": "Oppgaver som kjører",
|
||||
"LabelTheme": "Tema",
|
||||
"LabelThemeDark": "Mørk",
|
||||
"LabelThemeLight": "Lys",
|
||||
"LabelTimeBase": "Tidsbase",
|
||||
"LabelTimeListened": "Tid lyttet",
|
||||
"LabelTimeListenedToday": "Tid lyttet idag",
|
||||
"LabelTimeRemaining": "{0} gjennstående",
|
||||
"LabelTimeToShift": "Tid å forflytte i sekunder",
|
||||
"LabelTitle": "Tittel",
|
||||
"LabelToolsEmbedMetadata": "Bak inn metadata",
|
||||
"LabelToolsEmbedMetadataDescription": "Bak inn metadata i lydfilen, inkludert omslagsbilde og kapitler.",
|
||||
"LabelToolsMakeM4b": "Lag M4B Lydbokfil",
|
||||
"LabelToolsMakeM4bDescription": "Lager en.M4B lydbokfil med innbakte omslagsbilde og kapitler.",
|
||||
"LabelToolsSplitM4b": "Del M4B inn i MP3er",
|
||||
"LabelToolsSplitM4bDescription": "Lager MP3er fra en M4B inndelt i kapitler med innbakt metadata, omslagsbilde og kapitler.",
|
||||
"LabelTotalDuration": "Total lengde",
|
||||
"LabelTotalTimeListened": "Total tid lyttet",
|
||||
"LabelTrackFromFilename": "Spor fra Filnavn",
|
||||
"LabelTrackFromMetadata": "Spor fra Metadata",
|
||||
"LabelTracks": "Spor",
|
||||
"LabelTracksMultiTrack": "Flerspor",
|
||||
"LabelTracksNone": "Ingen spor",
|
||||
"LabelTracksSingleTrack": "Enkelspor",
|
||||
"LabelType": "Type",
|
||||
"LabelUnabridged": "Uavkortet",
|
||||
"LabelUnknown": "Ukjent",
|
||||
"LabelUpdateCover": "Oppdater omslag",
|
||||
"LabelUpdateCoverHelp": "Tillat overskriving av eksisterende omslag for de valgte bøkene når en lik bok er funnet",
|
||||
"LabelUpdatedAt": "Oppdatert",
|
||||
"LabelUpdateDetails": "Oppdater detaljer",
|
||||
"LabelUpdateDetailsHelp": "Tillat overskriving av eksisterende detaljer for de valgte bøkene når en lik bok er funnet",
|
||||
"LabelUploaderDragAndDrop": "Dra og slipp filer eller mapper",
|
||||
"LabelUploaderDropFiles": "Slipp filer",
|
||||
"LabelUseChapterTrack": "Bruk kapittelspor",
|
||||
"LabelUseFullTrack": "Bruke hele sporet",
|
||||
"LabelUser": "Bruker",
|
||||
"LabelUsername": "Brukernavn",
|
||||
"LabelValue": "Verdi",
|
||||
"LabelVersion": "Versjon",
|
||||
"LabelViewBookmarks": "Vis bokmerker",
|
||||
"LabelViewChapters": "Vis kapitler",
|
||||
"LabelViewQueue": "Vis spillerkø",
|
||||
"LabelVolume": "Volum",
|
||||
"LabelWeekdaysToRun": "Ukedager å kjøre",
|
||||
"LabelYourAudiobookDuration": "Din lydbok lengde",
|
||||
"LabelYourBookmarks": "Dine bokmerker",
|
||||
"LabelYourPlaylists": "Dine spillelister",
|
||||
"LabelYourProgress": "Din fremgang",
|
||||
"MessageAddToPlayerQueue": "Legg til i kø",
|
||||
"MessageAppriseDescription": "For å bruke denne funksjonen trenger du en instans av <a href=\"https://github.com/caronc/apprise-api\" target=\"_blank\">Apprise API</a> kjørende eller ett api som vil håndere disse forespørslene. <br />Apprise API Url skal være den fulle URL stien for å sende Notifikasjonen, f.eks., hvis din API instans er hos <code>http://192.168.1.1:8337</code> vil du bruke <code>http://192.168.1.1:8337/notify</code>.",
|
||||
"MessageBackupsDescription": "Sikkerhetskopier inkluderer, brukerfremgang, detaljer om bibliotekgjenstander, tjener instillinger og bilder lagret under <code>/metadata/items</code> og <code>/metadata/authors</code>. Sikkerhetskopier <strong>vil ikke</strong> inkludere filer som er lagret i bibliotek mappene.",
|
||||
"MessageBatchQuickMatchDescription": "Kjapt søk vil forsøke å legge til manglende omslag og metadata for de valgte gjenstandene. Aktiver dette valget for å tillate Kjapt søk til å overskrive eksisterende omslag og/eller metadata.",
|
||||
"MessageBookshelfNoCollections": "Du har ikke laget noen samlinger ennå",
|
||||
"MessageBookshelfNoResultsForFilter": "Ingen resultat for filter \"{0}: {1}\"",
|
||||
"MessageBookshelfNoRSSFeeds": "Ingen RSS feed er åpen",
|
||||
"MessageBookshelfNoSeries": "Du har ingen serier",
|
||||
"MessageChapterEndIsAfter": "Kapittel slutt er etter slutt av lydboken",
|
||||
"MessageChapterErrorFirstNotZero": "Første kapittel starter på 0",
|
||||
"MessageChapterErrorStartGteDuration": "Feil start tid, må være mindre enn lengde på lydbok",
|
||||
"MessageChapterErrorStartLtPrev": "Feil start tid, må være større eller det samme som forrige kapittel start tid",
|
||||
"MessageChapterStartIsAfter": "Kapittel start er etter slutten av din lydbok",
|
||||
"MessageCheckingCron": "Sjekker cron...",
|
||||
"MessageConfirmCloseFeed": "Er du sikker på at du vil lukke denne feeden?",
|
||||
"MessageConfirmDeleteBackup": "Er du sikker på at du vil slette sikkerhetskopi for {0}?",
|
||||
"MessageConfirmDeleteFile": "Dette vil slette filen fra filsystemet. Er du sikker?",
|
||||
"MessageConfirmDeleteLibrary": "Er du sikker på at du vil slette biblioteket \"{0}\" for godt?",
|
||||
"MessageConfirmDeleteSession": "Er du sikker på at du vil slette denne sesjonen?",
|
||||
"MessageConfirmForceReScan": "Er du sikker på at du vil tvinge en ny skann?",
|
||||
"MessageConfirmMarkAllEpisodesFinished": "Er du sikker på at du vil markere alle episodene som fullført?",
|
||||
"MessageConfirmMarkAllEpisodesNotFinished": "Er du sikker på at du vil markere alle episodene som ikke fullført?",
|
||||
"MessageConfirmMarkSeriesFinished": "Er du sikker på at du vil markere alle bøkene i serien som fullført?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Er du sikker på at du vil markere alle bøkene i serien som ikke fullført?",
|
||||
"MessageConfirmRemoveAllChapters": "Er du sikker på at du vil fjerne alle kapitler?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "Er du sikker på at du vil fjerne samling\"{0}\"?",
|
||||
"MessageConfirmRemoveEpisode": "Er du sikker på at du vil fjerne episode \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisodes": "Er du sikker på at du vil fjerne {0} episoder?",
|
||||
"MessageConfirmRemoveNarrator": "Er du sikker på at du vil fjerne forteller \"{0}\"?",
|
||||
"MessageConfirmRemovePlaylist": "Er du sikker på at du vil fjerne spillelisten \"{0}\"?",
|
||||
"MessageConfirmRenameGenre": "Er du sikker på at du vil endre sjanger \"{0}\" til \"{1}\" for alle gjenstandene?",
|
||||
"MessageConfirmRenameGenreMergeNote": "Notis: Denne sjangeren finnes allerede så de vil bli slått sammen.",
|
||||
"MessageConfirmRenameGenreWarning": "Advarsel! En lignende sjanger eksisterer allerede (med forsjellige store / små bokstaver) \"{0}\".",
|
||||
"MessageConfirmRenameTag": "Er du sikker på at du vil endre tag \"{0}\" til \"{1}\" for alle gjenstandene?",
|
||||
"MessageConfirmRenameTagMergeNote": "Notis: Denne taggen finnes allerede så de vil bli slått sammen.",
|
||||
"MessageConfirmRenameTagWarning": "Advarsel! En lignende tag eksisterer allerede (med forsjellige store / små bokstaver) \"{0}\".",
|
||||
"MessageConfirmSendEbookToDevice": "Er du sikker på at du vil sende {0} ebok \"{1}\" til enhet \"{2}\"?",
|
||||
"MessageDownloadingEpisode": "Laster ned episode",
|
||||
"MessageDragFilesIntoTrackOrder": "Dra filene i rett spor rekkefølge",
|
||||
"MessageEmbedFinished": "Bak inn Fullført!",
|
||||
"MessageEpisodesQueuedForDownload": "{0} Episode(r) lagt til i kø for nedlasting",
|
||||
"MessageFeedURLWillBe": "Feed URL vil bli {0}",
|
||||
"MessageFetching": "Henter...",
|
||||
"MessageForceReScanDescription": "vil skanne alle filene igjen som en ny skann. Lyd fil ID3 tagger, OPF filer og tekstfiler vil bli skannet som nye.",
|
||||
"MessageImportantNotice": "Viktig varsel!",
|
||||
"MessageInsertChapterBelow": "Sett inn kapittel under",
|
||||
"MessageItemsSelected": "{0} Gjenstander valgt",
|
||||
"MessageItemsUpdated": "{0} Gjenstander oppdatert",
|
||||
"MessageJoinUsOn": "Følg oss nå",
|
||||
"MessageListeningSessionsInTheLastYear": "{0} Lyttesesjoner iløpet av siste året",
|
||||
"MessageLoading": "Laster...",
|
||||
"MessageLoadingFolders": "Laster mapper...",
|
||||
"MessageM4BFailed": "M4B mislykkes!",
|
||||
"MessageM4BFinished": "M4B fullført!",
|
||||
"MessageMapChapterTitles": "Bruk kapittel titler fra din eksisterende lydbok kapitler uten å justere tidsstempel",
|
||||
"MessageMarkAllEpisodesFinished": "Marker alle episoder som fullført",
|
||||
"MessageMarkAllEpisodesNotFinished": "Marker alle episoder som ikke fullført",
|
||||
"MessageMarkAsFinished": "Marker som Fullført",
|
||||
"MessageMarkAsNotFinished": "Marker som Ikke Fullført",
|
||||
"MessageMatchBooksDescription": "vil forsøke å oppdatere en bok i ditt bibliotek med en bok fra den valgte søketilbyderen og legge til manglende detaljer og omslag. Overskriver ikke detaljer.",
|
||||
"MessageNoAudioTracks": "Ingen lydspor",
|
||||
"MessageNoAuthors": "Ingen forfatter",
|
||||
"MessageNoBackups": "Ingen sikkerhetskopier",
|
||||
"MessageNoBookmarks": "Ingen bokmerker",
|
||||
"MessageNoChapters": "Ingen kapitler",
|
||||
"MessageNoCollections": "Ingen samlinger",
|
||||
"MessageNoCoversFound": "Ingen omslagsbilde funnet",
|
||||
"MessageNoDescription": "Ingen beskrivelse",
|
||||
"MessageNoDownloadsInProgress": "Ingen aktive nedlastinger",
|
||||
"MessageNoDownloadsQueued": "Ingen nedlastinger i kø",
|
||||
"MessageNoEpisodeMatchesFound": "Ingen lik episode funnet",
|
||||
"MessageNoEpisodes": "Ingen Episoder",
|
||||
"MessageNoFoldersAvailable": "Ingen mapper tilgjengelige",
|
||||
"MessageNoGenres": "Ingen sjangere",
|
||||
"MessageNoIssues": "Ingen feil",
|
||||
"MessageNoItems": "Ingen gjenstander",
|
||||
"MessageNoItemsFound": "Ingen gjenstander funnet",
|
||||
"MessageNoListeningSessions": "Ingen Lyttesesjoner",
|
||||
"MessageNoLogs": "Ingen logger",
|
||||
"MessageNoMediaProgress": "Ingen mediefremgang",
|
||||
"MessageNoNotifications": "Ingen notifikasjoner",
|
||||
"MessageNoPodcastsFound": "Ingen podcaster funnet",
|
||||
"MessageNoResults": "Ingen resultat",
|
||||
"MessageNoSearchResultsFor": "Ingen søkeresultat for \"{0}\"",
|
||||
"MessageNoSeries": "Ingen serier",
|
||||
"MessageNoTags": "Ingen tags",
|
||||
"MessageNoTasksRunning": "Ingen oppgaver kjører",
|
||||
"MessageNotYetImplemented": "Ikke implementert ennå",
|
||||
"MessageNoUpdateNecessary": "Ingen oppdatering nødvendig",
|
||||
"MessageNoUpdatesWereNecessary": "Ingen oppdatering var nødvendig",
|
||||
"MessageNoUserPlaylists": "Du har ingen spillelister",
|
||||
"MessageOr": "eller",
|
||||
"MessagePauseChapter": "Pause avspilling av kapittel",
|
||||
"MessagePlayChapter": "Lytter på begynnelsen av kapittel",
|
||||
"MessagePlaylistCreateFromCollection": "Lag spilleliste fra samling",
|
||||
"MessagePodcastHasNoRSSFeedForMatching": "Podcast har ingen RSS feed url til bruk av sammenligning",
|
||||
"MessageQuickMatchDescription": "Fyll inn tomme gjenstandsdetaljer og omslagsbilde med første resultat fra '{0}'. Overskriver ikke detaljene utenom 'Foretrekk funnet metadata' tjenerinstilling er aktivert.",
|
||||
"MessageRemoveChapter": "fjerne kapittel",
|
||||
"MessageRemoveEpisodes": "fjerne {0} kapitler",
|
||||
"MessageRemoveFromPlayerQueue": "fjerne fra avspillingskø",
|
||||
"MessageRemoveUserWarning": "Er du sikker på at du vil slette bruker \"{0}\" for godt?",
|
||||
"MessageReportBugsAndContribute": "Rapporter feil, forespør funksjoner og tillegg og bidra på",
|
||||
"MessageResetChaptersConfirm": "Er du sikker på at du vil nullstille kapitler og angre endringene du har gjort?",
|
||||
"MessageRestoreBackupConfirm": "Er du sikker på at du vil gjenopprette sikkerhetskopien som var laget",
|
||||
"MessageRestoreBackupWarning": "gjenoppretting av sikkerhetskopi vil overskrive hele databasen under /config og omslagsbilde under /metadata/items og /metadata/authors.<br /><br />Sikkerhetskopier endrer ikke noen filer under dine bibliotekmapper. Hvis du har aktivert tjenerinstillingen for å lagre omslagsbilder og metadata i bibliotekmapper så vil ikke de filene bli tatt sikkerhetskopi eller overskrevet.<br /><br />Alle klientene som bruker din tjener vil bli fornyet automatisk.",
|
||||
"MessageSearchResultsFor": "Søk resultat for",
|
||||
"MessageServerCouldNotBeReached": "Tjener kunne ikke bli nådd",
|
||||
"MessageSetChaptersFromTracksDescription": "Sett kapitler ved å bruke hver lydfil som kapittel og kapitteltittel som lydfilnavnet",
|
||||
"MessageStartPlaybackAtTime": "Start avspilling av \"{0}\" ved {1}?",
|
||||
"MessageThinking": "Tenker...",
|
||||
"MessageUploaderItemFailed": "Opplastning mislykkes",
|
||||
"MessageUploaderItemSuccess": "Opplastning fullført!",
|
||||
"MessageUploading": "Laster opp...",
|
||||
"MessageValidCronExpression": "Gjyldig cron uttrykk",
|
||||
"MessageWatcherIsDisabledGlobally": "Overvåer er deaktivert globalt i tjenerinstillingene",
|
||||
"MessageXLibraryIsEmpty": "{0} Bibliotek er tumt!",
|
||||
"MessageYourAudiobookDurationIsLonger": "Lydboklengden er lengre enn lengde som var funnet",
|
||||
"MessageYourAudiobookDurationIsShorter": "Lydboklengden er kortere enn lengde som var funnet",
|
||||
"NoteChangeRootPassword": "Root-bruker er eneste bruker som kan ha tumt passord",
|
||||
"NoteChapterEditorTimes": "Notis: Første kapittel start tid må være 0:00 og siste kapittel start tid kan ikke overskride denne lydbokens lengde.",
|
||||
"NoteFolderPicker": "Notis: allerede funnet mapper vil ikke bli vist",
|
||||
"NoteFolderPickerDebian": "Notis: Mappevelger for debian er ikke fullstendig implementert. Du burde skrive inn stien til biblioteket direkte.",
|
||||
"NoteRSSFeedPodcastAppsHttps": "Advarsel! De fleste podcast applikasjoner trenger RSS feed URL som bruker HTTPS",
|
||||
"NoteRSSFeedPodcastAppsPubDate": "Advarsel! 1 eller flere av episodene har ikke publikasjonsdato. Noen podcast applikasjoner trenger dette.",
|
||||
"NoteUploaderFoldersWithMediaFiles": "Mapper med mediefiler vil bli behandlet som separate bibliotekgjenstander.",
|
||||
"NoteUploaderOnlyAudioFiles": "Om man laster opp kun lydfiler så vil hver lydfil bli behandlet som en separat lydbok.",
|
||||
"NoteUploaderUnsupportedFiles": "Filer som ikke er støttet vil bli ignorert. Når man velger eller slipper en mappe, filer som ikke er en mappe vil bli ignorert.",
|
||||
"PlaceholderNewCollection": "Ny samlingsnavn",
|
||||
"PlaceholderNewFolderPath": "Ny mappesti",
|
||||
"PlaceholderNewPlaylist": "Ny spillelistenavn",
|
||||
"PlaceholderSearch": "Søk..",
|
||||
"PlaceholderSearchEpisode": "Søk episode..",
|
||||
"ToastAccountUpdateFailed": "Mislykkes å oppdatere konto",
|
||||
"ToastAccountUpdateSuccess": "Konto oppdatert",
|
||||
"ToastAuthorImageRemoveFailed": "Mislykkes å fjerne bilde",
|
||||
"ToastAuthorImageRemoveSuccess": "Forfatter bilde fjernet",
|
||||
"ToastAuthorUpdateFailed": "Mislykkes å oppdatere forfatter",
|
||||
"ToastAuthorUpdateMerged": "Forfatter slått sammen",
|
||||
"ToastAuthorUpdateSuccess": "Forfatter oppdatert",
|
||||
"ToastAuthorUpdateSuccessNoImageFound": "Forfatter oppdater (ingen bilde funnet)",
|
||||
"ToastBackupCreateFailed": "Mislykkes å lage sikkerhetskopi",
|
||||
"ToastBackupCreateSuccess": "Sikkerhetskopi opprettet",
|
||||
"ToastBackupDeleteFailed": "Mislykkes å slette sikkerhetskopi",
|
||||
"ToastBackupDeleteSuccess": "Sikkerhetskopi slettet",
|
||||
"ToastBackupRestoreFailed": "Misslykkes å gjenopprette sikkerhetskopi",
|
||||
"ToastBackupUploadFailed": "Misslykkes å laste opp sikkerhetskopi",
|
||||
"ToastBackupUploadSuccess": "Sikkerhetskopi lastet opp",
|
||||
"ToastBatchUpdateFailed": "Bulk oppdatering mislykket",
|
||||
"ToastBatchUpdateSuccess": "Bulk oppdatering fullført",
|
||||
"ToastBookmarkCreateFailed": "Misslykkes å opprette bokmerke",
|
||||
"ToastBookmarkCreateSuccess": "Bokmerke lagt til",
|
||||
"ToastBookmarkRemoveFailed": "Misslykkes å fjerne bokmerke",
|
||||
"ToastBookmarkRemoveSuccess": "Bokmerke fjernet",
|
||||
"ToastBookmarkUpdateFailed": "Misslykkes å oppdatere bokmerke",
|
||||
"ToastBookmarkUpdateSuccess": "Bokmerke oppdatert",
|
||||
"ToastChaptersHaveErrors": "Kapittel har feil",
|
||||
"ToastChaptersMustHaveTitles": "Kapittel må ha titler",
|
||||
"ToastCollectionItemsRemoveFailed": "Misslykkes å fjerne gjenstand(er) fra samling",
|
||||
"ToastCollectionItemsRemoveSuccess": "Gjenstand(er) fjernet fra samling",
|
||||
"ToastCollectionRemoveFailed": "Misslykkes å fjerne samling",
|
||||
"ToastCollectionRemoveSuccess": "Samling fjernet",
|
||||
"ToastCollectionUpdateFailed": "Misslykkes å oppdatere samling",
|
||||
"ToastCollectionUpdateSuccess": "samlingupdated",
|
||||
"ToastItemCoverUpdateFailed": "Misslykkes å oppdatere omslag",
|
||||
"ToastItemCoverUpdateSuccess": "Omslag oppdatert",
|
||||
"ToastItemDetailsUpdateFailed": "Misslykkes å oppdatere detaljer",
|
||||
"ToastItemDetailsUpdateSuccess": "Detaljer oppdatert",
|
||||
"ToastItemDetailsUpdateUnneeded": "Ingen oppdateringer nødvendig for detaljer",
|
||||
"ToastItemMarkedAsFinishedFailed": "Misslykkes å markere som Fullført",
|
||||
"ToastItemMarkedAsFinishedSuccess": "Gjenstand marker som Fullført",
|
||||
"ToastItemMarkedAsNotFinishedFailed": "Misslykkes å markere som Ikke Fullført",
|
||||
"ToastItemMarkedAsNotFinishedSuccess": "Markert som Ikke Fullført",
|
||||
"ToastLibraryCreateFailed": "Misslykkes å opprette bibliotek",
|
||||
"ToastLibraryCreateSuccess": "Bibliotek \"{0}\" opprettet",
|
||||
"ToastLibraryDeleteFailed": "Misslykkes å slette bibliotek",
|
||||
"ToastLibraryDeleteSuccess": "Bibliotek slettet",
|
||||
"ToastLibraryScanFailedToStart": "Misslykkes å starte skann",
|
||||
"ToastLibraryScanStarted": "Bibliotek skann startet",
|
||||
"ToastLibraryUpdateFailed": "Misslykkes å oppdatere bibiliotek",
|
||||
"ToastLibraryUpdateSuccess": "Bibliotek \"{0}\" oppdatert",
|
||||
"ToastPlaylistCreateFailed": "Misslykkes å opprette spilleliste",
|
||||
"ToastPlaylistCreateSuccess": "Spilleliste opprettet",
|
||||
"ToastPlaylistRemoveFailed": "Misslykkes å fjerne spilleliste",
|
||||
"ToastPlaylistRemoveSuccess": "Spilleliste fjernet",
|
||||
"ToastPlaylistUpdateFailed": "Misslykkes å oppdatere spilleliste",
|
||||
"ToastPlaylistUpdateSuccess": "Spilleliste oppdatert",
|
||||
"ToastPodcastCreateFailed": "Misslykkes å opprette podcast",
|
||||
"ToastPodcastCreateSuccess": "Podcast opprettet",
|
||||
"ToastRemoveItemFromCollectionFailed": "Misslykkes å fjerne gjenstsand fra samling",
|
||||
"ToastRemoveItemFromCollectionSuccess": "Gjenstand fjernet fra samling",
|
||||
"ToastRSSFeedCloseFailed": "Misslykkes å lukke RSS feed",
|
||||
"ToastRSSFeedCloseSuccess": "RSS feed lukket",
|
||||
"ToastSendEbookToDeviceFailed": "Misslykkes å sende ebok",
|
||||
"ToastSendEbookToDeviceSuccess": "Ebok sendt til \"{0}\"",
|
||||
"ToastSeriesUpdateFailed": "Misslykkes å oppdatere serie",
|
||||
"ToastSeriesUpdateSuccess": "Serie oppdatert",
|
||||
"ToastSessionDeleteFailed": "Misslykkes å slette sesjon",
|
||||
"ToastSessionDeleteSuccess": "Sesjon slettet",
|
||||
"ToastSocketConnected": "Socket koblet til",
|
||||
"ToastSocketDisconnected": "Socket koblet fra",
|
||||
"ToastSocketFailedToConnect": "Misslykkes å koble til Socket",
|
||||
"ToastUserDeleteFailed": "Misslykkes å slette bruker",
|
||||
"ToastUserDeleteSuccess": "Bruker slettet"
|
||||
}
|
@ -186,6 +186,7 @@
|
||||
"LabelAuthors": "Autorzy",
|
||||
"LabelAutoDownloadEpisodes": "Automatyczne pobieranie odcinków",
|
||||
"LabelBackToUser": "Powrót",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "Włącz automatyczne kopie zapasowe",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Kopie zapasowe są zapisywane w folderze /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "Maksymalny łączny rozmiar backupów (w GB)",
|
||||
@ -533,6 +534,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "Are you sure you want to mark all books in this series as finished?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Are you sure you want to mark all books in this series as not finished?",
|
||||
"MessageConfirmRemoveAllChapters": "Are you sure you want to remove all chapters?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "Czy na pewno chcesz usunąć kolekcję \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisode": "Czy na pewno chcesz usunąć odcinek \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisodes": "Czy na pewno chcesz usunąć {0} odcinki?",
|
||||
|
@ -186,6 +186,7 @@
|
||||
"LabelAuthors": "Авторы",
|
||||
"LabelAutoDownloadEpisodes": "Скачивать эпизоды автоматически",
|
||||
"LabelBackToUser": "Назад к пользователю",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "Включить автоматическое бэкапирование",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "Бэкапы сохраняются в /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "Максимальный размер бэкапа (в GB)",
|
||||
@ -533,6 +534,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "Вы уверены, что хотите отметить все книги этой серии как завершенные?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "Вы уверены, что хотите отметить все книги этой серии как не завершенные?",
|
||||
"MessageConfirmRemoveAllChapters": "Вы уверены, что хотите удалить все главы?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "Вы уверены, что хотите удалить коллекцию \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisode": "Вы уверены, что хотите удалить эпизод \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisodes": "Вы уверены, что хотите удалить {0} эпизодов?",
|
||||
|
@ -186,6 +186,7 @@
|
||||
"LabelAuthors": "作者",
|
||||
"LabelAutoDownloadEpisodes": "自动下载剧集",
|
||||
"LabelBackToUser": "返回到用户",
|
||||
"LabelBackupLocation": "Backup Location",
|
||||
"LabelBackupsEnableAutomaticBackups": "启用自动备份",
|
||||
"LabelBackupsEnableAutomaticBackupsHelp": "备份保存到 /metadata/backups",
|
||||
"LabelBackupsMaxBackupSize": "最大备份大小 (GB)",
|
||||
@ -533,6 +534,7 @@
|
||||
"MessageConfirmMarkSeriesFinished": "你确定要将此系列中的所有书籍都标记为已听完吗?",
|
||||
"MessageConfirmMarkSeriesNotFinished": "你确定要将此系列中的所有书籍都标记为未听完吗?",
|
||||
"MessageConfirmRemoveAllChapters": "你确定要移除所有章节吗?",
|
||||
"MessageConfirmRemoveAuthor": "Are you sure you want to remove author \"{0}\"?",
|
||||
"MessageConfirmRemoveCollection": "您确定要移除收藏 \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisode": "您确定要移除剧集 \"{0}\"?",
|
||||
"MessageConfirmRemoveEpisodes": "你确定要移除 {0} 剧集?",
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "audiobookshelf",
|
||||
"version": "2.4.3",
|
||||
"version": "2.4.4",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "audiobookshelf",
|
||||
"version": "2.4.3",
|
||||
"version": "2.4.4",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"axios": "^0.27.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "audiobookshelf",
|
||||
"version": "2.4.3",
|
||||
"version": "2.4.4",
|
||||
"description": "Self-hosted audiobook and podcast server",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -166,10 +166,25 @@ class Database {
|
||||
*/
|
||||
async connect() {
|
||||
Logger.info(`[Database] Initializing db at "${this.dbPath}"`)
|
||||
|
||||
let logging = false
|
||||
let benchmark = false
|
||||
if (process.env.QUERY_LOGGING === "log") {
|
||||
// Setting QUERY_LOGGING=log will log all Sequelize queries before they run
|
||||
Logger.info(`[Database] Query logging enabled`)
|
||||
logging = (query) => Logger.dev(`Running the following query:\n ${query}`)
|
||||
} else if (process.env.QUERY_LOGGING === "benchmark") {
|
||||
// Setting QUERY_LOGGING=benchmark will log all Sequelize queries and their execution times, after they run
|
||||
Logger.info(`[Database] Query benchmarking enabled"`)
|
||||
logging = (query, time) => Logger.dev(`Ran the following query in ${time}ms:\n ${query}`)
|
||||
benchmark = true
|
||||
}
|
||||
|
||||
this.sequelize = new Sequelize({
|
||||
dialect: 'sqlite',
|
||||
storage: this.dbPath,
|
||||
logging: false,
|
||||
logging: logging,
|
||||
benchmark: benchmark,
|
||||
transactionType: 'IMMEDIATE'
|
||||
})
|
||||
|
||||
|
@ -92,7 +92,7 @@ class Logger {
|
||||
* @param {...any} args
|
||||
*/
|
||||
dev(...args) {
|
||||
if (!this.isDev) return
|
||||
if (!this.isDev || process.env.HIDE_DEV_LOGS === '1') return
|
||||
console.log(`[${this.timestamp}] DEV:`, ...args)
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,8 @@ class FolderWatcher extends EventEmitter {
|
||||
this.ignoreDirs = []
|
||||
/** @type {string[]} */
|
||||
this.pendingDirsToRemoveFromIgnore = []
|
||||
/** @type {NodeJS.Timeout} */
|
||||
this.removeFromIgnoreTimer = null
|
||||
|
||||
this.disabled = false
|
||||
}
|
||||
@ -240,9 +242,12 @@ class FolderWatcher extends EventEmitter {
|
||||
*/
|
||||
addIgnoreDir(path) {
|
||||
path = this.cleanDirPath(path)
|
||||
if (this.ignoreDirs.includes(path)) return
|
||||
this.pendingDirsToRemoveFromIgnore = this.pendingDirsToRemoveFromIgnore.filter(p => p !== path)
|
||||
Logger.debug(`[Watcher] Ignoring directory "${path}"`)
|
||||
if (this.ignoreDirs.includes(path)) {
|
||||
// Already ignoring dir
|
||||
return
|
||||
}
|
||||
Logger.debug(`[Watcher] addIgnoreDir: Ignoring directory "${path}"`)
|
||||
this.ignoreDirs.push(path)
|
||||
}
|
||||
|
||||
@ -255,18 +260,24 @@ class FolderWatcher extends EventEmitter {
|
||||
*/
|
||||
removeIgnoreDir(path) {
|
||||
path = this.cleanDirPath(path)
|
||||
if (!this.ignoreDirs.includes(path) || this.pendingDirsToRemoveFromIgnore.includes(path)) return
|
||||
if (!this.ignoreDirs.includes(path)) {
|
||||
Logger.debug(`[Watcher] removeIgnoreDir: Path is not being ignored "${path}"`)
|
||||
return
|
||||
}
|
||||
|
||||
// Add a 5 second delay before removing the ignore from this dir
|
||||
this.pendingDirsToRemoveFromIgnore.push(path)
|
||||
setTimeout(() => {
|
||||
if (!this.pendingDirsToRemoveFromIgnore.includes(path)) {
|
||||
this.pendingDirsToRemoveFromIgnore.push(path)
|
||||
}
|
||||
|
||||
clearTimeout(this.removeFromIgnoreTimer)
|
||||
this.removeFromIgnoreTimer = setTimeout(() => {
|
||||
if (this.pendingDirsToRemoveFromIgnore.includes(path)) {
|
||||
this.pendingDirsToRemoveFromIgnore = this.pendingDirsToRemoveFromIgnore.filter(p => p !== path)
|
||||
Logger.debug(`[Watcher] No longer ignoring directory "${path}"`)
|
||||
Logger.debug(`[Watcher] removeIgnoreDir: No longer ignoring directory "${path}"`)
|
||||
this.ignoreDirs = this.ignoreDirs.filter(p => p !== path)
|
||||
}
|
||||
}, 5000)
|
||||
|
||||
}
|
||||
}
|
||||
module.exports = FolderWatcher
|
@ -167,6 +167,30 @@ class AuthorController {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* DELETE: /api/authors/:id
|
||||
* Remove author from all books and delete
|
||||
*
|
||||
* @param {import('express').Request} req
|
||||
* @param {import('express').Response} res
|
||||
*/
|
||||
async delete(req, res) {
|
||||
Logger.info(`[AuthorController] Removing author "${req.author.name}"`)
|
||||
|
||||
await Database.authorModel.removeById(req.author.id)
|
||||
|
||||
if (req.author.imagePath) {
|
||||
await CacheManager.purgeImageCache(req.author.id) // Purge cache
|
||||
}
|
||||
|
||||
SocketAuthority.emitter('author_removed', req.author.toJSON())
|
||||
|
||||
// Update filter data
|
||||
Database.removeAuthorFromFilterData(req.author.libraryId, req.author.id)
|
||||
|
||||
res.sendStatus(200)
|
||||
}
|
||||
|
||||
async match(req, res) {
|
||||
let authorData = null
|
||||
const region = req.body.region || 'us'
|
||||
|
@ -6,7 +6,8 @@ class BackupController {
|
||||
|
||||
getAll(req, res) {
|
||||
res.json({
|
||||
backups: this.backupManager.backups.map(b => b.toJSON())
|
||||
backups: this.backupManager.backups.map(b => b.toJSON()),
|
||||
backupLocation: this.backupManager.backupLocation
|
||||
})
|
||||
}
|
||||
|
||||
@ -42,6 +43,9 @@ class BackupController {
|
||||
Logger.debug(`Use X-Accel to serve static file ${encodedURI}`)
|
||||
return res.status(204).header({ 'X-Accel-Redirect': encodedURI }).send()
|
||||
}
|
||||
|
||||
res.setHeader('Content-disposition', 'attachment; filename=' + req.backup.filename)
|
||||
|
||||
res.sendFile(req.backup.fullPath)
|
||||
}
|
||||
|
||||
@ -65,4 +69,4 @@ class BackupController {
|
||||
next()
|
||||
}
|
||||
}
|
||||
module.exports = new BackupController()
|
||||
module.exports = new BackupController()
|
||||
|
@ -620,7 +620,7 @@ class LibraryController {
|
||||
model: Database.bookModel,
|
||||
attributes: ['id', 'tags', 'explicit'],
|
||||
where: bookWhere,
|
||||
required: true,
|
||||
required: false,
|
||||
through: {
|
||||
attributes: []
|
||||
}
|
||||
|
@ -225,15 +225,45 @@ class LibraryItemController {
|
||||
res.sendStatus(200)
|
||||
}
|
||||
|
||||
// GET api/items/:id/cover
|
||||
/**
|
||||
* GET: api/items/:id/cover
|
||||
*
|
||||
* @param {import('express').Request} req
|
||||
* @param {import('express').Response} res
|
||||
*/
|
||||
async getCover(req, res) {
|
||||
const { query: { width, height, format, raw }, libraryItem } = req
|
||||
const { query: { width, height, format, raw } } = req
|
||||
|
||||
const libraryItem = await Database.libraryItemModel.findByPk(req.params.id, {
|
||||
attributes: ['id', 'mediaType', 'mediaId', 'libraryId'],
|
||||
include: [
|
||||
{
|
||||
model: Database.bookModel,
|
||||
attributes: ['id', 'coverPath', 'tags', 'explicit']
|
||||
},
|
||||
{
|
||||
model: Database.podcastModel,
|
||||
attributes: ['id', 'coverPath', 'tags', 'explicit']
|
||||
}
|
||||
]
|
||||
})
|
||||
if (!libraryItem) {
|
||||
Logger.warn(`[LibraryItemController] getCover: Library item "${req.params.id}" does not exist`)
|
||||
return res.sendStatus(404)
|
||||
}
|
||||
|
||||
// Check if user can access this library item
|
||||
if (!req.user.checkCanAccessLibraryItemWithData(libraryItem.libraryId, libraryItem.media.explicit, libraryItem.media.tags)) {
|
||||
return res.sendStatus(403)
|
||||
}
|
||||
|
||||
// Check if library item media has a cover path
|
||||
if (!libraryItem.media.coverPath || !await fs.pathExists(libraryItem.media.coverPath)) {
|
||||
Logger.debug(`[LibraryItemController] getCover: Library item "${req.params.id}" has no cover path`)
|
||||
return res.sendStatus(404)
|
||||
}
|
||||
|
||||
if (raw) { // any value
|
||||
if (!libraryItem.media.coverPath || !await fs.pathExists(libraryItem.media.coverPath)) {
|
||||
return res.sendStatus(404)
|
||||
}
|
||||
|
||||
if (global.XAccel) {
|
||||
const encodedURI = encodeUriPath(global.XAccel + libraryItem.media.coverPath)
|
||||
Logger.debug(`Use X-Accel to serve static file ${encodedURI}`)
|
||||
@ -247,13 +277,7 @@ class LibraryItemController {
|
||||
height: height ? parseInt(height) : null,
|
||||
width: width ? parseInt(width) : null
|
||||
}
|
||||
return CacheManager.handleCoverCache(res, libraryItem, options)
|
||||
}
|
||||
|
||||
// GET: api/items/:id/stream
|
||||
openStream(req, res) {
|
||||
// this.streamManager.openStreamApiRequest(res, req.user, req.libraryItem)
|
||||
res.sendStatus(500)
|
||||
return CacheManager.handleCoverCache(res, libraryItem.id, libraryItem.media.coverPath, options)
|
||||
}
|
||||
|
||||
// POST: api/items/:id/play
|
||||
|
@ -196,7 +196,7 @@ class MeController {
|
||||
|
||||
const libraryItem = await Database.libraryItemModel.getOldById(localProgress.libraryItemId)
|
||||
if (!libraryItem) {
|
||||
Logger.error(`[MeController] syncLocalMediaProgress invalid local media progress object no library item`, localProgress)
|
||||
Logger.error(`[MeController] syncLocalMediaProgress invalid local media progress object no library item with id "${localProgress.libraryItemId}"`, localProgress)
|
||||
continue
|
||||
}
|
||||
|
||||
|
@ -91,7 +91,7 @@ class PodcastController {
|
||||
|
||||
res.json(libraryItem.toJSONExpanded())
|
||||
|
||||
if (payload.episodesToDownload && payload.episodesToDownload.length) {
|
||||
if (payload.episodesToDownload?.length) {
|
||||
Logger.info(`[PodcastController] Podcast created now starting ${payload.episodesToDownload.length} episode downloads`)
|
||||
this.podcastManager.downloadPodcastEpisodes(libraryItem, payload.episodesToDownload)
|
||||
}
|
||||
|
@ -52,21 +52,19 @@ class BookFinder {
|
||||
cleanTitleForCompares(title) {
|
||||
if (!title) return ''
|
||||
// Remove subtitle if there (i.e. "Cool Book: Coolest Ever" becomes "Cool Book")
|
||||
var stripped = this.stripSubtitle(title)
|
||||
let stripped = this.stripSubtitle(title)
|
||||
|
||||
// Remove text in paranthesis (i.e. "Ender's Game (Ender's Saga)" becomes "Ender's Game")
|
||||
var cleaned = stripped.replace(/ *\([^)]*\) */g, "")
|
||||
let cleaned = stripped.replace(/ *\([^)]*\) */g, "")
|
||||
|
||||
// Remove single quotes (i.e. "Ender's Game" becomes "Enders Game")
|
||||
cleaned = cleaned.replace(/'/g, '')
|
||||
cleaned = this.replaceAccentedChars(cleaned)
|
||||
return cleaned.toLowerCase()
|
||||
return this.replaceAccentedChars(cleaned)
|
||||
}
|
||||
|
||||
cleanAuthorForCompares(author) {
|
||||
if (!author) return ''
|
||||
var cleaned = this.replaceAccentedChars(author)
|
||||
return cleaned.toLowerCase()
|
||||
return this.replaceAccentedChars(author)
|
||||
}
|
||||
|
||||
filterSearchResults(books, title, author, maxTitleDistance, maxAuthorDistance) {
|
||||
@ -181,12 +179,134 @@ class BookFinder {
|
||||
return books
|
||||
}
|
||||
|
||||
addTitleCandidate(title, candidates) {
|
||||
// Main variant
|
||||
const cleanTitle = this.cleanTitleForCompares(title).trim()
|
||||
if (!cleanTitle) return
|
||||
candidates.add(cleanTitle)
|
||||
|
||||
let candidate = cleanTitle
|
||||
|
||||
// Remove subtitle
|
||||
candidate = candidate.replace(/([,:;_]| by ).*/g, "").trim()
|
||||
if (candidate)
|
||||
candidates.add(candidate)
|
||||
|
||||
// Remove preceding/trailing numbers
|
||||
candidate = candidate.replace(/^\d+ | \d+$/g, "").trim()
|
||||
if (candidate)
|
||||
candidates.add(candidate)
|
||||
|
||||
// Remove bitrate
|
||||
candidate = candidate.replace(/(^| )\d+k(bps)?( |$)/, " ").trim()
|
||||
if (candidate)
|
||||
candidates.add(candidate)
|
||||
|
||||
// Remove edition
|
||||
candidate = candidate.replace(/ (2nd|3rd|\d+th)\s+ed(\.|ition)?/, "").trim()
|
||||
if (candidate)
|
||||
candidates.add(candidate)
|
||||
}
|
||||
|
||||
/**
|
||||
* Search for books including fuzzy searches
|
||||
*
|
||||
* @param {string} provider
|
||||
* @param {string} title
|
||||
* @param {string} author
|
||||
* @param {string} isbn
|
||||
* @param {string} asin
|
||||
* @param {{titleDistance:number, authorDistance:number, maxFuzzySearches:number}} options
|
||||
* @returns {Promise<Object[]>}
|
||||
*/
|
||||
async search(provider, title, author, isbn, asin, options = {}) {
|
||||
var books = []
|
||||
var maxTitleDistance = !isNaN(options.titleDistance) ? Number(options.titleDistance) : 4
|
||||
var maxAuthorDistance = !isNaN(options.authorDistance) ? Number(options.authorDistance) : 4
|
||||
let books = []
|
||||
const maxTitleDistance = !isNaN(options.titleDistance) ? Number(options.titleDistance) : 4
|
||||
const maxAuthorDistance = !isNaN(options.authorDistance) ? Number(options.authorDistance) : 4
|
||||
const maxFuzzySearches = !isNaN(options.maxFuzzySearches) ? Number(options.maxFuzzySearches) : 5
|
||||
let numFuzzySearches = 0
|
||||
|
||||
if (!title)
|
||||
return books
|
||||
|
||||
books = await this.runSearch(title, author, provider, asin, maxTitleDistance, maxAuthorDistance)
|
||||
|
||||
if (!books.length && maxFuzzySearches > 0) {
|
||||
// normalize title and author
|
||||
title = title.trim().toLowerCase()
|
||||
author = author.trim().toLowerCase()
|
||||
|
||||
// Now run up to maxFuzzySearches fuzzy searches
|
||||
let candidates = new Set()
|
||||
let cleanedAuthor = this.cleanAuthorForCompares(author)
|
||||
this.addTitleCandidate(title, candidates)
|
||||
|
||||
// remove parentheses and their contents, and replace with a separator
|
||||
const cleanTitle = title.replace(/\[.*?\]|\(.*?\)|{.*?}/g, " - ")
|
||||
// Split title into hypen-separated parts
|
||||
const titleParts = cleanTitle.split(/ - | -|- /)
|
||||
for (const titlePart of titleParts) {
|
||||
this.addTitleCandidate(titlePart, candidates)
|
||||
}
|
||||
// We already searched for original title
|
||||
if (author == cleanedAuthor) candidates.delete(title)
|
||||
if (candidates.size > 0) {
|
||||
candidates = [...candidates]
|
||||
candidates.sort((a, b) => {
|
||||
// Candidates that include the author are likely low quality
|
||||
const includesAuthorDiff = !b.includes(cleanedAuthor) - !a.includes(cleanedAuthor)
|
||||
if (includesAuthorDiff) return includesAuthorDiff
|
||||
// Candidates that include only digits are also likely low quality
|
||||
const onlyDigits = /^\d+$/
|
||||
const includesOnlyDigitsDiff = !onlyDigits.test(b) - !onlyDigits.test(a)
|
||||
if (includesOnlyDigitsDiff) return includesOnlyDigitsDiff
|
||||
// Start with longer candidaets, as they are likely more specific
|
||||
const lengthDiff = b.length - a.length
|
||||
if (lengthDiff) return lengthDiff
|
||||
return b.localeCompare(a)
|
||||
})
|
||||
Logger.debug(`[BookFinder] Found ${candidates.length} fuzzy title candidates`, candidates)
|
||||
for (const candidate of candidates) {
|
||||
if (++numFuzzySearches > maxFuzzySearches) return books
|
||||
books = await this.runSearch(candidate, cleanedAuthor, provider, asin, maxTitleDistance, maxAuthorDistance)
|
||||
if (books.length) break
|
||||
}
|
||||
if (!books.length) {
|
||||
// Now try searching without the author
|
||||
for (const candidate of candidates) {
|
||||
if (++numFuzzySearches > maxFuzzySearches) return books
|
||||
books = await this.runSearch(candidate, '', provider, asin, maxTitleDistance, maxAuthorDistance)
|
||||
if (books.length) break
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (provider === 'openlibrary') {
|
||||
books.sort((a, b) => {
|
||||
return a.totalDistance - b.totalDistance
|
||||
})
|
||||
}
|
||||
|
||||
return books
|
||||
}
|
||||
|
||||
/**
|
||||
* Search for books
|
||||
*
|
||||
* @param {string} title
|
||||
* @param {string} author
|
||||
* @param {string} provider
|
||||
* @param {string} asin only used for audible providers
|
||||
* @param {number} maxTitleDistance only used for openlibrary provider
|
||||
* @param {number} maxAuthorDistance only used for openlibrary provider
|
||||
* @returns {Promise<Object[]>}
|
||||
*/
|
||||
async runSearch(title, author, provider, asin, maxTitleDistance, maxAuthorDistance) {
|
||||
Logger.debug(`Book Search: title: "${title}", author: "${author || ''}", provider: ${provider}`)
|
||||
|
||||
let books = []
|
||||
|
||||
if (provider === 'google') {
|
||||
books = await this.getGoogleBooksResults(title, author)
|
||||
} else if (provider.startsWith('audible')) {
|
||||
@ -203,23 +323,6 @@ class BookFinder {
|
||||
else {
|
||||
books = await this.getGoogleBooksResults(title, author)
|
||||
}
|
||||
|
||||
if (!books.length && !options.currentlyTryingCleaned) {
|
||||
var cleanedTitle = this.cleanTitleForCompares(title)
|
||||
var cleanedAuthor = this.cleanAuthorForCompares(author)
|
||||
if (cleanedTitle == title && cleanedAuthor == author) return books
|
||||
|
||||
Logger.debug(`Book Search, no matches.. checking cleaned title and author`)
|
||||
options.currentlyTryingCleaned = true
|
||||
return this.search(provider, cleanedTitle, cleanedAuthor, isbn, asin, options)
|
||||
}
|
||||
|
||||
if (provider === 'openlibrary') {
|
||||
books.sort((a, b) => {
|
||||
return a.totalDistance - b.totalDistance
|
||||
})
|
||||
}
|
||||
|
||||
return books
|
||||
}
|
||||
|
||||
@ -253,4 +356,4 @@ class BookFinder {
|
||||
return this.audnexus.getChaptersByASIN(asin, region)
|
||||
}
|
||||
}
|
||||
module.exports = new BookFinder()
|
||||
module.exports = new BookFinder()
|
||||
|
@ -26,6 +26,10 @@ class BackupManager {
|
||||
this.backups = []
|
||||
}
|
||||
|
||||
get backupLocation() {
|
||||
return this.BackupPath
|
||||
}
|
||||
|
||||
get backupSchedule() {
|
||||
return global.ServerSettings.backupSchedule
|
||||
}
|
||||
@ -96,7 +100,7 @@ class BackupManager {
|
||||
let entries
|
||||
try {
|
||||
entries = await zip.entries()
|
||||
} catch(error){
|
||||
} catch (error) {
|
||||
// Not a valid zip file
|
||||
Logger.error('[BackupManager] Failed to read backup file - backup might not be a valid .zip file', tempPath, error)
|
||||
return res.status(400).send('Failed to read backup file - backup might not be a valid .zip file')
|
||||
@ -178,7 +182,6 @@ class BackupManager {
|
||||
data = await zip.entryData('details')
|
||||
} catch (error) {
|
||||
Logger.error(`[BackupManager] Failed to unzip backup "${fullFilePath}"`, error)
|
||||
await zip.close()
|
||||
continue
|
||||
}
|
||||
|
||||
|
@ -39,14 +39,14 @@ class CacheManager {
|
||||
}
|
||||
}
|
||||
|
||||
async handleCoverCache(res, libraryItem, options = {}) {
|
||||
async handleCoverCache(res, libraryItemId, coverPath, options = {}) {
|
||||
const format = options.format || 'webp'
|
||||
const width = options.width || 400
|
||||
const height = options.height || null
|
||||
|
||||
res.type(`image/${format}`)
|
||||
|
||||
const path = Path.join(this.CoverCachePath, `${libraryItem.id}_${width}${height ? `x${height}` : ''}`) + '.' + format
|
||||
const path = Path.join(this.CoverCachePath, `${libraryItemId}_${width}${height ? `x${height}` : ''}`) + '.' + format
|
||||
|
||||
// Cache exists
|
||||
if (await fs.pathExists(path)) {
|
||||
@ -67,11 +67,7 @@ class CacheManager {
|
||||
return ps.pipe(res)
|
||||
}
|
||||
|
||||
if (!libraryItem.media.coverPath || !await fs.pathExists(libraryItem.media.coverPath)) {
|
||||
return res.sendStatus(500)
|
||||
}
|
||||
|
||||
const writtenFile = await resizeImage(libraryItem.media.coverPath, path, width, height)
|
||||
const writtenFile = await resizeImage(coverPath, path, width, height)
|
||||
if (!writtenFile) return res.sendStatus(500)
|
||||
|
||||
if (global.XAccel) {
|
||||
|
@ -47,10 +47,14 @@ class BookAuthor extends Model {
|
||||
book.belongsToMany(author, { through: BookAuthor })
|
||||
author.belongsToMany(book, { through: BookAuthor })
|
||||
|
||||
book.hasMany(BookAuthor)
|
||||
book.hasMany(BookAuthor, {
|
||||
onDelete: 'CASCADE'
|
||||
})
|
||||
BookAuthor.belongsTo(book)
|
||||
|
||||
author.hasMany(BookAuthor)
|
||||
author.hasMany(BookAuthor, {
|
||||
onDelete: 'CASCADE'
|
||||
})
|
||||
BookAuthor.belongsTo(author)
|
||||
}
|
||||
}
|
||||
|
@ -176,6 +176,8 @@ class Feed extends Model {
|
||||
if (!existingFeed) return false
|
||||
|
||||
let hasUpdates = false
|
||||
|
||||
// Remove and update existing feed episodes
|
||||
for (const feedEpisode of existingFeed.feedEpisodes) {
|
||||
const oldFeedEpisode = oldFeedEpisodes.find(ep => ep.id === feedEpisode.id)
|
||||
// Episode removed
|
||||
@ -196,6 +198,14 @@ class Feed extends Model {
|
||||
}
|
||||
}
|
||||
|
||||
// Add new feed episodes
|
||||
for (const episode of oldFeedEpisodes) {
|
||||
if (!existingFeed.feedEpisodes.some(fe => fe.id === episode.id)) {
|
||||
await this.sequelize.models.feedEpisode.createFromOld(feedObj.id, episode)
|
||||
hasUpdates = true
|
||||
}
|
||||
}
|
||||
|
||||
let feedHasUpdates = false
|
||||
for (const key in feedObj) {
|
||||
let existingValue = existingFeed[key]
|
||||
|
@ -63,6 +63,19 @@ class FeedEpisode extends Model {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Create feed episode from old model
|
||||
*
|
||||
* @param {string} feedId
|
||||
* @param {Object} oldFeedEpisode
|
||||
* @returns {Promise<FeedEpisode>}
|
||||
*/
|
||||
static createFromOld(feedId, oldFeedEpisode) {
|
||||
const newEpisode = this.getFromOld(oldFeedEpisode)
|
||||
newEpisode.feedId = feedId
|
||||
return this.create(newEpisode)
|
||||
}
|
||||
|
||||
static getFromOld(oldFeedEpisode) {
|
||||
return {
|
||||
id: oldFeedEpisode.id,
|
||||
|
@ -794,6 +794,9 @@ class LibraryItem extends Model {
|
||||
{
|
||||
fields: ['libraryId', 'mediaType']
|
||||
},
|
||||
{
|
||||
fields: ['libraryId', 'mediaId', 'mediaType']
|
||||
},
|
||||
{
|
||||
fields: ['birthtime']
|
||||
},
|
||||
|
@ -168,7 +168,13 @@ class PlaybackSession {
|
||||
this.currentTime = session.currentTime || 0
|
||||
|
||||
this.startedAt = session.startedAt
|
||||
this.updatedAt = session.updatedAt || null
|
||||
this.updatedAt = session.updatedAt || session.startedAt
|
||||
|
||||
// Local playback sessions dont set this date field so set using updatedAt
|
||||
if (!this.date && session.updatedAt) {
|
||||
this.date = date.format(new Date(session.updatedAt), 'YYYY-MM-DD')
|
||||
this.dayOfWeek = date.format(new Date(session.updatedAt), 'dddd')
|
||||
}
|
||||
}
|
||||
|
||||
get mediaItemId() {
|
||||
|
@ -208,6 +208,7 @@ class ServerSettings {
|
||||
loggerScannerLogsToKeep: this.loggerScannerLogsToKeep,
|
||||
homeBookshelfView: this.homeBookshelfView,
|
||||
bookshelfView: this.bookshelfView,
|
||||
podcastEpisodeSchedule: this.podcastEpisodeSchedule,
|
||||
sortingIgnorePrefix: this.sortingIgnorePrefix,
|
||||
sortingPrefixes: [...this.sortingPrefixes],
|
||||
chromecastEnabled: this.chromecastEnabled,
|
||||
|
@ -326,6 +326,18 @@ class User {
|
||||
return this.checkCanAccessLibraryItemWithTags(libraryItem.media.tags)
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if a user can access a library item
|
||||
* @param {string} libraryId
|
||||
* @param {boolean} explicit
|
||||
* @param {string[]} tags
|
||||
*/
|
||||
checkCanAccessLibraryItemWithData(libraryId, explicit, tags) {
|
||||
if (!this.checkCanAccessLibrary(libraryId)) return false
|
||||
if (explicit && !this.canAccessExplicitContent) return false
|
||||
return this.checkCanAccessLibraryItemWithTags(tags)
|
||||
}
|
||||
|
||||
findBookmark(libraryItemId, time) {
|
||||
return this.bookmarks.find(bm => bm.libraryItemId === libraryItemId && bm.time == time)
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ class ApiRouter {
|
||||
this.router.delete('/items/:id', LibraryItemController.middleware.bind(this), LibraryItemController.delete.bind(this))
|
||||
this.router.get('/items/:id/download', LibraryItemController.middleware.bind(this), LibraryItemController.download.bind(this))
|
||||
this.router.patch('/items/:id/media', LibraryItemController.middleware.bind(this), LibraryItemController.updateMedia.bind(this))
|
||||
this.router.get('/items/:id/cover', LibraryItemController.middleware.bind(this), LibraryItemController.getCover.bind(this))
|
||||
this.router.get('/items/:id/cover', LibraryItemController.getCover.bind(this))
|
||||
this.router.post('/items/:id/cover', LibraryItemController.middleware.bind(this), LibraryItemController.uploadCover.bind(this))
|
||||
this.router.patch('/items/:id/cover', LibraryItemController.middleware.bind(this), LibraryItemController.updateCover.bind(this))
|
||||
this.router.delete('/items/:id/cover', LibraryItemController.middleware.bind(this), LibraryItemController.removeCover.bind(this))
|
||||
@ -199,6 +199,7 @@ class ApiRouter {
|
||||
//
|
||||
this.router.get('/authors/:id', AuthorController.middleware.bind(this), AuthorController.findOne.bind(this))
|
||||
this.router.patch('/authors/:id', AuthorController.middleware.bind(this), AuthorController.update.bind(this))
|
||||
this.router.delete('/authors/:id', AuthorController.middleware.bind(this), AuthorController.delete.bind(this))
|
||||
this.router.post('/authors/:id/match', AuthorController.middleware.bind(this), AuthorController.match.bind(this))
|
||||
this.router.get('/authors/:id/image', AuthorController.middleware.bind(this), AuthorController.getImage.bind(this))
|
||||
|
||||
|
@ -168,9 +168,7 @@ class BookScanner {
|
||||
hasMediaChanges = true
|
||||
}
|
||||
|
||||
// TODO: When metadata file is stored in /metadata/items/{libraryItemId}.[abs|json] we should load this
|
||||
// TODO: store an additional array of metadata keys that the user has changed manually so we know what not to override
|
||||
const bookMetadata = await this.getBookMetadataFromScanData(media.audioFiles, libraryItemData, libraryScan)
|
||||
const bookMetadata = await this.getBookMetadataFromScanData(media.audioFiles, libraryItemData, libraryScan, existingLibraryItem.id)
|
||||
let authorsUpdated = false
|
||||
const bookAuthorsRemoved = []
|
||||
let seriesUpdated = false
|
||||
@ -550,9 +548,10 @@ class BookScanner {
|
||||
* @param {import('../models/Book').AudioFileObject[]} audioFiles
|
||||
* @param {import('./LibraryItemScanData')} libraryItemData
|
||||
* @param {LibraryScan} libraryScan
|
||||
* @param {string} [existingLibraryItemId]
|
||||
* @returns {Promise<BookMetadataObject>}
|
||||
*/
|
||||
async getBookMetadataFromScanData(audioFiles, libraryItemData, libraryScan) {
|
||||
async getBookMetadataFromScanData(audioFiles, libraryItemData, libraryScan, existingLibraryItemId = null) {
|
||||
// First set book metadata from folder/file names
|
||||
const bookMetadata = {
|
||||
title: libraryItemData.mediaMetadata.title,
|
||||
@ -722,11 +721,31 @@ class BookScanner {
|
||||
|
||||
// If metadata.json or metadata.abs use this for metadata
|
||||
const metadataLibraryFile = libraryItemData.metadataJsonLibraryFile || libraryItemData.metadataAbsLibraryFile
|
||||
const metadataText = metadataLibraryFile ? await readTextFile(metadataLibraryFile.metadata.path) : null
|
||||
let metadataText = metadataLibraryFile ? await readTextFile(metadataLibraryFile.metadata.path) : null
|
||||
let metadataFilePath = metadataLibraryFile?.metadata.path
|
||||
let metadataFileFormat = libraryItemData.metadataJsonLibraryFile ? 'json' : 'abs'
|
||||
|
||||
// When metadata file is not stored with library item then check in the /metadata/items folder for it
|
||||
if (!metadataText && existingLibraryItemId) {
|
||||
let metadataPath = Path.join(global.MetadataPath, 'items', existingLibraryItemId)
|
||||
|
||||
let altFormat = global.ServerSettings.metadataFileFormat === 'json' ? 'abs' : 'json'
|
||||
// First check the metadata format set in server settings, fallback to the alternate
|
||||
metadataFilePath = Path.join(metadataPath, `metadata.${global.ServerSettings.metadataFileFormat}`)
|
||||
metadataFileFormat = global.ServerSettings.metadataFileFormat
|
||||
if (await fsExtra.pathExists(metadataFilePath)) {
|
||||
metadataText = await readTextFile(metadataFilePath)
|
||||
} else if (await fsExtra.pathExists(Path.join(metadataPath, `metadata.${altFormat}`))) {
|
||||
metadataFilePath = Path.join(metadataPath, `metadata.${altFormat}`)
|
||||
metadataFileFormat = altFormat
|
||||
metadataText = await readTextFile(metadataFilePath)
|
||||
}
|
||||
}
|
||||
|
||||
if (metadataText) {
|
||||
libraryScan.addLog(LogLevel.INFO, `Found metadata file "${metadataLibraryFile.metadata.path}" - preferring`)
|
||||
libraryScan.addLog(LogLevel.INFO, `Found metadata file "${metadataFilePath}" - preferring`)
|
||||
let abMetadata = null
|
||||
if (!!libraryItemData.metadataJsonLibraryFile) {
|
||||
if (metadataFileFormat === 'json') {
|
||||
abMetadata = abmetadataGenerator.parseJson(metadataText)
|
||||
} else {
|
||||
abMetadata = abmetadataGenerator.parse(metadataText, 'book')
|
||||
@ -1092,7 +1111,7 @@ class BookScanner {
|
||||
const result = await CoverManager.downloadCoverFromUrlNew(results[i], libraryItemId, libraryItemPath)
|
||||
|
||||
if (result.error) {
|
||||
Logger.error(`[Scanner] Failed to download cover from url "${results[i]}" | Attempt ${i + 1}`, result.error)
|
||||
libraryScan.addLog(LogLevel.ERROR, `Failed to download cover from url "${results[i]}" | Attempt ${i + 1}`, result.error)
|
||||
} else if (result.cover) {
|
||||
return result.cover
|
||||
}
|
||||
|
@ -145,8 +145,7 @@ class PodcastScanner {
|
||||
hasMediaChanges = true
|
||||
}
|
||||
|
||||
// TODO: When metadata file is stored in /metadata/items/{libraryItemId}.[abs|json] we should load this
|
||||
const podcastMetadata = await this.getPodcastMetadataFromScanData(existingPodcastEpisodes, libraryItemData, libraryScan)
|
||||
const podcastMetadata = await this.getPodcastMetadataFromScanData(existingPodcastEpisodes, libraryItemData, libraryScan, existingLibraryItem.id)
|
||||
|
||||
for (const key in podcastMetadata) {
|
||||
// Ignore unset metadata and empty arrays
|
||||
@ -312,9 +311,10 @@ class PodcastScanner {
|
||||
* @param {PodcastEpisode[]} podcastEpisodes Not the models for new podcasts
|
||||
* @param {import('./LibraryItemScanData')} libraryItemData
|
||||
* @param {import('./LibraryScan')} libraryScan
|
||||
* @param {string} [existingLibraryItemId]
|
||||
* @returns {Promise<PodcastMetadataObject>}
|
||||
*/
|
||||
async getPodcastMetadataFromScanData(podcastEpisodes, libraryItemData, libraryScan) {
|
||||
async getPodcastMetadataFromScanData(podcastEpisodes, libraryItemData, libraryScan, existingLibraryItemId = null) {
|
||||
const podcastMetadata = {
|
||||
title: libraryItemData.mediaMetadata.title,
|
||||
titleIgnorePrefix: getTitleIgnorePrefix(libraryItemData.mediaMetadata.title),
|
||||
@ -389,11 +389,31 @@ class PodcastScanner {
|
||||
|
||||
// If metadata.json or metadata.abs use this for metadata
|
||||
const metadataLibraryFile = libraryItemData.metadataJsonLibraryFile || libraryItemData.metadataAbsLibraryFile
|
||||
const metadataText = metadataLibraryFile ? await readTextFile(metadataLibraryFile.metadata.path) : null
|
||||
let metadataText = metadataLibraryFile ? await readTextFile(metadataLibraryFile.metadata.path) : null
|
||||
let metadataFilePath = metadataLibraryFile?.metadata.path
|
||||
let metadataFileFormat = libraryItemData.metadataJsonLibraryFile ? 'json' : 'abs'
|
||||
|
||||
// When metadata file is not stored with library item then check in the /metadata/items folder for it
|
||||
if (!metadataText && existingLibraryItemId) {
|
||||
let metadataPath = Path.join(global.MetadataPath, 'items', existingLibraryItemId)
|
||||
|
||||
let altFormat = global.ServerSettings.metadataFileFormat === 'json' ? 'abs' : 'json'
|
||||
// First check the metadata format set in server settings, fallback to the alternate
|
||||
metadataFilePath = Path.join(metadataPath, `metadata.${global.ServerSettings.metadataFileFormat}`)
|
||||
metadataFileFormat = global.ServerSettings.metadataFileFormat
|
||||
if (await fsExtra.pathExists(metadataFilePath)) {
|
||||
metadataText = await readTextFile(metadataFilePath)
|
||||
} else if (await fsExtra.pathExists(Path.join(metadataPath, `metadata.${altFormat}`))) {
|
||||
metadataFilePath = Path.join(metadataPath, `metadata.${altFormat}`)
|
||||
metadataFileFormat = altFormat
|
||||
metadataText = await readTextFile(metadataFilePath)
|
||||
}
|
||||
}
|
||||
|
||||
if (metadataText) {
|
||||
libraryScan.addLog(LogLevel.INFO, `Found metadata file "${metadataLibraryFile.metadata.path}" - preferring`)
|
||||
libraryScan.addLog(LogLevel.INFO, `Found metadata file "${metadataFilePath}" - preferring`)
|
||||
let abMetadata = null
|
||||
if (!!libraryItemData.metadataJsonLibraryFile) {
|
||||
if (metadataFileFormat === 'json') {
|
||||
abMetadata = abmetadataGenerator.parseJson(metadataText)
|
||||
} else {
|
||||
abMetadata = abmetadataGenerator.parse(metadataText, 'podcast')
|
||||
|
@ -36,7 +36,7 @@ class Scanner {
|
||||
var searchISBN = options.isbn || libraryItem.media.metadata.isbn
|
||||
var searchASIN = options.asin || libraryItem.media.metadata.asin
|
||||
|
||||
var results = await BookFinder.search(provider, searchTitle, searchAuthor, searchISBN, searchASIN)
|
||||
var results = await BookFinder.search(provider, searchTitle, searchAuthor, searchISBN, searchASIN, { maxFuzzySearches: 2 })
|
||||
if (!results.length) {
|
||||
return {
|
||||
warning: `No ${provider} match found`
|
||||
|
@ -190,6 +190,7 @@ module.exports = {
|
||||
const json = li.toJSONMinified()
|
||||
json.media.metadata.series = {
|
||||
id: filteredSeries.id,
|
||||
name: filteredSeries.name,
|
||||
sequence: filteredSeries.sequence
|
||||
}
|
||||
|
||||
|
@ -16,8 +16,8 @@ function parseCreators(metadata) {
|
||||
}
|
||||
|
||||
function fetchCreators(creators, role) {
|
||||
if (!creators || !creators.length) return null
|
||||
return [...new Set(creators.filter(c => c.role === role).map(c => c.value))]
|
||||
if (!creators?.length) return null
|
||||
return [...new Set(creators.filter(c => c.role === role && c.value).map(c => c.value))]
|
||||
}
|
||||
|
||||
function fetchTagString(metadata, tag) {
|
||||
@ -92,7 +92,7 @@ function fetchDescription(metadata) {
|
||||
|
||||
function fetchGenres(metadata) {
|
||||
if (!metadata['dc:subject'] || !metadata['dc:subject'].length) return []
|
||||
return [...new Set(metadata['dc:subject'].filter(g => typeof g === 'string'))]
|
||||
return [...new Set(metadata['dc:subject'].filter(g => g && typeof g === 'string'))]
|
||||
}
|
||||
|
||||
function fetchLanguage(metadata) {
|
||||
@ -122,7 +122,7 @@ function fetchNarrators(creators, metadata) {
|
||||
|
||||
function fetchTags(metadata) {
|
||||
if (!metadata['dc:tag'] || !metadata['dc:tag'].length) return []
|
||||
return [...new Set(metadata['dc:tag'].filter(tag => typeof tag === 'string'))]
|
||||
return [...new Set(metadata['dc:tag'].filter(tag => tag && typeof tag === 'string'))]
|
||||
}
|
||||
|
||||
function stripPrefix(str) {
|
||||
|
@ -205,6 +205,15 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
// Handle library setting to hide single book series
|
||||
// TODO: Merge with existing query
|
||||
if (library.settings.hideSingleBookSeries) {
|
||||
seriesWhere.push(Sequelize.where(Sequelize.literal(`(SELECT count(*) FROM books b, bookSeries bs WHERE bs.seriesId = series.id AND bs.bookId = b.id)`), {
|
||||
[Sequelize.Op.gt]: 1
|
||||
}))
|
||||
}
|
||||
|
||||
// Handle user permissions to only include series with at least 1 book
|
||||
// TODO: Simplify to a single query
|
||||
if (userPermissionBookWhere.bookWhere.length) {
|
||||
|
@ -247,7 +247,7 @@ module.exports = {
|
||||
podcastEpisodeWhere['$mediaProgresses.isFinished$'] = true
|
||||
}
|
||||
} else if (filterGroup === 'recent') {
|
||||
libraryItemWhere['createdAt'] = {
|
||||
podcastEpisodeWhere['createdAt'] = {
|
||||
[Sequelize.Op.gte]: new Date(new Date() - (60 * 24 * 60 * 60 * 1000)) // 60 days ago
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user