Setting IP AddressesThe units use DHCP by default but you can use a script to manually set the IP or to change back to DHCP. The scripts below are just text files. You edit the script to use your own IP settings when manually setting the IP address.
Manual IP ScriptSet to DHCPThese are the actual manual IP address lines in the manual script:
- nc.SetIP4Address("192.168.0.66")
- nc.SetIP4Netmask("255.255.255.0")
- nc.SetIP4Broadcast("192.168.0.255")
- nc.SetIP4Gateway("192.168.0.1")
- nc.AddDNSServer("192.168.0.1")
Setting Proxy ServerYou can use the Brightsign with a proxy server. This has been tested in several customer applications. To use it, just add the proxy server setting to either of the scripts above directly before this Apply entry that saves settings:
nc.Apply()Proxy Server Address added:nc.SetProxy("http://proxy.yourcompany.com:port/")
Proxy with Username and Passwordnc.SetProxy("http://username:password@proxy.yourcompany.com:port/")
Note: See below for details for adding a proxy server only for RSS feeds used in BrightAuthor.Time ServerYou can set the Brightsign to use your time server or a different time server than time.roulabs.com. To use it, just add the time server setting to either of the scripts above directly before this Apply entry that saves settings:
nc.Apply()nc.SetTimeServer("time.myserver.com")
RSS Proxy for BrightAuthor - Added 6/10/2010Ok, BrightAuthor uses a master script for playback. GO to c:/program files/brightsign/brightauthor/templates, and copy the autoxml.brs file to your desktop. Rename it to autoxml-rss-proxy.brs. The name isn't critical so long as you know why it's different. You can open it in any text editor. There's a custom autorun field near the top where you can change the version number from 3.2.1 to something else, again, so that you know you've modified the file.
Do a search for "roRSSParser" and you'll find this function:
Sub newRSSPlaylistItem(playlistItemXML As Object, playlistItemBS As Object)
' read rss url
' read rss title
rssSpec = playlistItemXML.rssSpec
rssSpecAttrs = rssSpec.GetAttributes()
playlistItemBS.rssURL$ = rssSpecAttrs["url"]
playlistItemBS.rssTitle$ = rssSpecAttrs["title"]
playlistItemBS.rssURLXfer = CreateObject("roUrlTransfer")
playlistItemBS.rssURLXfer.SetUrl(playlistItemBS.rssURL$)
playlistItemBS.rssURLXfer.GetToFile("tmp:/rss.xml")
playlistItemBS.rssParser = CreateObject("roRssParser")
playlistItemBS.rssParser.ParseFile("tmp:/rss.xml")
End Sub
We're going to add this line to the function:
playlistItemBS.rssURLXfer.SetProxy("www.myproxyserverhere.com") 'add this line with your proxy server
Sub newRSSPlaylistItem(playlistItemXML As Object, playlistItemBS As Object)
' read rss url
' read rss title
rssSpec = playlistItemXML.rssSpec
rssSpecAttrs = rssSpec.GetAttributes()
playlistItemBS.rssURL$ = rssSpecAttrs["url"]
playlistItemBS.rssTitle$ = rssSpecAttrs["title"]
playlistItemBS.rssURLXfer = CreateObject("roUrlTransfer")
playlistItemBS.rssURLXfer.SetUrl(playlistItemBS.rssURL$)
playlistItemBS.rssURLXfer.SetProxy("www.myproxyserverhere.com") 'add this line with your proxy server
playlistItemBS.rssURLXfer.GetToFile("tmp:/rss.xml")
playlistItemBS.rssParser = CreateObject("roRssParser")
playlistItemBS.rssParser.ParseFile("tmp:/rss.xml")
End Sub
And, now that we're done, open BrightAuthor, go to File, Presentation Properties, Autorun, and select custom autorun, and browse to your modified file so you can add it to a project. Now, when you publish this project you're workign on, it will use the custom autorun.