Update server version before checking for server updates

This commit is contained in:
JonnyWong16 2016-07-26 19:09:11 -07:00
commit 495659e9cd
2 changed files with 10 additions and 0 deletions

View file

@ -615,6 +615,9 @@ class PlexTV(object):
return clean_servers
def get_plex_downloads(self):
logger.debug(u"PlexPy PlexTV :: Updating current server version.")
pmsconnect.PmsConnect().set_server_version()
logger.debug(u"PlexPy PlexTV :: Plex update channel is %s." % plexpy.CONFIG.PMS_UPDATE_CHANNEL)
plex_downloads = self.get_plextv_downloads(plexpass=(plexpy.CONFIG.PMS_UPDATE_CHANNEL == 'plexpass'))