README.rst 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. ****************************
  2. Mopidy-Touchscreen
  3. ****************************
  4. .. image:: https://img.shields.io/pypi/v/Mopidy-Touchscreen.svg?style=flat
  5. :target: https://pypi.python.org/pypi/Mopidy-Touchscreen/
  6. :alt: Latest PyPI version
  7. .. image:: https://img.shields.io/pypi/dm/Mopidy-Touchscreen.svg?style=flat
  8. :target: https://pypi.python.org/pypi/Mopidy-Touchscreen/
  9. :alt: Number of PyPI downloads
  10. .. image:: https://img.shields.io/travis/9and3r/modipy-touchscreen/master.png?style=flat
  11. :target: https://travis-ci.org/9and3r/modipy-touchscreen
  12. :alt: Travis CI build status
  13. .. image:: https://img.shields.io/coveralls/9and3r/modipy-touchscreen/master.svg?style=flat
  14. :target: https://coveralls.io/r/9and3r/modipy-touchscreen?branch=master
  15. :alt: Test coverage
  16. Extension for displaying track info and controlling Mopidy from a touch screen using `PyGame <http://www.pygame.org/>`_/SDL.
  17. Dependencies
  18. ============
  19. - ``Mopidy`` >= 0.18
  20. - ``Pykka`` >= 1.1
  21. - ``pygame``
  22. Installation
  23. ============
  24. Install by running::
  25. pip install Mopidy-Touchscreen
  26. Or, if available, install the Debian/Ubuntu package from `apt.mopidy.com
  27. <http://apt.mopidy.com/>`_.
  28. Configuration
  29. =============
  30. Before starting Mopidy, you must add configuration for
  31. Mopidy-Touchscreen to your Mopidy configuration file::
  32. [touchscreen]
  33. enabled = true
  34. screen_width = 320
  35. screen_height = 240
  36. cursor = True
  37. fullscreen = False
  38. cache_dir = $XDG_CACHE_DIR/mopidy/touchscreen
  39. The following configuration values are available:
  40. - ``touchscreen/enabled``: If the Touchscreen extension should be enabled or not.
  41. - ``touchscreen/screen_width``: The width of the resolution you want to use in pixels.
  42. - ``touchscreen/screen_height``: The width of the resolution you want to use in pixels.
  43. - ``touchscreen/cursor``: If the mouse cursor should be shown. (If you use a touchscreen it should be false)
  44. - ``touchscreen/fullscreen``: If you want to be shown as a window or in fullscreen.
  45. - ``touchscreen/screen_width``: The folder to be used as cache. Defaults to ``$XDG_CACHE_DIR/mopidy/touchscreen``, which usually means
  46. ``~/.cache/mopidy/spotify``
  47. Features
  48. =============
  49. Working
  50. -------
  51. * See track info (track name, album, artist, cover image)
  52. * Seek Track
  53. * Play/Pause
  54. * Mute/Unmute
  55. * Change volume
  56. * Next/Previous track
  57. * Library
  58. * Menu (exit mopidy, restart...)
  59. * Shuffle on/off
  60. * Repeat one/on/off
  61. * Playback list and song selection
  62. * Playlists
  63. Planned
  64. -------
  65. * Use keyboard or GPIO buttons instead of touchscreen
  66. Screenshots
  67. ===========
  68. .. image:: http://i60.tinypic.com/qqsait.jpg
  69. Video
  70. =====
  71. `Example video running the extension <https://www.youtube.com/watch?v=KuYoIb8Q2LI>`_
  72. Project resources
  73. =================
  74. - `Source code <https://github.com/9and3r/mopidy-touchscreen>`_
  75. - `Issue tracker <https://github.com/9and3r/mopidy-touchscreen/issues>`_
  76. - `Download development snapshot <https://github.com/9and3r/mopidy-touchscreen/archive/master.tar.gz#egg=Mopidy-Touchscreen-dev>`_
  77. Changelog
  78. =========
  79. v0.2.0
  80. ----------------------------------------
  81. - First working version
  82. v0.1.0 (UNRELEASED)
  83. ----------------------------------------
  84. - Initial release.