Add Subtitle and Narrarator fields, add server settings object, scanner to parse out subtitles

This commit is contained in:
Mark Cooper 2021-09-04 19:58:39 -05:00
parent e566c6c9d5
commit af05e78cdf
20 changed files with 213 additions and 31 deletions

View file

@ -50,8 +50,8 @@ class Server {
get audiobooks() {
return this.db.audiobooks
}
get settings() {
return this.db.settings
get serverSettings() {
return this.db.serverSettings
}
emitter(ev, data) {
@ -239,7 +239,7 @@ class Server {
}
const initialPayload = {
settings: this.settings,
serverSettings: this.serverSettings.toJSON(),
isScanning: this.isScanning,
isInitialized: this.isInitialized,
audiobookPath: this.AudiobookPath,