From 26005d65840f0724cf53a0f6b7f869a75e2565a7 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Mon, 9 Mar 2015 17:03:25 -0700 Subject: [PATCH] expose getArtistjson so we can automatically update albums when updating an artist --- headphones/webserve.py | 1 + 1 file changed, 1 insertion(+) diff --git a/headphones/webserve.py b/headphones/webserve.py index 75bd4232..f51356f0 100644 --- a/headphones/webserve.py +++ b/headphones/webserve.py @@ -877,6 +877,7 @@ class WebInterface(object): cherrypy.response.headers['Content-type'] = 'application/json' return json_albums + @cherrypy.expose def getArtistjson(self, ArtistID, **kwargs): myDB = db.DBConnection() artist = myDB.action('SELECT * FROM artists WHERE ArtistID=?', [ArtistID]).fetchone()