def GUI_app_mute(n_clicks): if n_clicks != 0: system.mute() return u'muted'
def API_mute(): system.mute() return jsonify({'message': 'Volume muted', 'rc': 0})