mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-30 03:28:31 -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));
|
||||
}
|
||||
|
||||
var download_url = 'https://plex.tv/api/downloads/' + (plex_update_channel === 'plexpass' ? '5' : '1') + '.json?channel=' + plex_update_channel;
|
||||
|
||||
$.ajax({
|
||||
url: 'https://plex.tv/api/downloads/1.json?channel=' + plex_update_channel,
|
||||
url: download_url,
|
||||
type: 'GET',
|
||||
dataType: 'json',
|
||||
beforeSend: function (xhr) {
|
||||
|
|
|
@ -336,7 +336,7 @@ class PlexTV(object):
|
|||
|
||||
def get_plextv_downloads(self, plexpass=False, output_format=''):
|
||||
if plexpass:
|
||||
uri = '/api/downloads/1.json?channel=plexpass'
|
||||
uri = '/api/downloads/5.json?channel=plexpass'
|
||||
else:
|
||||
uri = '/api/downloads/1.json'
|
||||
request = self.request_handler.make_request(uri=uri,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue