Series Episode
diff --git a/MovieOrganizer/Html/metadataviewer.js b/MovieOrganizer/Html/metadataviewer.js
deleted file mode 100644
index 6d22a745..00000000
--- a/MovieOrganizer/Html/metadataviewer.js
+++ /dev/null
@@ -1,138 +0,0 @@
-define(['dialogHelper', 'paper-fab', 'paper-input', 'paper-checkbox', 'detailtablecss'], function (paperDialogHelper) {
-
- var currentItem;
- var currentItemType;
- var currentDeferred;
- var currentSearchResult;
-
- function showMetadataTable(page, item) {
-
- Dashboard.showLoadingMsg();
-
- var lang = page.querySelector('#selectLanguage').value;
-
- ApiClient.getJSON(ApiClient.getUrl('Items/' + item.Id + '/MetadataRaw', { language: lang })).then(function (table) {
-
- var htmlLookup = '';
-
- for (var i = 0; i < table.LookupData.length; i++) {
-
- var row = table.LookupData[i];
- if (row.Key == 'MetadataLanguage') {
-
- page.querySelector('#selectLanguage').value = row.Value || '';
- }
- else {
-
- htmlLookup += '' + row.Key + ' | ';
- htmlLookup += '' + row.Value + ' |
';
- }
- }
-
- htmlLookup += '
';
- page.querySelector('#searchCriteria').innerHTML = htmlLookup;
-
- var html = '';
- html += ' | ';
-
- for (var i = 0; i < table.Headers.length; i++) {
- html += '' + table.Headers[i] + ' | ';
- }
-
- html += '';
- html += '';
-
- for (var i = 0; i < table.Rows.length; i++) {
-
- var row = table.Rows[i];
- html += '' + row.Caption + ' | ';
-
- for (var n = 0; n < row.Values.length; n++) {
- html += '' + (row.Values[n] == null ? '' : row.Values[n]) + ' | ';
- }
-
- html += '
';
- }
-
- html += '
';
-
- page.querySelector('.metadataRawTable').innerHTML = html;
-
- Dashboard.hideLoadingMsg();
- });
- }
-
- function onDialogClosed() {
-
- Dashboard.hideLoadingMsg();
- currentDeferred.resolveWith(null, [hasChanges]);
- }
-
- function showEditor(itemId) {
-
- var xhr = new XMLHttpRequest();
- xhr.open('GET', 'components/metadataviewer/metadataviewer.template.html', true);
-
- xhr.onload = function (e) {
-
- var template = this.response;
-
- ApiClient.getItem(Dashboard.getCurrentUserId(), itemId).then(function (item) {
-
- var dlg = paperDialogHelper.createDialog({
- size: 'large'
- });
-
- dlg.classList.add('ui-body-b');
- dlg.classList.add('background-theme-b');
- dlg.classList.add('popupEditor');
-
- var html = '';
-
- html += '';
-
- html += '';
- html += Globalize.translateDocument(template);
- html += '
';
-
- dlg.innerHTML = html;
- document.body.appendChild(dlg);
-
- paperDialogHelper.open(dlg);
-
- dlg.querySelector('.btnCloseDialog').addEventListener('click', function (e) {
-
- paperDialogHelper.close(dlg);
- });
-
- dlg.querySelector('#selectLanguage').addEventListener('change', function (e) {
-
- showMetadataTable(dlg, item);
- });
-
- dlg.addEventListener('iron-overlay-closed', function () {
-
- Dashboard.hideLoadingMsg();
- });
-
- dlg.classList.add('metadataViewer');
-
- showMetadataTable(dlg, item);
- });
- }
-
- xhr.send();
- }
-
- return {
- show: function (itemId) {
- return new Promise(function (resolve, reject) {
-
- showEditor(itemId);
- });
- }
- };
-});
\ No newline at end of file
diff --git a/MovieOrganizer/Html/metadataviewer.template.html b/MovieOrganizer/Html/metadataviewer.template.html
deleted file mode 100644
index 80052c08..00000000
--- a/MovieOrganizer/Html/metadataviewer.template.html
+++ /dev/null
@@ -1,211 +0,0 @@
-
-
Lookup Criteria:
-
-
-
-
Results:
-
-
-
-
diff --git a/MovieOrganizer/MovieOrganizer.csproj b/MovieOrganizer/MovieOrganizer.csproj
index 3b64e899..38fd1732 100644
--- a/MovieOrganizer/MovieOrganizer.csproj
+++ b/MovieOrganizer/MovieOrganizer.csproj
@@ -92,10 +92,6 @@
-
-
-
-
xcopy "$(TargetPath)" "$(SolutionDir)\..\MediaBrowser.Dev\ProgramData-Server\Plugins\" /y