From d9faea878ccab450d5f7a452e10b77c70571bbd8 Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Fri, 11 Mar 2016 15:17:17 +0000 Subject: [PATCH] YAMAHA_AVR: fix not working navigateListMenu under certain circumstances (Forum: #48790) git-svn-id: https://svn.fhem.de/fhem/trunk@11042 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 2 ++ fhem/FHEM/71_YAMAHA_AVR.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 24b717127..1925ddf70 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. + - bugfix: YAMAHA_AVR: fix not working navigateListMenu under certain + circumstances - feature 73_GasCalculator: Last Day/Month/Year/Meter - readings implemented - feature 49_SSCAM: command "extevent" added - bugfix: 10_SOMFY: removed "setlist" (obsolete) and updated loglevels diff --git a/fhem/FHEM/71_YAMAHA_AVR.pm b/fhem/FHEM/71_YAMAHA_AVR.pm index 8d30fdbb0..3d70418ac 100755 --- a/fhem/FHEM/71_YAMAHA_AVR.pm +++ b/fhem/FHEM/71_YAMAHA_AVR.pm @@ -1651,7 +1651,7 @@ YAMAHA_AVR_ParseResponse ($$$) { my @list_cmds = split("/", $arg); - if($data =~ /(.+?)<\/Menu_Layer>(.+?)<\/Menu_Name>(.+?)<\/Current_List>(\d+)<\/Current_Line>(\d+)<\/Max_Line><\/Cursor_Position>/) + if($data =~ /(.+?)<\/Menu_Layer>(.*?)<\/Menu_Name>(.+?)<\/Current_List>(\d+)<\/Current_Line>(\d+)<\/Max_Line><\/Cursor_Position>/) { my $menu_layer = $1;