mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove chromecastHelper entirely
This commit is contained in:
parent
3bfb8f42f1
commit
d4dce77bb6
2 changed files with 1 additions and 15 deletions
|
@ -1,7 +0,0 @@
|
||||||
export function getServerAddress(apiClient) {
|
|
||||||
return Promise.resolve(apiClient.serverAddress());
|
|
||||||
}
|
|
||||||
|
|
||||||
export default {
|
|
||||||
getServerAddress: getServerAddress
|
|
||||||
};
|
|
|
@ -353,14 +353,7 @@ class CastPlayer {
|
||||||
message.subtitleBurnIn = appSettings.get('subtitleburnin') || '';
|
message.subtitleBurnIn = appSettings.get('subtitleburnin') || '';
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Promise(function (resolve, reject) {
|
return player.sendMessageInternal(message);
|
||||||
import('./chromecastHelper').then(({ default: chromecastHelper }) => {
|
|
||||||
chromecastHelper.getServerAddress(apiClient).then(function (serverAddress) {
|
|
||||||
message.serverAddress = serverAddress;
|
|
||||||
player.sendMessageInternal(message).then(resolve, reject);
|
|
||||||
}, reject);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sendMessageInternal(message) {
|
sendMessageInternal(message) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue