0

Line when Check for new Content



Hello folks, i want to monitor my BrightSign HD210 Boxes with a "Heartbeat". The box should send a message to a server, everytime when the box checks for new content (in my case every 30 seconds). I am looking @ the autorun.brs a long time, but i dont get the point where i can find this line, so i can put my http check in the file. Can you help me? Sincerely, Stefan

4 comments

  • 0
    Avatar
    RokuLyndon


    Your web server should already have a log of the connections from the player. The player grabs the current-sync.xml file each time it calls in. So, if you log that, that's your heartbeat. Also, the header sent includes the unit model number and serial number, so you can pull from the header which unit actually called in.
  • 0
    Avatar
    LyR


    the problem. when i use the log of the server is, that when the box loads a big file (size >1GB) then there will be no line in the logfile while upload. Because of this i want the box to check a URL every 30 seconds. So it should be possible to run 2 scripts parallel or is that not possible??
  • 0
    Avatar
    RokuLyndon


    You don't need to run two scripts. You just need to add to the normal autorun script regular http posts that you're listening for. when do you need this done?
  • 0
    Avatar
    LyR


    Very soon!
    Can't I use the lines in the log of the webserver, when the box checks for a new current-sync? Or do i need to add special lines in the autorun.brs?
Please sign in to leave a comment.