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

update metadata editor

This commit is contained in:
Luke Pulverenti 2016-07-02 22:47:39 -04:00
parent 9ea4a29401
commit a033df6932
9 changed files with 29 additions and 24 deletions

View file

@ -176,6 +176,8 @@
loadSuggestions(view);
}
libraryBrowser.createCardMenus(searchResults);
view.querySelector('.txtSearch').addEventListener('input', function () {
onSearchChange(this.value);
});

View file

@ -2784,7 +2784,7 @@ var AppInfo = {};
defineRoute({
path: '/mysyncjob.html',
dependencies: ['paper-fab', 'paper-item-body', 'paper-icon-item'],
dependencies: [],
autoFocus: false,
transition: 'fade',
controller: 'scripts/syncjob'
@ -2946,7 +2946,7 @@ var AppInfo = {};
defineRoute({
path: '/syncjob.html',
dependencies: ['paper-fab', 'paper-item-body', 'paper-icon-item'],
dependencies: [],
autoFocus: false,
transition: 'fade',
controller: 'scripts/syncjob'

View file

@ -1,4 +1,4 @@
define(['jQuery', 'datetime', 'paper-progress', 'listViewStyle', 'paper-icon-button-light', 'emby-button'], function ($, datetime) {
define(['jQuery', 'datetime', 'listViewStyle', 'paper-icon-button-light', 'emby-button'], function ($, datetime) {
function renderJob(page, job, dialogOptions) {
@ -83,7 +83,7 @@
html += '</div>';
html += '<div class="secondary" style="padding-top:5px;">';
html += '<paper-progress class="mini" style="width:100%;" value="' + (jobItem.Progress || 0) + '"></paper-progress>';
html += '<div style="background:#e0e0e0;height:4px;"><div style="background:#52B54B;width:' + (jobItem.Progress || 0) + '%;height:100%;"></div></div>';
html += '</div>';
html += '</div>';

View file

@ -19,6 +19,7 @@
}
if (systemInfo.OperatingSystem == 'Windows' && systemInfo.SystemArchitecture != 'Arm') {
view.querySelector('.suggestedLocation').innerHTML = Globalize.translate('FFmpegSuggestedDownload', '<a target="_blank" href="https://ffmpeg.zeranoe.com/builds">https://ffmpeg.zeranoe.com</a>');
if (systemInfo.SystemArchitecture == 'X86') {
@ -28,30 +29,28 @@
instructions = 'Download FFmpeg 64-Bit Static';
}
view.querySelector('.downloadInstructions').innerHTML = instructions;
} else if (systemInfo.OperatingSystem == 'Linux' && systemInfo.SystemArchitecture != 'Arm') {
view.querySelector('.suggestedLocation').innerHTML = Globalize.translate('FFmpegSuggestedDownload', '<a target="_blank" href="http://johnvansickle.com/ffmpeg">http://johnvansickle.com/ffmpeg</a>');
if (systemInfo.SystemArchitecture == 'X86') {
instructions = 'Download x86 build';
}
else if (systemInfo.SystemArchitecture == 'X64') {
instructions = 'Download x86_64 build';
}
view.querySelector('.downloadInstructions').innerHTML = instructions;
} else if (systemInfo.OperatingSystem == 'Osx' && systemInfo.SystemArchitecture == 'X64') {
view.querySelector('.suggestedLocation').innerHTML = Globalize.translate('FFmpegSuggestedDownload', '<a target="_blank" href="http://evermeet.cx/ffmpeg">http://evermeet.cx/ffmpeg</a>');
instructions = 'Download both ffmpeg and ffprobe, and extract them to the same folder.';
view.querySelector('.downloadInstructions').innerHTML = instructions;
} else {
view.querySelector('.suggestedLocation').innerHTML = Globalize.translate('FFmpegSuggestedDownload', '<a target="_blank" href="http://ffmpeg.org">https://ffmpeg.org/download.html</a>');
view.querySelector('.downloadInstructions').innerHTML = '';
}
view.querySelector('.downloadInstructions').innerHTML = instructions;
var selectEncoderPath = view.querySelector('#selectEncoderPath');
selectEncoderPath.value = 'Custom';
onSelectEncoderPathChange.call(selectEncoderPath);