Support for libraries and folder mapping, updating static cover path, detect reader.txt

This commit is contained in:
advplyr committed 2021-10-04 22:11:42 -05:00
1 parent a590e795e3
commit 577f3bead9
43 files changed
+2548 -768

No files matched your search

-4
View File
@@ -34,9 +34,6 @@ class AudioFile {
this.exclude = false
this.error = null
// TEMP: For forcing rescan
this.isOldAudioFile = false
if (data) {
this.construct(data)
}
@@ -103,7 +100,6 @@ class AudioFile {
// Old version of AudioFile used `tagAlbum` etc.
var isOldVersion = Object.keys(data).find(key => key.startsWith('tag'))
if (isOldVersion) {
this.isOldAudioFile = true
this.metadata = new AudioFileMetadata(data)
} else {
this.metadata = new AudioFileMetadata(data.metadata || {})