0

ROKU 410 SCRIPT REQUEST



Seems like pulling hens teeth..
i have gpio wired to 2 buttons, o, and 1
i have 2 videos, english version and espanol
pick a button, play one of the two videos
i have not seen a working script, and would dearly like to play with a sample that works.
thanks for help

1 comment

  • 0
    Avatar
    RokuLyndon


    You don't need a script to accept input. This csv file plays two videos using button 0 and button 1. The videos are video1.ts and video2.ts. With this csv file, the unit plays video1.ts automatically, and will restat video1 with a button 0 press or play video 2 with a button 1 press.



    I've emailed you the csv file, but this is what it looks like when opened in a text editor.



    GPIOENABLEINPUT,0,,

    GPIOENABLEINPUT,1,,



    EVENTS,,button:0,button:1

    STATE,video1.ts,video1.ts,video2.ts

    STATE,video2.ts,video1.ts,video2.ts
Please sign in to leave a comment.