Hi, I want to do something quite simple: 2 brand new HD210 players each with a single video file; autorun and sync. In the fall of 2009, I did essentially the same thing with HD210's (only difference being 8 synced players instead of 2) and have and can modify the scripts I used then. These scripts were given by Roku as links in a http://forums.roku.com/viewtopic.php?f=19&t=22986 post I began. However, the links for these scripts are now 404. I want a simple script - not the BrightAuthor business. My question is are there new updated scripts (say to get along with new firmware)? Or can I use my old scripts? Here is the original master "One File over Ethernet" code:
debug = false EnableZoneSupport(true) videoFile1 = "video.ts" REM REM Setting Manual IP address nc = CreateObject("roNetworkConfiguration", 0) nc.SetIP4Address("192.168.1.10") nc.SetIP4Netmask("255.255.255.0") nc.SetIP4Broadcast("192.168.1.255") nc.SetIP4Gateway("192.168.1.1") nc.Apply() REM REM IP address 255.255.255.255 sends to all units sender = CreateObject("roDatagramSender") sender.SetDestination("255.255.255.255", 11167) v = CreateObject("roVideoPlayer") p = CreateObject("roMessagePort") v.SetPort(p) mode=CreateObject("roVideoMode") mode.SetMode("1920x1080x29.97p") sleep(10000) start: print "start" sender.Send("pre") v.PreloadFile(videoFile1) sleep(100) sender.Send("ply") v.Play() listen: msg = wait(2000,p) if type(msg) = "roVideoEvent" and msg.GetInt() = 8 then sleep(1000) goto start endif goto listen
Here is the original "One File over Ethernet" slave code: EnableZoneSupport(true) videoFile1 = "video.ts" mode=CreateObject("roVideoMode") mode.SetMode("1920x1080x29.97p") REM REM Setting Manual IP address REM To use DHCP, add REM before each of the nc.SetIP* lines below. REM If you have already run the script, also remove REM from the REM nc.SetDHCP() line below to change from manual IP back nc = CreateObject("roNetworkConfiguration", 0) REM nc.SetDHCP() 'to change from Manual IP back to DHCP nc.SetIP4Address("192.168.1.11") nc.SetIP4Netmask("255.255.255.0") nc.SetIP4Broadcast("192.168.1.255") nc.SetIP4Gateway("192.168.1.1") nc.Apply() receiver = CreateObject("roDatagramReceiver", 11167) v = CreateObject("roVideoPlayer") sleep(200) v.PreloadFile(videoFile1) p = CreateObject("roMessagePort") receiver.SetPort(p) listen: msg = wait(2000,p) if type(msg) = "roDatagramEvent" then command = left(msg, 3) if command = "pre" then v.PreloadFile(videoFile1) elseif command = "ply" then v.Play() else print msg endif endif goto listen