mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-31 07:09:55 +02:00
New data model edit tracks page, match, quick match, clean out old files
This commit is contained in:
parent
be1e1e7ba0
commit
7d66f1eec9
68 changed files with 354 additions and 1529 deletions
|
@ -75,7 +75,6 @@ function makeSeriesFromOldAb({ series, volumeNumber }) {
|
|||
function getRelativePath(srcPath, basePath) {
|
||||
srcPath = srcPath.replace(/\\/g, '/')
|
||||
basePath = basePath.replace(/\\/g, '/')
|
||||
if (basePath.endsWith('/')) basePath = basePath.slice(0, -1)
|
||||
return srcPath.replace(basePath, '')
|
||||
}
|
||||
|
||||
|
@ -156,6 +155,7 @@ function makeLibraryItemFromOldAb(audiobook) {
|
|||
|
||||
var bookEntity = new Book()
|
||||
var bookMetadata = new BookMetadata(audiobook.book)
|
||||
bookMetadata.publishedYear = audiobook.book.publishYear || null
|
||||
if (audiobook.book.narrator) {
|
||||
bookMetadata.narrators = audiobook.book._narratorsList
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue