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

rework shutdown

This commit is contained in:
Luke Pulverenti 2015-10-27 10:02:30 -04:00
parent 286793b357
commit 6825ae319e
3 changed files with 5 additions and 5 deletions

View file

@ -63,8 +63,6 @@
function updateOriginalTransactionInfo(transactionId, originalTransactionId) {
alert('updateOriginalTransactionInfo ' + transactionId + '-' + originalTransactionId);
if (!transactionId) {
return;
}
@ -88,13 +86,11 @@
if (!product.transaction) {
Logger.log('Transaction info missing. Failing validateProduct');
callback(false, product);
return;
}
if (!product.transaction.id) {
Logger.log('Transaction id missing. Failing validateProduct');
callback(false, product);
return;
}
@ -160,7 +156,6 @@
if (requiresVerification) {
store.when(id).verified(function (p) {
alert('verified');
updateProductInfo(p);
p.finish();
});

View file

@ -1402,6 +1402,10 @@
attributes.push(createAttribute(Globalize.translate('MediaInfoCodec'), stream.Codec.toUpperCase()));
}
if (stream.CodecTag) {
attributes.push(createAttribute(Globalize.translate('MediaInfoCodecTag'), stream.CodecTag));
}
if (stream.Profile) {
attributes.push(createAttribute(Globalize.translate('MediaInfoProfile'), stream.Profile));
}

View file

@ -667,6 +667,7 @@
"MediaInfoLayout": "Layout",
"MediaInfoLanguage": "Language",
"MediaInfoCodec": "Codec",
"MediaInfoCodecTag": "Codec tag",
"MediaInfoProfile": "Profile",
"MediaInfoLevel": "Level",
"MediaInfoAspectRatio": "Aspect ratio",