mpd: Add TODO for handling unknown outpitid
This commit is contained in:
parent
c69f9f7af4
commit
b65293d2bc
@ -14,6 +14,7 @@ def disableoutput(context, outputid):
|
||||
"""
|
||||
if int(outputid) == 0:
|
||||
context.core.playback.set_mute(True)
|
||||
# TODO Return proper error on unknown outputid
|
||||
|
||||
|
||||
@handle_request(r'^enableoutput "(?P<outputid>\d+)"$')
|
||||
@ -27,6 +28,7 @@ def enableoutput(context, outputid):
|
||||
"""
|
||||
if int(outputid) == 0:
|
||||
context.core.playback.set_mute(False)
|
||||
# TODO Return proper error on unknown outputid
|
||||
|
||||
|
||||
@handle_request(r'^outputs$')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user