josuf107 / xioqbot

twitch queue bot
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Sync display line to a text file #29

Closed josuf107 closed 8 years ago

josuf107 commented 8 years ago

12 added a display page that runs on a server along with the chatbot. Unfortunately incorporating this output with the OBS display with the desired font, placement, animations, etc. turns out to be a major pain. Incorporating text from a plain text file, however, yields the flexibility to add it to the OBS layout more seamlessly. The plan is two-fold:

josuf107 commented 8 years ago

Target python version is 3.5

josuf107 commented 8 years ago

Well step 1 actually turns out to be done already. Just hit the /status endpoint. Woot! Onwards.

josuf107 commented 8 years ago

Boom doneskies. The script looks for a file called host.txt in the local directory which should contain the desired status url. It writes a file called status.txt in the local directory, and updates every 3 seconds. Beautiful.