0

Snapshot Configuration WebPage

hi brightscripters,

i've some problems with snapshot configuration page

i have a custom autorun, in which i copied "TakeSnapshot" methods from the default autorun and run it on roTimer tick

i tried to also copy this files found in local-sync.xml

to create   localServer.SetupDWSLink("Application") with all AddGetFromFile written correctly.

web pages work!

BUT: when i try to view all snapshot this happens

errors came from .js files i think, but are too difficult to read and understand thounsand of code lines

 

Why do i get this errors?
maybe registers are setted wrong?
How can i solve it?

 

thanks

luca

5 comments

  • 0
    Avatar
    Luca Ceccato

    nevermind,

    found missing parts

     

    i forgot to add this lines and their related functions and subs

  • 0
    Avatar
    Bright Scripters

    Thanks for sharing.

    I'm curious about what was it you wanted to accomplish, in the first place.

  • 0
    Avatar
    Luca Ceccato

    i'm working on a smartphone app as a "remote controller" of a brightsign.
    the user can send the play command from the app to play some files or playlist (customized) 

    for this i needed a custom autorun. i modified the "UDP Command" one found here, and i added some features.
    udp "wakeup": that receive "wakeup" string in udp and send the bsp ip_address
    http routes for changing settings
    config file for set and get videomode, imagemode, attract files

    i would like to implement the default snapshot handler, and, this is how i did it

  • 0
    Avatar
    Brandon

    Just a note here, we STRONGLY recommend writing a plugin instead of directly modifying the BrightAuthor autorun.

    Using a plugin will avoid needing to recreate your changes on every update of BrightAuthor and give you a path forward to migrate to BrightAuthor:connected in the future.

    https://docs.brightsign.biz/display/DOC/BrightAuthor+Plugins+and+Parsers

    _________________________________________________________________________

    Friendly reminder, the community forum is intended for user-to-user discussion.  It is not regularly monitored. For troubleshooting problems and to ensure a timely answer from a BrightSign representative, please submit a support ticket.

  • 0
    Avatar
    Luca Ceccato

    i tried to implements a plugin

    but i reach this conclusion

    for this project i don't need BrightAuthor functionalities. So i build up this "operating system", customizing a Serial UDP autorun to allow the comunication and the control of the player with my app

     

    for now, i'm quite MASTERED BrightScrpt Language  :P

Please sign in to leave a comment.