From 1a48829d23acfa323bbeb22b32252984ad75d700 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sat, 24 Apr 2021 08:56:18 -0700 Subject: [PATCH] Add check for release commit hash --- plexpy/versioncheck.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plexpy/versioncheck.py b/plexpy/versioncheck.py index edfc5ae1..59fced5f 100644 --- a/plexpy/versioncheck.py +++ b/plexpy/versioncheck.py @@ -281,6 +281,10 @@ def check_github(scheduler=False, notify=False, use_cache=False): plexpy.LATEST_RELEASE = release['tag_name'] + if plexpy.CONFIG.GIT_BRANCH in ('master', 'beta') and release['target_commitish'] == plexpy.CURRENT_VERSION: + logger.info('Tautulli is up to date') + return plexpy.CURRENT_VERSION + if notify: plexpy.NOTIFY_QUEUE.put({'notify_action': 'on_plexpyupdate', 'plexpy_download_info': release,