Exemple #1
0
 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)
Exemple #2
0
 def api_getencoders(self):
     return json.dumps(audiotranscode.getEncoders())
Exemple #3
0
 def api_getencoders(self):
     return json.dumps(audiotranscode.getEncoders())