Testing video media type

This commit is contained in:
advplyr committed 2022-05-30 19:26:53 -05:00
1 parent 705aac40d7
commit acf22ca4fa
27 files changed
+1124 -92

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ class Library {
else if (this.icon.endsWith('s') && availableIcons.includes(this.icon.slice(0, -1))) this.icon = this.icon.slice(0, -1)
else this.icon = 'database'
}
if (!this.mediaType || (this.mediaType !== 'podcast' && this.mediaType !== 'book')) {
if (!this.mediaType || (this.mediaType !== 'podcast' && this.mediaType !== 'book' && this.mediaType !== 'video')) {
this.mediaType = 'book'
}
}