Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 27 made on Thursday August 6, 2020 at 12:09
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,992
Use scheduleAfter to call a 2nd function after getting reply from kodi with the url

in the function you assigned to socket.onClose, do the following:


socket.onClose = function() {
CF.activity().scheduleAfter(100,myNextFunctionThatNeedsToBeCalled);
}

Dev Guide should have an example showing how to do this.

Last edited by Lyndel McGee on August 6, 2020 13:45.
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse