mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
rework shutdown
This commit is contained in:
parent
286793b357
commit
6825ae319e
3 changed files with 5 additions and 5 deletions
5
dashboard-ui/cordova/iap.js
vendored
5
dashboard-ui/cordova/iap.js
vendored
|
@ -63,8 +63,6 @@
|
||||||
|
|
||||||
function updateOriginalTransactionInfo(transactionId, originalTransactionId) {
|
function updateOriginalTransactionInfo(transactionId, originalTransactionId) {
|
||||||
|
|
||||||
alert('updateOriginalTransactionInfo ' + transactionId + '-' + originalTransactionId);
|
|
||||||
|
|
||||||
if (!transactionId) {
|
if (!transactionId) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -88,13 +86,11 @@
|
||||||
|
|
||||||
if (!product.transaction) {
|
if (!product.transaction) {
|
||||||
Logger.log('Transaction info missing. Failing validateProduct');
|
Logger.log('Transaction info missing. Failing validateProduct');
|
||||||
callback(false, product);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!product.transaction.id) {
|
if (!product.transaction.id) {
|
||||||
Logger.log('Transaction id missing. Failing validateProduct');
|
Logger.log('Transaction id missing. Failing validateProduct');
|
||||||
callback(false, product);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -160,7 +156,6 @@
|
||||||
|
|
||||||
if (requiresVerification) {
|
if (requiresVerification) {
|
||||||
store.when(id).verified(function (p) {
|
store.when(id).verified(function (p) {
|
||||||
alert('verified');
|
|
||||||
updateProductInfo(p);
|
updateProductInfo(p);
|
||||||
p.finish();
|
p.finish();
|
||||||
});
|
});
|
||||||
|
|
|
@ -1402,6 +1402,10 @@
|
||||||
attributes.push(createAttribute(Globalize.translate('MediaInfoCodec'), stream.Codec.toUpperCase()));
|
attributes.push(createAttribute(Globalize.translate('MediaInfoCodec'), stream.Codec.toUpperCase()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (stream.CodecTag) {
|
||||||
|
attributes.push(createAttribute(Globalize.translate('MediaInfoCodecTag'), stream.CodecTag));
|
||||||
|
}
|
||||||
|
|
||||||
if (stream.Profile) {
|
if (stream.Profile) {
|
||||||
attributes.push(createAttribute(Globalize.translate('MediaInfoProfile'), stream.Profile));
|
attributes.push(createAttribute(Globalize.translate('MediaInfoProfile'), stream.Profile));
|
||||||
}
|
}
|
||||||
|
|
|
@ -667,6 +667,7 @@
|
||||||
"MediaInfoLayout": "Layout",
|
"MediaInfoLayout": "Layout",
|
||||||
"MediaInfoLanguage": "Language",
|
"MediaInfoLanguage": "Language",
|
||||||
"MediaInfoCodec": "Codec",
|
"MediaInfoCodec": "Codec",
|
||||||
|
"MediaInfoCodecTag": "Codec tag",
|
||||||
"MediaInfoProfile": "Profile",
|
"MediaInfoProfile": "Profile",
|
||||||
"MediaInfoLevel": "Level",
|
"MediaInfoLevel": "Level",
|
||||||
"MediaInfoAspectRatio": "Aspect ratio",
|
"MediaInfoAspectRatio": "Aspect ratio",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue