|
From: <vl...@us...> - 2011-09-27 14:03:25
|
Revision: 428
http://openautomation.svn.sourceforge.net/openautomation/?rev=428&view=rev
Author: vlamers
Date: 2011-09-27 14:03:14 +0000 (Tue, 27 Sep 2011)
Log Message:
-----------
Plugin to control mpd via GA?\197?\189s
Modified Paths:
--------------
wiregate/plugin/generic/mpd_Player2.pl
Modified: wiregate/plugin/generic/mpd_Player2.pl
===================================================================
--- wiregate/plugin/generic/mpd_Player2.pl 2011-09-25 16:48:13 UTC (rev 427)
+++ wiregate/plugin/generic/mpd_Player2.pl 2011-09-27 14:03:14 UTC (rev 428)
@@ -126,11 +126,11 @@
{ if ($msg{'data'} == 01) {
knx_write($kueche,00,1);
knx_write($wohnz,1,1);
- my $debug = `amixer -c $cardnum set $Speaker $Kanal $vol_party`;
+ my $debug = `amixer -c $cardnum set $Speaker $Kanal2 $vol_party`;
return "Party"; }
if ($msg{'value'} == 00) {
- my $debug = `amixer -c $cardnum set $Speaker $Kanal $volume_anfang`;
+ my $debug = `amixer -c $cardnum set $Speaker $Kanal2 $volume_anfang%`;
knx_write($kueche,01,1);
return "Party ende"; }
else{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|