mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix album save in metadata manager
This commit is contained in:
parent
9336922f29
commit
adacfbbab3
15 changed files with 353 additions and 90 deletions
14
dashboard-ui/thirdparty/cordova/connectsdk.js
vendored
14
dashboard-ui/thirdparty/cordova/connectsdk.js
vendored
|
@ -1,12 +1,14 @@
|
|||
(function () {
|
||||
|
||||
|
||||
function onDeviceFound() {
|
||||
function onDeviceFound(e) {
|
||||
|
||||
console.log('device found');
|
||||
}
|
||||
|
||||
function onDeviceLost() {
|
||||
function onDeviceLost(e) {
|
||||
|
||||
console.log('device lost');
|
||||
}
|
||||
|
||||
function initSdk() {
|
||||
|
@ -17,13 +19,15 @@
|
|||
manager.setAirPlayServiceMode(ConnectSDK.AirPlayServiceMode.Media);
|
||||
|
||||
// Show devices that support playing videos and pausing
|
||||
manager.setCapabilityFilters([
|
||||
new ConnectSDK.CapabilityFilter(["MediaPlayer.Display.Video", "MediaControl.Pause"])
|
||||
]);
|
||||
//manager.setCapabilityFilters([
|
||||
// new ConnectSDK.CapabilityFilter(["MediaPlayer.Display.Video", "MediaControl.Pause"])
|
||||
//]);
|
||||
|
||||
manager.addListener('devicefound', onDeviceFound);
|
||||
manager.addListener('devicelost', onDeviceLost);
|
||||
|
||||
manager.startDiscovery();
|
||||
|
||||
requirejs(['thirdparty/cordova/chromecast']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue