From f194a98187398dcfa715f11f638d44655656e615 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Fri, 18 Jan 2019 18:22:18 +0100 Subject: [PATCH] change to package --- 82_LGTV_WebOS.pm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/82_LGTV_WebOS.pm b/82_LGTV_WebOS.pm index 07aff4b..ec7e3dd 100644 --- a/82_LGTV_WebOS.pm +++ b/82_LGTV_WebOS.pm @@ -122,7 +122,10 @@ BEGIN { selectlist SOL_SOCKET SO_BROADCAST - BlockingCall) + BlockingCall + trim + sysread + syswrite) ); } @@ -1352,7 +1355,7 @@ sub GetCurrentChannel($) { my $hash = shift; my $name = $hash->{NAME}; - RemoveInternalTimer( $hash, 'GetCurrentChannel' ); + RemoveInternalTimer( $hash, 'LGTV_WebOS::GetCurrentChannel' ); Log3 $name, 4, "LGTV_WebOS ($name) - GetCurrentChannel: " . $hash->{helper}{device}{runsetcmd}; CreateSendCommand( $hash, $lgCommands{getCurrentChannel}, undef ) @@ -1364,7 +1367,7 @@ sub GetForgroundAppInfo($) { my $hash = shift; my $name = $hash->{NAME}; - RemoveInternalTimer( $hash, 'GetForgroundAppInfo' ); + RemoveInternalTimer( $hash, 'LGTV_WebOS::GetForgroundAppInfo' ); Log3 $name, 4, "LGTV_WebOS ($name) - GetForgroundAppInfo: " . $hash->{helper}{device}{runsetcmd}; CreateSendCommand( $hash, $lgCommands{getForegroundAppInfo}, undef )