1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update identify popup

This commit is contained in:
Luke Pulverenti 2017-09-22 16:19:54 -04:00
parent 1f1c13c181
commit d86a53c3de
62 changed files with 817 additions and 79 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -12,10 +12,10 @@
<div class="imageEditor-buttons first-imageEditor-buttons">
<h1 style="margin:0;">${Images}</h1>
<button type="button" is="emby-button" class="btnBrowseAllImages fab mini autoSize" style="margin-left: 1em;">
<i class="md-icon">search</i>
<i class="md-icon">&#xE8B6;</i>
</button>
<button type="button" is="emby-button" class="btnOpenUploadMenu fab mini hide" style="margin-left: .5em;">
<i class="md-icon">add</i>
<i class="md-icon">&#xE145;</i>
</button>
</div>
<div id="images" class="itemsContainer vertical-wrap">
@ -27,10 +27,10 @@
<div class="imageEditor-buttons">
<h1 style="margin:0;">${Backdrops}</h1>
<button type="button" is="emby-button" class="btnBrowseAllImages fab mini autoSize" style="margin-left: 1em;" data-imagetype="Backdrop">
<i class="md-icon">search</i>
<i class="md-icon">&#xE8B6;</i>
</button>
<button type="button" is="emby-button" class="btnOpenUploadMenu fab mini hide" style="margin-left: .5em;" data-imagetype="Backdrop">
<i class="md-icon">add</i>
<i class="md-icon">&#xE145;</i>
</button>
</div>
<div id="backdrops" class="itemsContainer vertical-wrap">
@ -42,10 +42,10 @@
<div class="imageEditor-buttons">
<h1 style="margin: 0;">${Screenshots}</h1>
<button type="button" is="emby-button" class="btnBrowseAllImages fab mini autoSize" style="margin-left: 1em;" data-imagetype="Screenshot">
<i class="md-icon">search</i>
<i class="md-icon">&#xE8B6;</i>
</button>
<button type="button" is="emby-button" class="btnOpenUploadMenu fab mini hide" style="margin-left: .5em;" data-imagetype="Screenshot">
<i class="md-icon">add</i>
<i class="md-icon">&#xE145;</i>
</button>
</div>
<div id="screenshots" class="itemsContainer vertical-wrap">

View file

@ -0,0 +1 @@
define(["dialogHelper","connectionManager","dom","loading","scrollHelper","layoutManager","globalize","require","emby-button","emby-select","formDialogStyle"],function(dialogHelper,connectionManager,dom,loading,scrollHelper,layoutManager,globalize,require){"use strict";function onFileReaderError(evt){switch(loading.hide(),evt.target.error.code){case evt.target.error.NOT_FOUND_ERR:require(["toast"],function(toast){toast(globalize.translate("sharedcomponents#MessageFileReadError"))});break;case evt.target.error.ABORT_ERR:break;default:require(["toast"],function(toast){toast(globalize.translate("sharedcomponents#MessageFileReadError"))})}}function setFiles(page,files){var file=files[0];if(!file||!file.type.match("image.*"))return page.querySelector("#imageOutput").innerHTML="",page.querySelector("#fldUpload").classList.add("hide"),void(currentFile=null);currentFile=file;var reader=new FileReader;reader.onerror=onFileReaderError,reader.onloadstart=function(){page.querySelector("#fldUpload").classList.add("hide")},reader.onabort=function(){loading.hide(),console.log("File read cancelled")},reader.onload=function(theFile){return function(e){var html=['<img style="max-width:300px;max-height:100px;" src="',e.target.result,'" title="',escape(theFile.name),'"/>'].join("");page.querySelector("#imageOutput").innerHTML=html,page.querySelector("#fldUpload").classList.remove("hide")}}(file),reader.readAsDataURL(file)}function onSubmit(e){var file=currentFile;if(!file)return!1;if("image/png"!==file.type&&"image/jpeg"!==file.type&&"image/jpeg"!==file.type)return!1;loading.show();var dlg=dom.parentWithClass(this,"dialog"),imageType=dlg.querySelector("#selectImageType").value;return connectionManager.getApiClient(currentServerId).uploadItemImage(currentItemId,imageType,file).then(function(){dlg.querySelector("#uploadImage").value="",loading.hide(),hasChanges=!0,dialogHelper.close(dlg)}),e.preventDefault(),!1}function initEditor(page){page.querySelector("form").addEventListener("submit",onSubmit),page.querySelector("#uploadImage").addEventListener("change",function(){setFiles(page,this.files)}),page.querySelector(".btnBrowse").addEventListener("click",function(){page.querySelector("#uploadImage").click()})}function showEditor(options,resolve,reject){options=options||{},require(["text!./imageuploader.template.html"],function(template){currentItemId=options.itemId,currentServerId=options.serverId;var dialogOptions={removeOnClose:!0};layoutManager.tv?dialogOptions.size="fullscreen":dialogOptions.size="fullscreen-border";var dlg=dialogHelper.createDialog(dialogOptions);dlg.classList.add("formDialog"),dlg.innerHTML=globalize.translateDocument(template,"sharedcomponents"),layoutManager.tv&&scrollHelper.centerFocus.on(dlg,!1),dlg.addEventListener("close",function(){loading.hide(),resolve(hasChanges)}),dialogHelper.open(dlg),initEditor(dlg),dlg.querySelector("#selectImageType").value=options.imageType||"Primary",dlg.querySelector(".btnCancel").addEventListener("click",function(){dialogHelper.close(dlg)})})}var currentItemId,currentServerId,currentFile,hasChanges=!1;return{show:function(options){return new Promise(function(resolve,reject){hasChanges=!1,showEditor(options,resolve,reject)})}}});

View file

@ -27,21 +27,21 @@
<br />
<div class="selectContainer">
<select is="emby-select" id="selectImageType" name="selectImageType" label="${LabelImageType}">
<option value="Primary">${OptionPrimary}</option>
<option value="Art">${OptionArt}</option>
<option value="Backdrop">${OptionBackdrop}</option>
<option value="Banner">${OptionBanner}</option>
<option value="Box">${OptionBox}</option>
<option value="BoxRear">${OptionBoxRear}</option>
<option value="Disc">${OptionDisc}</option>
<option value="Logo">${OptionLogo}</option>
<option value="Menu">${OptionMenu}</option>
<option value="Screenshot">${OptionScreenshot}</option>
<option value="Thumb">${OptionThumb}</option>
<option value="Primary">${Primary}</option>
<option value="Art">${Art}</option>
<option value="Backdrop">${Backdrop}</option>
<option value="Banner">${Banner}</option>
<option value="Box">${Box}</option>
<option value="BoxRear">${BoxRear}</option>
<option value="Disc">${Disc}</option>
<option value="Logo">${Logo}</option>
<option value="Menu">${Menu}</option>
<option value="Screenshot">${Screenshot}</option>
<option value="Thumb">${Thumb}</option>
</select>
</div>
<button is="emby-button" type="submit" class="raised button-submit block">
<span>${ButtonUpload}</span>
<span>${Upload}</span>
</button>
</div>
</div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Anzahl der Videoreferenzframes nicht unterst\u00fctzt",
"ErrorConnectServerUnreachable": "Es gab einen Fehler bei bei der Ausf\u00fchrung des Funktion. Dein Server ist nicht in der Lage unsere Emby-Connect-Server zu erreichen um {0}. Stelle bitte sicher, dass dein Server eine aktive Internetverbindung hat und die Kommunikations durch die Firewall oder andere installierte Sicherheitssoftware erlaubt wurde.",
"StopRecording": "Aufnahme stoppen",
"ManageRecording": "Aufnahme verwalten"
"ManageRecording": "Aufnahme verwalten",
"LabelDropImageHere": "Fotos hierher ziehen oder klicken im zu browsen.",
"MessageFileReadError": "Es gab einen Fehler beim Lesen der Datei. Bitte versuche es erneut.",
"Browse": "Bl\u00e4ttern",
"HeaderUploadImage": "Bild hochladen",
"HeaderAddUpdateImage": "Bild hinzuf\u00fcgen\/aktualisieren",
"LabelImageType": "Bildtyp:",
"Upload": "Hochladen",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active Internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Cantidad de cuadros de referencia del Video no soportado",
"ErrorConnectServerUnreachable": "Hubo un error al ejecutar la operaci\u00f3n solicitada. Su servidor no puede contactar nuestro servidor de Emby Connect en {0}. Por favor aseg\u00farese de que su servidor tiene una conection a internet activa y que el firewall o software de seguridad permita la comunicaci\u00f3n.",
"StopRecording": "Detener grabaci\u00f3n",
"ManageRecording": "Administrar grabaciones"
"ManageRecording": "Administrar grabaciones",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Navegar",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Nombre d'images de r\u00e9f\u00e9rence de la vid\u00e9o non pris en charge",
"ErrorConnectServerUnreachable": "Une erreur est survenue pendant l'ex\u00e9cution de l'op\u00e9ration demand\u00e9e. Votre serveur est dans l'incapacit\u00e9 de joindre le serveur d'Emby Connect \u00e0 {0}. Veuillez v\u00e9rifier que votre serveur est bien connect\u00e9 \u00e0 Internet et qu'aucun pare-feu ou autre logiciel de s\u00e9curit\u00e9 ne bloque les communications.",
"StopRecording": "Arr\u00eater l'enregistrement",
"ManageRecording": "G\u00e9rer l'enregistrement"
"ManageRecording": "G\u00e9rer l'enregistrement",
"LabelDropImageHere": "Faites glisser l'image ici, ou cliquez pour parcourir vos fichiers.",
"MessageFileReadError": "Une erreur est survenue lors de la lecture du fichier. Veuillez r\u00e9essayer.",
"Browse": "Parcourir",
"HeaderUploadImage": "Envoyer une image",
"HeaderAddUpdateImage": "Ajouter\/Mettre \u00e0 jour une image",
"LabelImageType": "Type d'image\u00a0:",
"Upload": "Envoyer",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Il numero di frame di riferimento video non \u00e8 supportato",
"ErrorConnectServerUnreachable": "Si \u00e8 verificato un errore durante l'esecuzione dell'operazione richiesta. Il tuo server non \u00e8 in grado di contattare il nostro Server Emby Connect al {0}. Assicurarsi che il server disponga di una connessione Internet attiva e che le comunicazioni siano consentite da qualsiasi firewall o software di protezione installato.",
"StopRecording": "Ferma registrazione",
"ManageRecording": "Gestisci registrazione"
"ManageRecording": "Gestisci registrazione",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Esplora",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "\u0411\u0435\u0439\u043d\u0435\u043d\u0456\u04a3 \u0442\u0456\u0440\u0435\u043a \u043a\u0430\u0434\u0440\u043b\u0430\u0440 \u0441\u0430\u043d\u044b\u043d\u0430 \u049b\u043e\u043b\u0434\u0430\u0443 \u043a\u04e9\u0440\u0441\u0435\u0442\u0456\u043b\u043c\u0435\u0439\u0434\u0456",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "\u0416\u0430\u0437\u0443\u0434\u044b \u0442\u043e\u049b\u0442\u0430\u0442\u0443",
"ManageRecording": "\u0416\u0430\u0437\u0443\u0434\u044b \u0440\u0435\u0442\u0442\u0435\u0443"
"ManageRecording": "\u0416\u0430\u0437\u0443\u0434\u044b \u0440\u0435\u0442\u0442\u0435\u0443",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -206,7 +206,7 @@
"HeaderEnabledFields": "Pola aktywne",
"HeaderEnabledFieldsHelp": "Odznacz pole aby zablokowa\u0107 i zapobiec zmianie danych.",
"Backdrops": "Fototapety",
"Images": "Obrazki",
"Images": "Obrazy",
"Runtime": "Czas trwania",
"ProductionLocations": "Kraje",
"BirthLocation": "Miejsce urodzin",
@ -528,5 +528,23 @@
"RefFramesNotSupported": "Nieobs\u0142ugiwana liczba klatek referencyjnych wideo",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Zatrzymaj nagrywanie",
"ManageRecording": "Zarz\u0105dzaj nagrywaniem"
"ManageRecording": "Zarz\u0105dzaj nagrywaniem",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Przegl\u0105daj",
"HeaderUploadImage": "Przeka\u017c obraz",
"HeaderAddUpdateImage": "Dodaj\/Aktualizuj obraz",
"LabelImageType": "Typ obrazu:",
"Upload": "Przeka\u017c",
"Primary": "Podstawowy",
"Art": "Fototapeta",
"Backdrop": "Fototapeta",
"Banner": "Baner",
"Box": "Pude\u0142ko",
"BoxRear": "Pude\u0142ko (ty\u0142)",
"Disc": "Dysk",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Zrzut ekranu",
"Thumb": "Miniatura"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "N\u00famero de quadros de refer\u00eancia de v\u00eddeo n\u00e3o suportado",
"ErrorConnectServerUnreachable": "Ocorreu um erro ao executar a opera\u00e7\u00e3o solicitada. Seu servidor n\u00e3o pode contactar nosso Emby Connect Server em {0}. Por favor, verifique se seu servidor possui uma conex\u00e3o de internet ativa e se as comunica\u00e7\u00f5es est\u00e3o liberadas pelo firewall ou software de seguran\u00e7a instalados.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Navegar",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "\u0427\u0438\u0441\u043b\u043e \u043e\u043f\u043e\u0440\u043d\u044b\u0445 \u043a\u0430\u0434\u0440\u043e\u0432 \u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f",
"ErrorConnectServerUnreachable": "\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438. \u0412\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0441 \u043d\u0430\u0448\u0438\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c Emby Connect \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 {0}. \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0432\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u043c\u0435\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0438 \u0447\u0442\u043e \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u044b \u0432 \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u0435 \u0438\u043b\u0438 \u041f\u041e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443 \u0432\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e.",
"StopRecording": "\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c",
"ManageRecording": "\u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c\u044e"
"ManageRecording": "\u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c\u044e",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

View file

@ -528,5 +528,23 @@
"RefFramesNotSupported": "Number of video reference frames not supported",
"ErrorConnectServerUnreachable": "There was an error performing the requested operation. Your server is unable to contact our Emby Connect Server at {0}. Please ensure your server has an active internet connection and that the communications are being allowed by any firewall or security software you have installed.",
"StopRecording": "Stop recording",
"ManageRecording": "Manage recording"
"ManageRecording": "Manage recording",
"LabelDropImageHere": "Drop image here, or click to browse.",
"MessageFileReadError": "There was an error reading the file. Please try again.",
"Browse": "Browse",
"HeaderUploadImage": "Upload Image",
"HeaderAddUpdateImage": "Add\/Update Image",
"LabelImageType": "Image type:",
"Upload": "Upload",
"Primary": "Primary",
"Art": "Art",
"Backdrop": "Backdrop",
"Banner": "Banner",
"Box": "Box",
"BoxRear": "Box (rear)",
"Disc": "Disc",
"Logo": "Logo",
"Menu": "Menu",
"Screenshot": "Screenshot",
"Thumb": "Thumb"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
define(["dialogHelper","dom","loading","scrollHelper","layoutManager","globalize","require","emby-button","emby-select","formDialogStyle"],function(dialogHelper,dom,loading,scrollHelper,layoutManager,globalize,require){"use strict";function onFileReaderError(evt){switch(loading.hide(),evt.target.error.code){case evt.target.error.NOT_FOUND_ERR:require(["toast"],function(toast){toast(globalize.translate("MessageFileNotFound"))});break;case evt.target.error.ABORT_ERR:break;default:require(["toast"],function(toast){toast(globalize.translate("MessageFileReadError"))})}}function setFiles(page,files){var file=files[0];if(!file||!file.type.match("image.*"))return page.querySelector("#imageOutput").innerHTML="",page.querySelector("#fldUpload").classList.add("hide"),void(currentFile=null);currentFile=file;var reader=new FileReader;reader.onerror=onFileReaderError,reader.onloadstart=function(){page.querySelector("#fldUpload").classList.add("hide")},reader.onabort=function(){loading.hide(),console.log("File read cancelled")},reader.onload=function(theFile){return function(e){var html=['<img style="max-width:300px;max-height:100px;" src="',e.target.result,'" title="',escape(theFile.name),'"/>'].join("");page.querySelector("#imageOutput").innerHTML=html,page.querySelector("#fldUpload").classList.remove("hide")}}(file),reader.readAsDataURL(file)}function onSubmit(e){var file=currentFile;if(!file)return!1;if("image/png"!==file.type&&"image/jpeg"!==file.type&&"image/jpeg"!==file.type)return!1;loading.show();var dlg=dom.parentWithClass(this,"dialog"),imageType=dlg.querySelector("#selectImageType").value;return ApiClient.uploadItemImage(currentItemId,imageType,file).then(function(){dlg.querySelector("#uploadImage").value="",loading.hide(),hasChanges=!0,dialogHelper.close(dlg)}),e.preventDefault(),!1}function initEditor(page){page.querySelector("form").addEventListener("submit",onSubmit),page.querySelector("#uploadImage").addEventListener("change",function(){setFiles(page,this.files)}),page.querySelector(".btnBrowse").addEventListener("click",function(){page.querySelector("#uploadImage").click()})}function showEditor(itemId,options,resolve,reject){options=options||{},require(["text!./imageuploader.template.html"],function(template){currentItemId=itemId;var dialogOptions={removeOnClose:!0};layoutManager.tv?dialogOptions.size="fullscreen":dialogOptions.size="fullscreen-border";var dlg=dialogHelper.createDialog(dialogOptions);dlg.classList.add("formDialog"),dlg.innerHTML=globalize.translateDocument(template),layoutManager.tv&&scrollHelper.centerFocus.on(dlg,!1),dlg.addEventListener("close",function(){loading.hide(),resolve(hasChanges)}),dialogHelper.open(dlg),initEditor(dlg),dlg.querySelector("#selectImageType").value=options.imageType||"Primary",dlg.querySelector(".btnCancel").addEventListener("click",function(){dialogHelper.close(dlg)})})}var currentItemId,currentFile,hasChanges=!1;return{show:function(itemId,options){return new Promise(function(resolve,reject){hasChanges=!1,showEditor(itemId,options,resolve,reject)})}}});

View file

@ -1 +1 @@
define(["cardBuilder","imageLoader","loading","events","libraryMenu","libraryBrowser","emby-itemscontainer"],function(cardBuilder,imageLoader,loading,events,libraryMenu,libraryBrowser){"use strict";function getPageData(context){var key=getSavedQueryKey(context),pageData=data[key];return pageData||(pageData=data[key]={query:{SortBy:"",SortOrder:"Ascending",Fields:"PrimaryImageAspectRatio",StartIndex:0,Limit:libraryBrowser.getDefaultPageSize()}},libraryBrowser.loadSavedQueryValues(key,pageData.query)),pageData}function getQuery(context){return getPageData(context).query}function getSavedQueryKey(context){return context.savedQueryKey||(context.savedQueryKey=libraryBrowser.getSavedQueryKey("channelitems")),context.savedQueryKey}function getParam(context,name){return context.pageParams||(context.pageParams={}),context.pageParams[name]||(context.pageParams[name]=getParameterByName(name)),context.pageParams[name]}function reloadFeatures(page){var channelId=getParam(page,"id");ApiClient.getJSON(ApiClient.getUrl("Channels/"+channelId+"/Features")).then(function(features){var maxPageSize=features.MaxPageSize,query=getQuery(page);maxPageSize&&(query.Limit=Math.min(maxPageSize,query.Limit||maxPageSize)),getPageData(page).sortFields=features.DefaultSortFields,reloadItems(page)})}function reloadItems(page){loading.show();var channelId=getParam(page,"id"),folderId=getParam(page,"folderId"),query=getQuery(page);query.UserId=Dashboard.getCurrentUserId(),folderId?ApiClient.getItem(query.UserId,folderId).then(function(item){libraryMenu.setTitle(item.Name)}):ApiClient.getItem(query.UserId,channelId).then(function(item){libraryMenu.setTitle(item.Name)}),query.folderId=folderId,ApiClient.getJSON(ApiClient.getUrl("Channels/"+channelId+"/Items",query)).then(function(result){function onNextPageClick(){query.StartIndex+=query.Limit,reloadItems(page)}function onPreviousPageClick(){query.StartIndex-=query.Limit,reloadItems(page)}window.scrollTo(0,0);var html="",pagingHtml=libraryBrowser.getQueryPagingHtml({startIndex:query.StartIndex,limit:query.Limit,totalRecordCount:result.TotalRecordCount,showLimit:!1,updatePageSizeSetting:!1,sortButton:!0,filterButton:!0});updateFilterControls(page),html=cardBuilder.getCardsHtml({items:result.Items,shape:"auto",context:"channels",showTitle:!0,coverImage:!0,showYear:!0,lazy:!0,centerText:!0});var i,length,elems=page.querySelectorAll(".paging");for(i=0,length=elems.length;i<length;i++)elems[i].innerHTML=pagingHtml;var elem=page.querySelector("#items");for(elem.innerHTML=html,imageLoader.lazyChildren(elem),elems=page.querySelectorAll(".btnNextPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onNextPageClick);for(elems=page.querySelectorAll(".btnPreviousPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onPreviousPageClick);page.querySelector(".btnFilter").addEventListener("click",function(){showFilterMenu(page)}),page.querySelector(".btnSort").addEventListener("click",function(){showSortMenu(page)}),loading.hide()},function(){loading.hide()})}function showFilterMenu(page){require(["components/filterdialog/filterdialog"],function(filterDialogFactory){var filterDialog=new filterDialogFactory({query:getQuery(page)});events.on(filterDialog,"filterchange",function(){reloadItems(page)}),filterDialog.show()})}function showSortMenu(page){var sortFields=getPageData(page).sortFields,items=[];items.push({name:Globalize.translate("OptionDefaultSort"),id:""}),sortFields.indexOf("Name")!=-1&&items.push({name:Globalize.translate("OptionNameSort"),id:"SortName"}),sortFields.indexOf("CommunityRating")!=-1&&items.push({name:Globalize.translate("OptionCommunityRating"),id:"CommunityRating"}),sortFields.indexOf("DateCreated")!=-1&&items.push({name:Globalize.translate("OptionDateAdded"),id:"DateCreated"}),sortFields.indexOf("PlayCount")!=-1&&items.push({name:Globalize.translate("OptionPlayCount"),id:"PlayCount"}),sortFields.indexOf("PremiereDate")!=-1&&items.push({name:Globalize.translate("OptionReleaseDate"),id:"PremiereDate"}),sortFields.indexOf("Runtime")!=-1&&items.push({name:Globalize.translate("OptionRuntime"),id:"Runtime"}),libraryBrowser.showSortMenu({items:items,callback:function(){reloadItems(page)},query:getQuery(page)})}function updateFilterControls(page){}var data={};pageIdOn("pagebeforeshow","channelItemsPage",function(){var page=this;reloadFeatures(page),updateFilterControls(page)})});
define(["cardBuilder","imageLoader","loading","events","libraryMenu","libraryBrowser","emby-itemscontainer"],function(cardBuilder,imageLoader,loading,events,libraryMenu,libraryBrowser){"use strict";function getPageData(context){var key=getSavedQueryKey(context),pageData=data[key];return pageData||(pageData=data[key]={query:{SortBy:"",SortOrder:"Ascending",Fields:"PrimaryImageAspectRatio",StartIndex:0,Limit:libraryBrowser.getDefaultPageSize()}},libraryBrowser.loadSavedQueryValues(key,pageData.query)),pageData}function getQuery(context){return getPageData(context).query}function getSavedQueryKey(context){return context.savedQueryKey||(context.savedQueryKey=libraryBrowser.getSavedQueryKey("channelitems")),context.savedQueryKey}function getParam(context,name){return context.pageParams||(context.pageParams={}),context.pageParams[name]||(context.pageParams[name]=getParameterByName(name)),context.pageParams[name]}function reloadFeatures(page){var channelId=getParam(page,"id");ApiClient.getJSON(ApiClient.getUrl("Channels/"+channelId+"/Features")).then(function(features){var maxPageSize=features.MaxPageSize,query=getQuery(page);maxPageSize&&(query.Limit=Math.min(maxPageSize,query.Limit||maxPageSize)),getPageData(page).sortFields=features.DefaultSortFields,reloadItems(page)})}function reloadItems(page){loading.show();var channelId=getParam(page,"id"),folderId=getParam(page,"folderId"),query=getQuery(page);query.UserId=Dashboard.getCurrentUserId(),folderId?ApiClient.getItem(query.UserId,folderId).then(function(item){libraryMenu.setTitle(item.Name)}):ApiClient.getItem(query.UserId,channelId).then(function(item){libraryMenu.setTitle(item.Name)}),query.folderId=folderId,ApiClient.getJSON(ApiClient.getUrl("Channels/"+channelId+"/Items",query)).then(function(result){function onNextPageClick(){query.StartIndex+=query.Limit,reloadItems(page)}function onPreviousPageClick(){query.StartIndex-=query.Limit,reloadItems(page)}window.scrollTo(0,0);var html="",pagingHtml=libraryBrowser.getQueryPagingHtml({startIndex:query.StartIndex,limit:query.Limit,totalRecordCount:result.TotalRecordCount,showLimit:!1,updatePageSizeSetting:!1,sortButton:!0,filterButton:!0});updateFilterControls(page),html=cardBuilder.getCardsHtml({items:result.Items,shape:"auto",context:"channels",showTitle:!0,coverImage:!0,showYear:!0,lazy:!0,centerText:!0});var i,length,elems=page.querySelectorAll(".paging");for(i=0,length=elems.length;i<length;i++)elems[i].innerHTML=pagingHtml;var elem=page.querySelector("#items");for(elem.innerHTML=html,imageLoader.lazyChildren(elem),elems=page.querySelectorAll(".btnNextPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onNextPageClick);for(elems=page.querySelectorAll(".btnPreviousPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onPreviousPageClick);page.querySelector(".btnFilter").addEventListener("click",function(){showFilterMenu(page)}),page.querySelector(".btnSort").addEventListener("click",function(){showSortMenu(page)}),loading.hide()},function(){loading.hide()})}function showFilterMenu(page){require(["components/filterdialog/filterdialog"],function(filterDialogFactory){var filterDialog=new filterDialogFactory({query:getQuery(page),serverId:ApiClient.serverId()});events.on(filterDialog,"filterchange",function(){reloadItems(page)}),filterDialog.show()})}function showSortMenu(page){var sortFields=getPageData(page).sortFields,items=[];items.push({name:Globalize.translate("OptionDefaultSort"),id:""}),sortFields.indexOf("Name")!=-1&&items.push({name:Globalize.translate("OptionNameSort"),id:"SortName"}),sortFields.indexOf("CommunityRating")!=-1&&items.push({name:Globalize.translate("OptionCommunityRating"),id:"CommunityRating"}),sortFields.indexOf("DateCreated")!=-1&&items.push({name:Globalize.translate("OptionDateAdded"),id:"DateCreated"}),sortFields.indexOf("PlayCount")!=-1&&items.push({name:Globalize.translate("OptionPlayCount"),id:"PlayCount"}),sortFields.indexOf("PremiereDate")!=-1&&items.push({name:Globalize.translate("OptionReleaseDate"),id:"PremiereDate"}),sortFields.indexOf("Runtime")!=-1&&items.push({name:Globalize.translate("OptionRuntime"),id:"Runtime"}),libraryBrowser.showSortMenu({items:items,callback:function(){reloadItems(page)},query:getQuery(page)})}function updateFilterControls(page){}var data={};pageIdOn("pagebeforeshow","channelItemsPage",function(){var page=this;reloadFeatures(page),updateFilterControls(page)})});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
define(["cardBuilder","imageLoader","libraryBrowser","loading","events","emby-itemscontainer"],function(cardBuilder,imageLoader,libraryBrowser,loading,events){"use strict";return function(view,params,tabContent){function getPageData(){return pageData||(pageData={query:{StartIndex:0,Limit:100,Fields:"PrimaryImageAspectRatio"}}),pageData}function getQuery(){return getPageData().query}function getChannelsHtml(channels){return cardBuilder.getCardsHtml({items:channels,shape:"square",showTitle:!0,lazy:!0,cardLayout:!0,showDetailsMenu:!0,showCurrentProgram:!0})}function renderChannels(context,result){function onNextPageClick(){query.StartIndex+=query.Limit,reloadItems(context)}function onPreviousPageClick(){query.StartIndex-=query.Limit,reloadItems(context)}var query=getQuery();context.querySelector(".paging").innerHTML=libraryBrowser.getQueryPagingHtml({startIndex:query.StartIndex,limit:query.Limit,totalRecordCount:result.TotalRecordCount,showLimit:!1,updatePageSizeSetting:!1,filterButton:!1});var html=getChannelsHtml(result.Items),elem=context.querySelector("#items");elem.innerHTML=html,imageLoader.lazyChildren(elem);var i,length,elems;for(elems=context.querySelectorAll(".btnNextPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onNextPageClick);for(elems=context.querySelectorAll(".btnPreviousPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onPreviousPageClick)}function showFilterMenu(context){require(["components/filterdialog/filterdialog"],function(filterDialogFactory){var filterDialog=new filterDialogFactory({query:getQuery(),mode:"livetvchannels"});events.on(filterDialog,"filterchange",function(){reloadItems(context)}),filterDialog.show()})}function reloadItems(context,save){loading.show();var query=getQuery(),apiClient=ApiClient;query.UserId=apiClient.getCurrentUserId(),apiClient.getLiveTvChannels(query).then(function(result){renderChannels(context,result),loading.hide()})}var pageData,self=this;tabContent.querySelector(".btnFilter").addEventListener("click",function(){showFilterMenu(tabContent)}),self.renderTab=function(){reloadItems(tabContent)}}});
define(["cardBuilder","imageLoader","libraryBrowser","loading","events","emby-itemscontainer"],function(cardBuilder,imageLoader,libraryBrowser,loading,events){"use strict";return function(view,params,tabContent){function getPageData(){return pageData||(pageData={query:{StartIndex:0,Limit:100,Fields:"PrimaryImageAspectRatio"}}),pageData}function getQuery(){return getPageData().query}function getChannelsHtml(channels){return cardBuilder.getCardsHtml({items:channels,shape:"square",showTitle:!0,lazy:!0,cardLayout:!0,showDetailsMenu:!0,showCurrentProgram:!0})}function renderChannels(context,result){function onNextPageClick(){query.StartIndex+=query.Limit,reloadItems(context)}function onPreviousPageClick(){query.StartIndex-=query.Limit,reloadItems(context)}var query=getQuery();context.querySelector(".paging").innerHTML=libraryBrowser.getQueryPagingHtml({startIndex:query.StartIndex,limit:query.Limit,totalRecordCount:result.TotalRecordCount,showLimit:!1,updatePageSizeSetting:!1,filterButton:!1});var html=getChannelsHtml(result.Items),elem=context.querySelector("#items");elem.innerHTML=html,imageLoader.lazyChildren(elem);var i,length,elems;for(elems=context.querySelectorAll(".btnNextPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onNextPageClick);for(elems=context.querySelectorAll(".btnPreviousPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onPreviousPageClick)}function showFilterMenu(context){require(["components/filterdialog/filterdialog"],function(filterDialogFactory){var filterDialog=new filterDialogFactory({query:getQuery(),mode:"livetvchannels",serverId:ApiClient.serverId()});events.on(filterDialog,"filterchange",function(){reloadItems(context)}),filterDialog.show()})}function reloadItems(context,save){loading.show();var query=getQuery(),apiClient=ApiClient;query.UserId=apiClient.getCurrentUserId(),apiClient.getLiveTvChannels(query).then(function(result){renderChannels(context,result),loading.hide()})}var pageData,self=this;tabContent.querySelector(".btnFilter").addEventListener("click",function(){showFilterMenu(tabContent)}),self.renderTab=function(){reloadItems(tabContent)}}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
define(["events","libraryBrowser","imageLoader","listView","loading","emby-itemscontainer"],function(events,libraryBrowser,imageLoader,listView,loading){"use strict";return function(view,params,tabContent){function getPageData(context){var key=getSavedQueryKey(context),pageData=data[key];return pageData||(pageData=data[key]={query:{SortBy:"Album,SortName",SortOrder:"Ascending",IncludeItemTypes:"Audio",Recursive:!0,Fields:"AudioInfo,ParentId",Limit:100,StartIndex:0,ImageTypeLimit:1,EnableImageTypes:"Primary"}},pageData.query.ParentId=params.topParentId,libraryBrowser.loadSavedQueryValues(key,pageData.query)),pageData}function getQuery(context){return getPageData(context).query}function getSavedQueryKey(context){return context.savedQueryKey||(context.savedQueryKey=libraryBrowser.getSavedQueryKey("songs")),context.savedQueryKey}function reloadItems(page){loading.show();var query=getQuery(page);ApiClient.getItems(Dashboard.getCurrentUserId(),query).then(function(result){function onNextPageClick(){query.StartIndex+=query.Limit,reloadItems(tabContent)}function onPreviousPageClick(){query.StartIndex-=query.Limit,reloadItems(tabContent)}window.scrollTo(0,0),updateFilterControls(page);var i,length,pagingHtml=libraryBrowser.getQueryPagingHtml({startIndex:query.StartIndex,limit:query.Limit,totalRecordCount:result.TotalRecordCount,showLimit:!1,updatePageSizeSetting:!1,addLayoutButton:!1,sortButton:!1,filterButton:!1}),html=listView.getListViewHtml({items:result.Items,action:"playallfromhere",smallIcon:!0,artist:!0,addToListButton:!0}),elems=tabContent.querySelectorAll(".paging");for(i=0,length=elems.length;i<length;i++)elems[i].innerHTML=pagingHtml;for(elems=tabContent.querySelectorAll(".btnNextPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onNextPageClick);for(elems=tabContent.querySelectorAll(".btnPreviousPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onPreviousPageClick);var itemsContainer=tabContent.querySelector(".itemsContainer");itemsContainer.innerHTML=html,imageLoader.lazyChildren(itemsContainer),libraryBrowser.saveQueryValues(getSavedQueryKey(page),query),loading.hide()})}function updateFilterControls(tabContent){}function initPage(tabContent){tabContent.querySelector(".btnFilter").addEventListener("click",function(){self.showFilterMenu()}),tabContent.querySelector(".btnSort").addEventListener("click",function(e){libraryBrowser.showSortMenu({items:[{name:Globalize.translate("OptionTrackName"),id:"Name"},{name:Globalize.translate("OptionAlbum"),id:"Album,SortName"},{name:Globalize.translate("OptionAlbumArtist"),id:"AlbumArtist,Album,SortName"},{name:Globalize.translate("OptionArtist"),id:"Artist,Album,SortName"},{name:Globalize.translate("OptionDateAdded"),id:"DateCreated,SortName"},{name:Globalize.translate("OptionDatePlayed"),id:"DatePlayed,SortName"},{name:Globalize.translate("OptionPlayCount"),id:"PlayCount,SortName"},{name:Globalize.translate("OptionReleaseDate"),id:"PremiereDate,AlbumArtist,Album,SortName"},{name:Globalize.translate("OptionRuntime"),id:"Runtime,AlbumArtist,Album,SortName"}],callback:function(){getQuery(tabContent).StartIndex=0,reloadItems(tabContent)},query:getQuery(tabContent),button:e.target})})}var self=this,data={};self.showFilterMenu=function(){require(["components/filterdialog/filterdialog"],function(filterDialogFactory){var filterDialog=new filterDialogFactory({query:getQuery(tabContent),mode:"songs"});events.on(filterDialog,"filterchange",function(){getQuery(tabContent).StartIndex=0,reloadItems(tabContent)}),filterDialog.show()})},self.getCurrentViewStyle=function(){return getPageData(tabContent).view},initPage(tabContent),self.renderTab=function(){reloadItems(tabContent),updateFilterControls(tabContent)},self.destroy=function(){}}});
define(["events","libraryBrowser","imageLoader","listView","loading","emby-itemscontainer"],function(events,libraryBrowser,imageLoader,listView,loading){"use strict";return function(view,params,tabContent){function getPageData(context){var key=getSavedQueryKey(context),pageData=data[key];return pageData||(pageData=data[key]={query:{SortBy:"Album,SortName",SortOrder:"Ascending",IncludeItemTypes:"Audio",Recursive:!0,Fields:"AudioInfo,ParentId",Limit:100,StartIndex:0,ImageTypeLimit:1,EnableImageTypes:"Primary"}},pageData.query.ParentId=params.topParentId,libraryBrowser.loadSavedQueryValues(key,pageData.query)),pageData}function getQuery(context){return getPageData(context).query}function getSavedQueryKey(context){return context.savedQueryKey||(context.savedQueryKey=libraryBrowser.getSavedQueryKey("songs")),context.savedQueryKey}function reloadItems(page){loading.show();var query=getQuery(page);ApiClient.getItems(Dashboard.getCurrentUserId(),query).then(function(result){function onNextPageClick(){query.StartIndex+=query.Limit,reloadItems(tabContent)}function onPreviousPageClick(){query.StartIndex-=query.Limit,reloadItems(tabContent)}window.scrollTo(0,0),updateFilterControls(page);var i,length,pagingHtml=libraryBrowser.getQueryPagingHtml({startIndex:query.StartIndex,limit:query.Limit,totalRecordCount:result.TotalRecordCount,showLimit:!1,updatePageSizeSetting:!1,addLayoutButton:!1,sortButton:!1,filterButton:!1}),html=listView.getListViewHtml({items:result.Items,action:"playallfromhere",smallIcon:!0,artist:!0,addToListButton:!0}),elems=tabContent.querySelectorAll(".paging");for(i=0,length=elems.length;i<length;i++)elems[i].innerHTML=pagingHtml;for(elems=tabContent.querySelectorAll(".btnNextPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onNextPageClick);for(elems=tabContent.querySelectorAll(".btnPreviousPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onPreviousPageClick);var itemsContainer=tabContent.querySelector(".itemsContainer");itemsContainer.innerHTML=html,imageLoader.lazyChildren(itemsContainer),libraryBrowser.saveQueryValues(getSavedQueryKey(page),query),loading.hide()})}function updateFilterControls(tabContent){}function initPage(tabContent){tabContent.querySelector(".btnFilter").addEventListener("click",function(){self.showFilterMenu()}),tabContent.querySelector(".btnSort").addEventListener("click",function(e){libraryBrowser.showSortMenu({items:[{name:Globalize.translate("OptionTrackName"),id:"Name"},{name:Globalize.translate("OptionAlbum"),id:"Album,SortName"},{name:Globalize.translate("OptionAlbumArtist"),id:"AlbumArtist,Album,SortName"},{name:Globalize.translate("OptionArtist"),id:"Artist,Album,SortName"},{name:Globalize.translate("OptionDateAdded"),id:"DateCreated,SortName"},{name:Globalize.translate("OptionDatePlayed"),id:"DatePlayed,SortName"},{name:Globalize.translate("OptionPlayCount"),id:"PlayCount,SortName"},{name:Globalize.translate("OptionReleaseDate"),id:"PremiereDate,AlbumArtist,Album,SortName"},{name:Globalize.translate("OptionRuntime"),id:"Runtime,AlbumArtist,Album,SortName"}],callback:function(){getQuery(tabContent).StartIndex=0,reloadItems(tabContent)},query:getQuery(tabContent),button:e.target})})}var self=this,data={};self.showFilterMenu=function(){require(["components/filterdialog/filterdialog"],function(filterDialogFactory){var filterDialog=new filterDialogFactory({query:getQuery(tabContent),mode:"songs",serverId:ApiClient.serverId()});events.on(filterDialog,"filterchange",function(){getQuery(tabContent).StartIndex=0,reloadItems(tabContent)}),filterDialog.show()})},self.getCurrentViewStyle=function(){return getPageData(tabContent).view},initPage(tabContent),self.renderTab=function(){reloadItems(tabContent),updateFilterControls(tabContent)},self.destroy=function(){}}});

File diff suppressed because one or more lines are too long