diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 4e5bc1f0..4f425526 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -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) { diff --git a/plexpy/plextv.py b/plexpy/plextv.py index 699d455e..b57d039d 100644 --- a/plexpy/plextv.py +++ b/plexpy/plextv.py @@ -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,