KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
System : Windows NT SERVER-PC 10.0 build 26200 (Windows 11) AMD64
User : ServerPC ( 0)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  C:/Users/ServerPC/AppData/Roaming/Emby-Server/system/dashboard-ui/transcoding/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : C:/Users/ServerPC/AppData/Roaming/Emby-Server/system/dashboard-ui/transcoding/codeccontroller.js
define(["exports","./../modules/common/itemmanager/itemmanager.js","./../modules/common/itemmanager/genericitemcontroller.js","./../modules/common/globalize.js","./codeceditor.js"],function(_exports,_itemmanager,_genericitemcontroller,_globalize,_codeceditor){function CodecController(){_genericitemcontroller.default.apply(this,arguments)}function showCodecEditor(item,editParams){return _codeceditor.default.show(item.OriginalItem,editParams).then(function(){})}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,Object.assign(CodecController.prototype,_genericitemcontroller.default.prototype),CodecController.prototype.getTypeNames=function(){return["Codec"]},CodecController.prototype.getDisplayName=function(item,options){return item.Name},CodecController.prototype.isSingleItemFetchRequired=function(typeName){return!1},CodecController.prototype.getDefaultIcon=function(item){return"Decoder"===item.OriginalItem.Direction?"input":"output"},CodecController.prototype.canDelete=function(item,user){return!1},CodecController.prototype.canEdit=function(items,user){return 1===items.length&&!!items[0].OriginalItem.SupportsParameters},CodecController.prototype.getEditCommand=function(items){return{name:_globalize.default.translate("Settings"),id:"edit",icon:"settings"}},CodecController.prototype.editItems=function(items,options){return showCodecEditor(items[0],!0)},CodecController.prototype.getCommands=function(options){var commands=_genericitemcontroller.default.prototype.getCommands.apply(this,arguments),items=options.items;return 1===items.length&&items[0].OriginalItem.IsHardwareCodec&&commands.push({name:_globalize.default.translate("Info"),id:"codecinfo",icon:"info"}),commands},CodecController.prototype.executeCommand=function(command,items,options){return"codecinfo"!==command?_genericitemcontroller.default.prototype.executeCommand.apply(this,arguments):showCodecEditor(items[0],!1)},CodecController.prototype.moveInOrder=function(items,options){return Promise.resolve()};var instance=new CodecController;_itemmanager.default.registerItemController(instance),_exports.default=instance});

Anon7 - 2021