def api_getconfiguration(self, value): clientconfigkeys = { 'getencoders' : audiotranscode.getEncoders(), 'getdecoders' : audiotranscode.getDecoders(), 'transcodingenabled' : cherry.config.media.transcode.bool, 'getplayables' : cherry.config.media.playable.list, 'fetchalbumart' : cherry.config.media.fetch_album_art.bool, 'isadmin' : cherrypy.session['admin'], } return json.dumps(clientconfigkeys)
def api_getdecoders(self): return json.dumps(audiotranscode.getDecoders())
def api_getdecoders(self): return json.dumps(audiotranscode.getDecoders())