mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-26 16:19:32 +00:00
YAMAHA_AVR: erase current-Readings when switching to non-supported inputs; added apostrophe html entity
git-svn-id: https://svn.fhem.de/fhem/trunk@5814 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
846c968f4c
commit
29ace4e453
@ -231,6 +231,14 @@ YAMAHA_AVR_GetStatus($;$)
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
readingsBulkUpdate($hash, "currentAlbum", "", 0);
|
||||||
|
readingsBulkUpdate($hash, "currentTitle", "", 0);
|
||||||
|
readingsBulkUpdate($hash, "currentChannel", "", 0);
|
||||||
|
readingsBulkUpdate($hash, "currentStation", "", 0);
|
||||||
|
readingsBulkUpdate($hash, "currentArtist", "", 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# input name as it is displayed on the receivers front display
|
# input name as it is displayed on the receivers front display
|
||||||
@ -1122,6 +1130,7 @@ sub YAMAHA_AVR_html2txt($)
|
|||||||
|
|
||||||
$string =~ s/ / /g;
|
$string =~ s/ / /g;
|
||||||
$string =~ s/&/&/g;
|
$string =~ s/&/&/g;
|
||||||
|
$string =~ s/'/'/g;
|
||||||
$string =~ s/(\xe4|ä)/ä/g;
|
$string =~ s/(\xe4|ä)/ä/g;
|
||||||
$string =~ s/(\xc4|Ä)/Ä/g;
|
$string =~ s/(\xc4|Ä)/Ä/g;
|
||||||
$string =~ s/(\xf6|ö)/ö/g;
|
$string =~ s/(\xf6|ö)/ö/g;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user