Don't cache last watched or play count

This commit is contained in:
Jonathan Wong 2016-01-16 04:10:21 -08:00
parent 4a65dc1d6e
commit c0f0cb0d9e
3 changed files with 53 additions and 61 deletions

View file

@ -352,15 +352,6 @@ class WebInterface(object):
logger.warn(u"Unable to retrieve data for get_library_recently_added.")
return serve_template(templatename="library_recently_added.html", data=None, title="Recently Added")
@cherrypy.expose
def get_library_media_info(self, section_id=None, **kwargs):
library_data = libraries.Libraries()
result = library_data.get_datatables_media_info(section_id=section_id, kwargs=kwargs)
cherrypy.response.headers['Content-type'] = 'application/json'
return json.dumps(result)
@cherrypy.expose
def get_library_media_info(self, section_id=None, section_type=None, rating_key=None, **kwargs):