summaryrefslogtreecommitdiff
path: root/wasp
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-11-22 09:22:50 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-11-22 09:22:50 (GMT)
commit6f0238415ff55e9e5969465c811a86781963ff87 (patch)
tree3edd568f180ef1306d07a5e6c95eef8b85a1486b /wasp
parentfd0e0d77aa9ca90f0cb110a31fb098d189b87114 (diff)
apps: music: Add to application index
Additionally we rename the screenshot to conform to the naming convention (app.NAME + 'App.png') used for simulator screenshots. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp')
-rw-r--r--wasp/apps/musicplayer.py23
1 files changed, 11 insertions, 12 deletions
diff --git a/wasp/apps/musicplayer.py b/wasp/apps/musicplayer.py
index cf96ca1..91483c3 100644
--- a/wasp/apps/musicplayer.py
+++ b/wasp/apps/musicplayer.py
@@ -3,12 +3,18 @@
# Copyright (C) 2020 Carlos Gil
"""Music Player for GadgetBridge
-~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ .. figure:: res/MusicApp.png
+ :width: 179
+
+ Screenshot of the Music Player application
Music Player Controller:
-- Touch: play/pause
-- Swipe UPDOWN: Volume down/up
-- Swipe LEFTRIGHT: next/previous
+
+* Touch: play/pause
+* Swipe UPDOWN: Volume down/up
+* Swipe LEFTRIGHT: next/previous
"""
import wasp
@@ -16,15 +22,8 @@ import wasp
import icons
import time
-
class MusicPlayerApp(object):
- """ Music Player Controller application.
-
- .. figure:: res/MusicPlayerApp.png
- :width: 179
-
- Screenshot of the Music Player application
- """
+ """ Music Player Controller application."""
NAME = 'Music'
ICON = icons.headset