mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-15 01:32:24 +02:00
Update db migration for duration, size, lastFirst, and ignore prefix columns
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
const uuidv4 = require("uuid").v4
|
||||
const { getTitleIgnorePrefix } = require('../../utils/index')
|
||||
|
||||
class Series {
|
||||
constructor(series) {
|
||||
@ -23,6 +24,11 @@ class Series {
|
||||
this.libraryId = series.libraryId
|
||||
}
|
||||
|
||||
get nameIgnorePrefix() {
|
||||
if (!this.name) return ''
|
||||
return getTitleIgnorePrefix(this.name)
|
||||
}
|
||||
|
||||
toJSON() {
|
||||
return {
|
||||
id: this.id,
|
||||
|
Reference in New Issue
Block a user