blob: 4575f3248105fd3442cd1d52f3ecc80321d510cb (
plain) (
tree)
|
|
def run(action, music=None, **kwargs):
for music in action.music_list(music):
if music.is_loaded_playing():
music.pause()
def description(action, music=None, **kwargs):
if music is not None:
return _("pausing « {} »").format(music.name)
else:
return _("pausing all musics")
|