mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add method to source device icons locally
This commit is contained in:
parent
2587ac94b3
commit
f3707153a0
18 changed files with 62 additions and 76 deletions
|
@ -213,17 +213,14 @@ var Dashboard = {
|
|||
}
|
||||
},
|
||||
capabilities: function (appHost) {
|
||||
var caps = {
|
||||
var capabilities = {
|
||||
PlayableMediaTypes: ["Audio", "Video"],
|
||||
SupportedCommands: ["MoveUp", "MoveDown", "MoveLeft", "MoveRight", "PageUp", "PageDown", "PreviousLetter", "NextLetter", "ToggleOsd", "ToggleContextMenu", "Select", "Back", "SendKey", "SendString", "GoHome", "GoToSettings", "VolumeUp", "VolumeDown", "Mute", "Unmute", "ToggleMute", "SetVolume", "SetAudioStreamIndex", "SetSubtitleStreamIndex", "DisplayContent", "GoToSearch", "DisplayMessage", "SetRepeatMode", "ChannelUp", "ChannelDown", "PlayMediaSource", "PlayTrailers"],
|
||||
SupportsPersistentIdentifier: "cordova" === self.appMode || "android" === self.appMode,
|
||||
SupportsMediaControl: true
|
||||
};
|
||||
caps.IconUrl = appHost.deviceIconUrl();
|
||||
caps.SupportsSync = appHost.supports("sync");
|
||||
caps.SupportsContentUploading = appHost.supports("cameraupload");
|
||||
appHost.getPushTokenInfo();
|
||||
return caps = Object.assign(caps, appHost.getPushTokenInfo());
|
||||
return capabilities = Object.assign(capabilities, appHost.getPushTokenInfo());
|
||||
}
|
||||
};
|
||||
var AppInfo = {};
|
||||
|
@ -1155,7 +1152,7 @@ var AppInfo = {};
|
|||
})();
|
||||
|
||||
require(["css!css/site"]);
|
||||
|
||||
|
||||
return require(["browser"], onWebComponentsReady);
|
||||
}();
|
||||
pageClassOn("viewshow", "standalonePage", function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue