diff --git a/data/interfaces/default/libraries.html b/data/interfaces/default/libraries.html index c6405f2d..abc68edf 100644 --- a/data/interfaces/default/libraries.html +++ b/data/interfaces/default/libraries.html @@ -8,17 +8,6 @@ <%def name="body()">
- % if config['update_section_ids'] == 1: -
- Tautulli needs to update the Library IDs in your databse. Click the "Refresh libraries" button below to begin the update. -
- % elif config['update_section_ids'] == -1: -
- Tautulli is updating library IDs in the database. This could take a few minutes to hours depending on the size of your database. -
- You may leave this page and come back later. -
- % endif
All Libraries diff --git a/plexpy/webserve.py b/plexpy/webserve.py index c9382d90..c31e04a3 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -389,11 +389,7 @@ class WebInterface(object): @cherrypy.expose @requireAuth() def libraries(self, **kwargs): - config = { - "update_section_ids": plexpy.CONFIG.UPDATE_SECTION_IDS - } - - return serve_template(templatename="libraries.html", title="Libraries", config=config) + return serve_template(templatename="libraries.html", title="Libraries") @cherrypy.expose @cherrypy.tools.json_out() @@ -995,19 +991,6 @@ class WebInterface(object): else: return {'message': 'no data received'} - @cherrypy.expose - @requireAuth(member_of("admin")) - def update_section_ids(self, **kwargs): - - logger.debug(u"Manual database section_id update called.") - - result = libraries.update_section_ids() - - if result: - return "Updated all section_id's in database." - else: - return "Unable to update section_id's in database. See logs for details." - @cherrypy.expose @cherrypy.tools.json_out() @requireAuth(member_of("admin"))