mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-31 03:50:11 -07:00
Change PMS beta update check URL
This commit is contained in:
parent
aa023f0166
commit
037e983350
2 changed files with 4 additions and 2 deletions
|
@ -2530,8 +2530,10 @@ $(document).ready(function() {
|
||||||
.prop('selected', selected));
|
.prop('selected', selected));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var download_url = 'https://plex.tv/api/downloads/' + (plex_update_channel === 'plexpass' ? '5' : '1') + '.json?channel=' + plex_update_channel;
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: 'https://plex.tv/api/downloads/1.json?channel=' + plex_update_channel,
|
url: download_url,
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
beforeSend: function (xhr) {
|
beforeSend: function (xhr) {
|
||||||
|
|
|
@ -336,7 +336,7 @@ class PlexTV(object):
|
||||||
|
|
||||||
def get_plextv_downloads(self, plexpass=False, output_format=''):
|
def get_plextv_downloads(self, plexpass=False, output_format=''):
|
||||||
if plexpass:
|
if plexpass:
|
||||||
uri = '/api/downloads/1.json?channel=plexpass'
|
uri = '/api/downloads/5.json?channel=plexpass'
|
||||||
else:
|
else:
|
||||||
uri = '/api/downloads/1.json'
|
uri = '/api/downloads/1.json'
|
||||||
request = self.request_handler.make_request(uri=uri,
|
request = self.request_handler.make_request(uri=uri,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue