update ffmpeg

This commit is contained in:
Luke Pulverenti 2016-04-02 00:16:18 -04:00
parent 37e35b51d2
commit 90f0116bf8
3 changed files with 37 additions and 16 deletions

View File

@ -33,7 +33,7 @@
<div class="fieldDescription paperCheckboxFieldDescription">${LabelSkipIfGraphicalSubsPresentHelp}</div> <div class="fieldDescription paperCheckboxFieldDescription">${LabelSkipIfGraphicalSubsPresentHelp}</div>
</li> </li>
<li> <li>
<paper-input type="text" id="txtOpenSubtitleUsername" autocomplete="off" required label="${LabelOpenSubtitlesUsername}"></paper-input> <paper-input type="text" id="txtOpenSubtitleUsername" autocomplete="off" label="${LabelOpenSubtitlesUsername}"></paper-input>
<div class="fieldDescription"><a target="_blank" href="http://www.opensubtitles.org/">${ButtonRegister}</a></div> <div class="fieldDescription"><a target="_blank" href="http://www.opensubtitles.org/">${ButtonRegister}</a></div>
</li> </li>
<li> <li>

View File

@ -158,6 +158,8 @@
document.body.appendChild(div); document.body.appendChild(div);
libraryBrowser.createCardMenus(div); libraryBrowser.createCardMenus(div);
elem = div;
} }
return elem; return elem;
@ -203,17 +205,27 @@
{ opacity: '0', offset: 0 }, { opacity: '0', offset: 0 },
{ opacity: '1', offset: 1 }]; { opacity: '1', offset: 1 }];
var timing = { duration: 200, iterations: iterations, fill: 'both' }; var timing = { duration: 200, iterations: iterations, fill: 'both' };
if (elem.animate) {
elem.animate(keyframes, timing); elem.animate(keyframes, timing);
} }
}
function fadeOut(elem, iterations) { function fadeOut(elem, iterations) {
var keyframes = [ var keyframes = [
{ opacity: '1', offset: 0 }, { opacity: '1', offset: 0 },
{ opacity: '0', offset: 1 }]; { opacity: '0', offset: 1 }];
var timing = { duration: 600, iterations: iterations, fill: 'both' }; var timing = { duration: 600, iterations: iterations, fill: 'both' };
elem.animate(keyframes, timing).onfinish = function () {
var onfinish = function () {
elem.parentNode.removeChild(elem); elem.parentNode.removeChild(elem);
}; };
if (elem.animate) {
elem.animate(keyframes, timing).onfinish = onfinish;
} else {
onfinish();
}
} }
function bindSearchEvents() { function bindSearchEvents() {

View File

@ -3127,7 +3127,7 @@ var AppInfo = {};
if (browserInfo.safari) { if (browserInfo.safari) {
postInitDependencies.push('cordova/connectsdk/connectsdk'); postInitDependencies.push('cordova/ios/chromecast');
postInitDependencies.push('cordova/ios/orientation'); postInitDependencies.push('cordova/ios/orientation');
@ -3170,6 +3170,8 @@ var AppInfo = {};
cordova.getAppVersion.getVersionNumber(function (appVersion) { cordova.getAppVersion.getVersionNumber(function (appVersion) {
require(['appStorage'], function (appStorage) {
var name = browserInfo.android ? "Emby for Android Mobile" : (browserInfo.safari ? "Emby for iOS" : "Emby Mobile"); var name = browserInfo.android ? "Emby for Android Mobile" : (browserInfo.safari ? "Emby for iOS" : "Emby Mobile");
// Remove special characters // Remove special characters
@ -3178,7 +3180,13 @@ var AppInfo = {};
var deviceId = null; var deviceId = null;
if (window.MainActivity) { if (window.MainActivity) {
deviceId = appStorage.getItem('legacyDeviceId');
if (!deviceId) {
deviceId = MainActivity.getLegacyDeviceId(); deviceId = MainActivity.getLegacyDeviceId();
appStorage.setItem('legacyDeviceId', deviceId);
}
} }
resolve({ resolve({
@ -3187,6 +3195,7 @@ var AppInfo = {};
appName: name, appName: name,
appVersion: appVersion appVersion: appVersion
}); });
});
}); });