Add:Support for openaudible folder structure (subject to change), add support for treating single audio files in the root directory as library items #401

This commit is contained in:
advplyr 2022-04-27 19:42:34 -05:00
parent 49bef2c641
commit 33dfb764fa
14 changed files with 110 additions and 55 deletions

View file

@ -19,7 +19,7 @@ class CoverManager {
}
getCoverDirectory(libraryItem) {
if (this.db.serverSettings.storeCoverWithItem) {
if (this.db.serverSettings.storeCoverWithItem && !libraryItem.isFile) {
return libraryItem.path
} else {
return Path.posix.join(this.ItemMetadataPath, libraryItem.id)