Serve cached content up through cherrypy. Images/info files available through 'cache/{artwork,info}/<mbid>.<date>.<ext>'

This commit is contained in:
rembo10
2012-06-22 17:13:37 +05:30
parent 95cadfac93
commit 9866f8b4ea

View File

@@ -56,6 +56,10 @@ def initialize(options={}):
'/favicon.ico':{
'tools.staticfile.on': True,
'tools.staticfile.filename': "images/favicon.ico"
},
'/cache':{
'tools.staticdir.on': True,
'tools.staticdir.dir': headphones.CACHE_DIR
}
}