From 8b09aaa14b3e79aa9ec0a5d2e6d519615500a7b4 Mon Sep 17 00:00:00 2001
From: markusbloch <>
Date: Sat, 26 Dec 2015 14:33:57 +0000
Subject: [PATCH] YAMAHA_AVR: request basicStatus before begin navigateListMenu
browsing (Forum: #19896)
git-svn-id: https://svn.fhem.de/fhem/trunk@10267 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/71_YAMAHA_AVR.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fhem/FHEM/71_YAMAHA_AVR.pm b/fhem/FHEM/71_YAMAHA_AVR.pm
index 1bb75b6c3..cf95b47f4 100755
--- a/fhem/FHEM/71_YAMAHA_AVR.pm
+++ b/fhem/FHEM/71_YAMAHA_AVR.pm
@@ -782,7 +782,8 @@ YAMAHA_AVR_Set($@)
}
elsif($what eq "navigateListMenu")
{
- YAMAHA_AVR_SendCommand($hash,"<[CURRENT_INPUT_TAG]>GetParam[CURRENT_INPUT_TAG]>", $what, join(" ", @a[2..$#a]), {options => {init => 1}});
+ YAMAHA_AVR_SendCommand($hash, "<$zone>GetParam$zone>", "statusRequest", "basicStatus");
+ YAMAHA_AVR_SendCommand($hash, "<[CURRENT_INPUT_TAG]>GetParam[CURRENT_INPUT_TAG]>", $what, join(" ", @a[2..$#a]), {options => {init => 1}});
}
elsif($what eq "skip")
{