From 89bd59e84d324a49abe506a3b6e2157d5100fbd3 Mon Sep 17 00:00:00 2001 From: ra666ack <> Date: Sun, 28 Jan 2018 17:48:28 +0000 Subject: [PATCH] 71_YAMAHA_NP: Added player readings support for airplay and spotify inputs. git-svn-id: https://svn.fhem.de/fhem/trunk@16025 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 2 ++ fhem/FHEM/71_YAMAHA_NP.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index e3d242443..533487714 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,7 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: 71_YAMAHA_NP: Added player readings support for + airplay and spotify inputs. - change: 93_DbLog:V3.8.0, log events containing pipe "|" possible - bugfix: 98_TRAFFIC: v1.3.5, fixed return readings in DbLog_SplitFn - feature: attr: -a and -r Options added (Forum #83414) diff --git a/fhem/FHEM/71_YAMAHA_NP.pm b/fhem/FHEM/71_YAMAHA_NP.pm index 48809dcd5..2e7b0e041 100644 --- a/fhem/FHEM/71_YAMAHA_NP.pm +++ b/fhem/FHEM/71_YAMAHA_NP.pm @@ -1863,7 +1863,7 @@ sub YAMAHA_NP_ParseResponse if(AttrVal($name, "autoUpdatePlayerReadings", "1") eq "1" ) { # Inputs don't use any player readings. Blank them. - if($input !~ m/^(aux|digital|spotify|airplay)/) + if($input !~ m/^(aux|digital)/) { YAMAHA_NP_SendCmd($hash, "GET:Player,Play_Info:GetParam", "statusRequest", "playerStatus", 0); }