1 line
721 B
JavaScript
1 line
721 B
JavaScript
|
|
import ItemsTab from"./itemstab.js";function VideosTab(view,params,options){ItemsTab.apply(this,arguments)}Object.assign(VideosTab.prototype,ItemsTab.prototype),VideosTab.prototype.supportsAlphaPicker=function(){return!0},VideosTab.prototype.getBaseQuery=function(){var query=ItemsTab.prototype.getBaseQuery.call(this);return"Episode"===this.options?.itemType&&(query.ExcludeLocationTypes="Virtual"),query},VideosTab.prototype.getSettingsKey=function(){return ItemsTab.prototype.getSettingsKey.call(this)+"-videos"},VideosTab.prototype.getItemTypes=function(){return this.options?.itemType?[this.options?.itemType]:[]},VideosTab.prototype.loadTemplate=function(){return this.loadItemsTemplate()};export default VideosTab;
|