0

HD210 - Using URLTransfer to return media play status info



I need to find a way to monitor the status of my media players. I have had issues with one unit locking up. I want to know that a unit is not functioning before a customer notices so that I can rectify the problem. I am told that roUrlTransfer can post info back to a web page, however there is no real tutorial for scripting or detailed info about the roUrlTransfer object available. I know there are references available, but this is not enough for someone not familiar with brightscript to get started. Has anyone accomplished anything similar to this? At a minimum I would like to post back data such as time, date, media player mac address.

3 comments

  • 0
    Avatar
    RokuLyndon


    If you look in the object reference guide, the roURLTransfer object is covered in detail. Are you asking where you would add this http post to the script used by brightauthor?
  • 0
    Avatar
    sparkynobb


    Were you able to come up with some examples for utilizing the URLTransfer object to send info back to my web server?  I would really like to make progress on this stuff this weekend.  The docs on this object really do not give enough info on how to use it.  Yes, the urltransfer is covered in the docs, but nowhere is an example using the postfromstring.  Can you give me an example string.  What info would be passed?

    Where in the autorun should it be placed.  I have been attempting differnt things with this object with no success.
  • 0
    Avatar
    Konstantin


    I have a similar problem where, I'd like to add a function to my autorun.brs script that will obtain the unit's mac address and post it back to my web server. Did you ever get the URLTransfer to work and how did you obtain the mac address? Example would greatly be appreciated!
    thanks
Please sign in to leave a comment.