mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-15 03:45:03 +02:00
Add:Alternative bookshelf view with titles #232
This commit is contained in:
parent
3905ef677d
commit
e56196a137
8 changed files with 65 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
const { CoverDestination, BookCoverAspectRatio } = require('../utils/constants')
|
||||
const { CoverDestination, BookCoverAspectRatio, BookshelfView } = require('../utils/constants')
|
||||
const Logger = require('../Logger')
|
||||
|
||||
class ServerSettings {
|
||||
|
@ -35,6 +35,7 @@ class ServerSettings {
|
|||
|
||||
// Cover
|
||||
this.coverAspectRatio = BookCoverAspectRatio.STANDARD
|
||||
this.bookshelfView = BookshelfView.STANDARD
|
||||
|
||||
this.logLevel = Logger.logLevel
|
||||
this.version = null
|
||||
|
@ -65,6 +66,7 @@ class ServerSettings {
|
|||
this.loggerScannerLogsToKeep = settings.loggerScannerLogsToKeep || 2
|
||||
|
||||
this.coverAspectRatio = settings.coverAspectRatio || BookCoverAspectRatio.STANDARD
|
||||
this.bookshelfView = settings.bookshelfView || BookshelfView.STANDARD
|
||||
|
||||
this.logLevel = settings.logLevel || Logger.logLevel
|
||||
this.version = settings.version || null
|
||||
|
@ -93,6 +95,7 @@ class ServerSettings {
|
|||
loggerDailyLogsToKeep: this.loggerDailyLogsToKeep,
|
||||
loggerScannerLogsToKeep: this.loggerScannerLogsToKeep,
|
||||
coverAspectRatio: this.coverAspectRatio,
|
||||
bookshelfView: this.bookshelfView,
|
||||
logLevel: this.logLevel,
|
||||
version: this.version
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue