From: Guillaume Pellerin Date: Thu, 25 Jul 2013 16:24:39 +0000 (+0200) Subject: update README X-Git-Tag: 0.3~11 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=18b70dec0e2332fedbca57ffde5f233d09034da6;p=piplayer.git update README --- diff --git a/README.md b/README.md index e69de29..abdd0da 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,38 @@ + +=========================================== +PiPlayer : audio sample player for the Rpi +=========================================== + +a gstreamer based media sample player for the Raspberry Pi trigerred by GPIO or OSC callbacks. + + +Usage +====== +``` + sudo piplayer DIR +``` + +Example +========== +``` + sudo piplayer /path/to/dir/ +``` + +OSC +==== + + * port : 12345 + * play address : /play/1 + +GPIO +===== + + * play channel : 22 + * play method : PUD_DOWN between PIN 1 (3.3V Power) and PIN 15 (GPIO 22) + * stop channel : 24 + * stop method : PUD_DOWN between PIN 1 (3.3V Power) and PIN 18 (GPIO 24) + +DAEMON +======= + +See etc/ diff --git a/scripts/piplayer b/scripts/piplayer index fdb1c78..2371375 100755 --- a/scripts/piplayer +++ b/scripts/piplayer @@ -21,6 +21,7 @@ # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. +import sys from piplayer.player import PiPlayer diff --git a/setup.py b/setup.py index 53c4db7..2e4e7ee 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup( version = '0.2', install_requires = [ 'setuptools', - 'liblo', + 'pyliblo', 'RPi.GPIO', ], platforms=['OS Independent'],