Series as a dropdown and filter, fix genre list in details modal

This commit is contained in:
advplyr 2021-08-22 08:52:37 -05:00
parent f70e1beca1
commit c3fd9045a8
11 changed files with 310 additions and 65 deletions

View file

@ -1,6 +1,7 @@
const Path = require('path')
const dir = require('node-dir')
const Logger = require('../Logger')
const { cleanString } = require('./index')
const AUDIOBOOK_PARTS_FORMATS = ['m4b', 'mp3']
const INFO_FORMATS = ['nfo']
@ -64,7 +65,7 @@ async function getAllAudiobookFiles(abRootPath) {
audiobooks[path] = {
author: author,
title: title,
series: series,
series: cleanString(series),
publishYear: publishYear,
path: relpath,
fullPath: Path.join(abRootPath, path),