diff --git a/CHANGES.md b/CHANGES.md index a784afc0..808c1466 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -15,6 +15,7 @@ * Add logging around the restart/shutdown event * Update package resource API 63.2.0 (3ae44cd) to 67.3.2 (b9bf2ec) * Refactor `timestamp_near` to `SGDatetime.timestamp_near` +* Change re-add deprecated endpoint used by external scripts ### 3.27.12 (2023-03-08 23:30:00 UTC) diff --git a/sickgear/webserveInit.py b/sickgear/webserveInit.py index 8a46f1d4..98e32d16 100644 --- a/sickgear/webserveInit.py +++ b/sickgear/webserveInit.py @@ -214,6 +214,9 @@ class WebServer(threading.Thread): (r'%s/api/builder(/?)(.*)' % self.options['web_root'], webserve.ApiBuilder), (r'%s/api(/?.*)' % self.options['web_root'], webapi.Api), # ---------------------------------------------------------------------------------------------------------- + # legacy deprecated Aug 2019 - NEVER remove as used in external scripts + (r'%s/home/postprocess(/?.*)' % self.options['web_root'], webserve.HomeProcessMedia), + (r'%s(/?update_watched_state_kodi/?)' % self.options['web_root'], webserve.NoXSRFHandler), # regular catchall routes - keep here at the bottom (r'%s/home(/?.*)' % self.options['web_root'], webserve.Home), (r'%s/manage/(/?.*)' % self.options['web_root'], webserve.Manage),