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>
This commit is contained in:
parent
fd0e0d77aa
commit
6f0238415f
4 changed files with 21 additions and 12 deletions
|
@ -37,3 +37,13 @@ Games
|
|||
This is enabled by default in the simulator. The app is bundled in the
|
||||
firmware image but it is disabled by default to keep RAM available for
|
||||
user developed applications. It can be enabled by modifying ``main.py``.
|
||||
|
||||
Integration
|
||||
-----------
|
||||
|
||||
.. automodule:: apps.musicplayer
|
||||
|
||||
This app is enabled by default in the simulator.
|
||||
The app is also frozen into the firmware image but it is disabled by
|
||||
default in order to keep RAM available for user developed applications.
|
||||
It can be enabled by modifying ``main.py``.
|
||||
|
|
BIN
res/MusicApp.png
Normal file
BIN
res/MusicApp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.1 KiB |
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue