1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix web socket session creation

This commit is contained in:
Luke Pulverenti 2016-09-14 17:34:19 -04:00
parent 66b4ed053b
commit 274dbafef5
46 changed files with 105 additions and 70 deletions

View file

@ -16,12 +16,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.1.79",
"_release": "1.1.79",
"version": "1.1.80",
"_release": "1.1.80",
"_resolution": {
"type": "version",
"tag": "1.1.79",
"commit": "bec0b71fec80821578400743ad836ce1a05c0c00"
"tag": "1.1.80",
"commit": "e5081536baafdd98851376288133d55f7adb1fdb"
},
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
"_target": "^1.1.51",

View file

@ -940,13 +940,6 @@
return self.getJSON(url);
};
self.getLiveTvRecordingSeries = function (options) {
var url = self.getUrl("LiveTv/Recordings/Series", options || {});
return self.getJSON(url);
};
self.getLiveTvRecordingGroups = function (options) {
var url = self.getUrl("LiveTv/Recordings/Groups", options || {});

View file

@ -537,12 +537,15 @@
url = getEmbyServerUrl(url, "Connect/Exchange?format=json&ConnectUserId=" + credentials.ConnectUserId);
var auth = 'MediaBrowser Client="' + appName + '", Device="' + deviceName + '", DeviceId="' + deviceId + '", Version="' + appVersion + '"';
return ajax({
type: "GET",
url: url,
dataType: "json",
headers: {
"X-MediaBrowser-Token": server.ExchangeToken
"X-MediaBrowser-Token": server.ExchangeToken,
"X-Emby-Authorization": auth
}
}).then(function (auth) {