+ protected webtorrentFilesQuery: string
+ protected streamingPlaylistFilesQuery: string
+
+ private static readonly trackersInclude = new Set<GetType>([ 'api' ])
+ private static readonly liveInclude = new Set<GetType>([ 'api', 'full-light' ])
+ private static readonly scheduleUpdateInclude = new Set<GetType>([ 'api', 'full-light' ])
+ private static readonly tagsInclude = new Set<GetType>([ 'api', 'full-light' ])
+ private static readonly userHistoryInclude = new Set<GetType>([ 'api', 'full-light' ])
+ private static readonly accountInclude = new Set<GetType>([ 'api', 'full-light', 'account-blacklist-files' ])
+ private static readonly ownerUserInclude = new Set<GetType>([ 'blacklist-rights' ])
+
+ private static readonly blacklistedInclude = new Set<GetType>([
+ 'api',
+ 'full-light',
+ 'account-blacklist-files',
+ 'thumbnails-blacklist',
+ 'blacklist-rights'
+ ])
+
+ private static readonly thumbnailsInclude = new Set<GetType>([
+ 'api',
+ 'full-light',
+ 'account-blacklist-files',
+ 'all-files',
+ 'thumbnails',
+ 'thumbnails-blacklist'
+ ])
+
+ constructor (protected readonly sequelize: Sequelize) {
+ super('get')
+ }
+
+ queryVideos (options: BuildVideoGetQueryOptions) {
+ this.buildMainGetQuery(options)
+
+ return this.runQuery(options)
+ }
+
+ private buildMainGetQuery (options: BuildVideoGetQueryOptions) {