mirror of
https://github.com/Febbweiss/mopidy-touchscreen.git
synced 2026-03-04 22:25:39 +00:00
docs: Wrap long lines, separate sections
This commit is contained in:
34
README.rst
34
README.rst
@@ -18,10 +18,12 @@ Mopidy-Touchscreen
|
|||||||
:target: https://coveralls.io/r/9and3r/mopidy-touchscreen?branch=master
|
:target: https://coveralls.io/r/9and3r/mopidy-touchscreen?branch=master
|
||||||
:alt: Test coverage
|
:alt: Test coverage
|
||||||
|
|
||||||
Extension for displaying track info and controlling Mopidy from a touch screen using `PyGame <http://www.pygame.org/>`_/SDL.
|
Extension for displaying track info and controlling Mopidy from a touch screen
|
||||||
|
using `PyGame <http://www.pygame.org/>`_/SDL.
|
||||||
|
|
||||||
Cover images are downloaded from `last.fm <http://www.last.fm/api>`_
|
Cover images are downloaded from `last.fm <http://www.last.fm/api>`_
|
||||||
|
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
============
|
============
|
||||||
|
|
||||||
@@ -29,6 +31,7 @@ Dependencies
|
|||||||
- ``Pykka`` >= 1.1
|
- ``Pykka`` >= 1.1
|
||||||
- ``pygame``
|
- ``pygame``
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
|
||||||
@@ -56,12 +59,23 @@ Mopidy-Touchscreen to your Mopidy configuration file::
|
|||||||
|
|
||||||
The following configuration values are available:
|
The following configuration values are available:
|
||||||
|
|
||||||
- ``touchscreen/enabled``: If the Touchscreen extension should be enabled or not.
|
- ``touchscreen/enabled``: If the Touchscreen extension should be enabled or
|
||||||
- ``touchscreen/screen_width``: The width of the resolution you want to use in pixels.
|
not.
|
||||||
- ``touchscreen/screen_height``: The width of the resolution you want to use in pixels.
|
|
||||||
- ``touchscreen/cursor``: If the mouse cursor should be shown. (If you use a touchscreen it should be false)
|
- ``touchscreen/screen_width``: The width of the resolution you want to use in
|
||||||
- ``touchscreen/fullscreen``: If you want to be shown as a window or in fullscreen.
|
pixels.
|
||||||
- ``touchscreen/screen_width``: The folder to be used as cache. Defaults to ``$XDG_CACHE_DIR/mopidy/touchscreen``, which usually means
|
|
||||||
|
- ``touchscreen/screen_height``: The width of the resolution you want to use in
|
||||||
|
pixels.
|
||||||
|
|
||||||
|
- ``touchscreen/cursor``: If the mouse cursor should be shown. (If you use a
|
||||||
|
touchscreen it should be false)
|
||||||
|
|
||||||
|
- ``touchscreen/fullscreen``: If you want to be shown as a window or in
|
||||||
|
fullscreen.
|
||||||
|
|
||||||
|
- ``touchscreen/screen_width``: The folder to be used as cache. Defaults to
|
||||||
|
``$XDG_CACHE_DIR/mopidy/touchscreen``, which usually means
|
||||||
``~/.cache/mopidy/touchscreen``
|
``~/.cache/mopidy/touchscreen``
|
||||||
|
|
||||||
|
|
||||||
@@ -92,7 +106,7 @@ To find your values find an example of using pygame with your LCD Shield and it
|
|||||||
os.environ["SDL_MOUSEDRV"] = "TSLIB"
|
os.environ["SDL_MOUSEDRV"] = "TSLIB"
|
||||||
os.environ["SDL_MOUSEDEV"] = "event0"
|
os.environ["SDL_MOUSEDEV"] = "event0"
|
||||||
|
|
||||||
Run mopidy with root privileges
|
Run Mopidy with root privileges
|
||||||
```````````````````````````````
|
```````````````````````````````
|
||||||
|
|
||||||
You can use ``sudo mopidy``.
|
You can use ``sudo mopidy``.
|
||||||
@@ -108,6 +122,7 @@ Help
|
|||||||
You can use `mopidy discuss <https://discuss.mopidy.com/>`_
|
You can use `mopidy discuss <https://discuss.mopidy.com/>`_
|
||||||
or send an email to `9and3r@gmail.com <mailto:9and3r@gmail.com>`_
|
or send an email to `9and3r@gmail.com <mailto:9and3r@gmail.com>`_
|
||||||
|
|
||||||
|
|
||||||
Features
|
Features
|
||||||
========
|
========
|
||||||
|
|
||||||
@@ -132,16 +147,19 @@ Planned
|
|||||||
|
|
||||||
* Use keyboard or GPIO buttons instead of touchscreen
|
* Use keyboard or GPIO buttons instead of touchscreen
|
||||||
|
|
||||||
|
|
||||||
Screenshots
|
Screenshots
|
||||||
===========
|
===========
|
||||||
|
|
||||||
.. image:: http://i60.tinypic.com/qqsait.jpg
|
.. image:: http://i60.tinypic.com/qqsait.jpg
|
||||||
|
|
||||||
|
|
||||||
Video
|
Video
|
||||||
=====
|
=====
|
||||||
|
|
||||||
`Example video running the extension <https://www.youtube.com/watch?v=KuYoIb8Q2LI>`_
|
`Example video running the extension <https://www.youtube.com/watch?v=KuYoIb8Q2LI>`_
|
||||||
|
|
||||||
|
|
||||||
Project resources
|
Project resources
|
||||||
=================
|
=================
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user