mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update translations
This commit is contained in:
parent
4e86a39f8c
commit
28f378f8db
19 changed files with 284 additions and 64 deletions
|
@ -18,33 +18,6 @@
|
|||
});
|
||||
}
|
||||
|
||||
function getExternalPlayers(url, mimeType) {
|
||||
|
||||
var deferred = $.Deferred();
|
||||
|
||||
window.plugins.launcher.canLaunch({
|
||||
uri: url,
|
||||
dataType: mimeType,
|
||||
getAppList: true
|
||||
}, function (data) {
|
||||
|
||||
console.log('plugin canLaunch succcess');
|
||||
var players = data.appList.map(function (p) {
|
||||
|
||||
});
|
||||
deferred.resolveWith(null, [players]);
|
||||
|
||||
}, function () {
|
||||
console.log('plugin canLaunch error');
|
||||
deferred.reject();
|
||||
});
|
||||
|
||||
deferred.resolveWith(null, [players]);
|
||||
|
||||
return deferred.promise();
|
||||
}
|
||||
|
||||
window.ExternalPlayer.getExternalPlayers = getExternalPlayers;
|
||||
window.ExternalPlayer.showPlayerSelectionMenu = showPlayerSelectionMenu;
|
||||
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue