mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-20 15:41:33 +01:00
Testing video media type
This commit is contained in:
1 parent
705aac40d7
commit
acf22ca4fa
27 files changed
+1124
-92
No files matched your search
@@ -343,6 +343,7 @@ class User {
|
||||
|
||||
checkCanAccessLibraryItem(libraryItem) {
|
||||
if (!this.checkCanAccessLibrary(libraryItem.libraryId)) return false
|
||||
|
||||
if (libraryItem.media.metadata.explicit && !this.canAccessExplicitContent) return false
|
||||
return this.checkCanAccessLibraryItemWithTags(libraryItem.media.tags)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user