diff options
Diffstat (limited to 'helpers/actions/pause.py')
-rw-r--r-- | helpers/actions/pause.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/helpers/actions/pause.py b/helpers/actions/pause.py deleted file mode 100644 index bb27734..0000000 --- a/helpers/actions/pause.py +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | def run(action, music=None, **kwargs): | ||
2 | for music in action.music_list(music): | ||
3 | if music.is_loaded_playing(): | ||
4 | music.pause() | ||
5 | |||
6 | def description(action, music=None, **kwargs): | ||
7 | if music is not None: | ||
8 | return "pausing « {} »".format(music.name) | ||
9 | else: | ||
10 | return "pausing all musics" | ||