mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update live tv media sources
This commit is contained in:
parent
4b6692c92d
commit
9336922f29
9 changed files with 440 additions and 11 deletions
|
@ -229,8 +229,6 @@
|
|||
|
||||
$(this).trigger('connect');
|
||||
|
||||
MediaController.setActivePlayer(PlayerName);
|
||||
|
||||
this.sendMessage({
|
||||
options: {},
|
||||
command: 'Identify'
|
||||
|
@ -548,6 +546,8 @@
|
|||
|
||||
$(castPlayer).on("connect", function (e) {
|
||||
|
||||
MediaController.setActivePlayer(PlayerName, self.getCurrentTargetInfo());
|
||||
|
||||
console.log('cc: connect');
|
||||
// Reset this so the next query doesn't make it appear like content is playing.
|
||||
self.lastPlayerData = {};
|
||||
|
@ -837,6 +837,13 @@
|
|||
console.log(JSON.stringify(data));
|
||||
return data;
|
||||
};
|
||||
|
||||
self.tryPair = function (target) {
|
||||
|
||||
var deferred = $.Deferred();
|
||||
deferred.resolve();
|
||||
return deferred.promise();
|
||||
};
|
||||
}
|
||||
|
||||
function initializeChromecast() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue