From: Guillaume Pellerin Date: Sun, 28 Jul 2013 09:27:46 +0000 (+0200) Subject: add prop info X-Git-Tag: 0.3~1^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=45f148be2c2d9a8992ca440f637f75d6460b0322;p=piplayer.git add prop info --- diff --git a/README.md b/README.md index f74b160..621c466 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,7 @@ Usage ------ ``` - $ sudo piplayer DIR -``` - -Example ------------- - -``` - $ sudo piplayer /path/to/dir/ + $ sudo piplayer /path/to/dir ``` OSC @@ -24,14 +17,15 @@ OSC * port : 12345 * play address : /play/1 + * stop address : /play/0 GPIO ----- * play channel : 22 - * play method : PUD_DOWN between PIN 1 (3.3V Power) and PIN 15 (GPIO 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) + * stop method : PUD_DOWN between PIN 1 (3.3V power) and PIN 18 (GPIO 24) INSTALL -------- @@ -49,14 +43,17 @@ DAEMON ------- ``` - $ cp -ra etc/* /etc/ - $ update-rc.d piplayer defaults 5 1 + $ sudo cp -ra etc/* /etc/ + $ sudo update-rc.d piplayer defaults 5 1 ``` +Override daemon start and options by editing /etc/default/piplayer + + OPTIONS -------- -Some properties and options (like "auto next" and "looping") are tunable in the PiPlayer class: +Some properties (ports, channels) and options (like "auto next" and "looping") are tunable in the PiPlayer class: ``` class PiPlayer(object):