diff --git a/FHEM/66_EPG.pm b/FHEM/66_EPG.pm index 5c1b6b2..868b776 100644 --- a/FHEM/66_EPG.pm +++ b/FHEM/66_EPG.pm @@ -1,5 +1,5 @@ ################################################################# -# $Id: 66_EPG.pm 15699 2019-12-18 00:01:50Z HomeAuto_User $ +# $Id: 66_EPG.pm 15699 2019-12-19 00:01:50Z HomeAuto_User $ # # Github - FHEM Home Automation System # https://github.com/fhem/EPG @@ -14,7 +14,7 @@ # *.xz -> ohne Dateiendung nach unpack ################################################################# # Note´s -# - check define Sort in FAV and restart FHEM +# - # # Features: # - definierbare CommandFunktion bei Onklick @@ -272,7 +272,7 @@ sub EPG_Define($$) { CommandAttr($hash,"$name room $typ") if (!defined AttrVal($name, "room", undef)); # set room, if only undef --> new def } - $hash->{VERSION} = "20191218"; + $hash->{VERSION} = "20191219"; ### default value´s ### readingsBeginUpdate($hash); @@ -760,8 +760,11 @@ sub EPG_FW_Popup_Channels { my $name = shift; my $html_site_ch = ""; my $Ch_select = AttrVal($name, "Ch_select", undef); - my $Ch_sort = ""; + my $Ch_sort = AttrVal($name, "Ch_sort", undef); + my @Ch_sort = split(",",$Ch_sort) if (AttrVal($name, "Ch_sort", undef)); + $Ch_sort = ""; my $checked = ""; + my $checked_cnt = -1; Log3 $name, 4, "$name: FW_Channels is running"; @@ -769,8 +772,16 @@ sub EPG_FW_Popup_Channels { $html_site_ch.= "