Commit Graph

5 Commits

Author SHA1 Message Date
Ariana Giroux ea96df1774 Implements function to pass tags updates to python
- also removes main function from javascript file
2022-08-04 17:40:31 -06:00
Ariana Giroux 08287a9758 Simplified javascript function for updating UI
- breaks uiUpdate() into two functions
  - uiUpdateOnce(), which contains the bulk of the UI updating code
  - continuousUiUpdate(), which runs the aforementioned function once
    every second.
- updates updateStreamTitle() to conform to this new change
- removes call to Main(), replacing it with a call to the new
  continuousUiUpdate()
2022-08-04 17:40:04 -06:00
Ariana Giroux c8fe794144 Fixes post endpoint for updating stream title
- adds python import, flask.Request
- ensures flask endpoint /api/update/streamtitle returns valid status
  code response.
- updates static/script.js "updateStreamTitle" to accept variable input
2022-07-24 16:56:48 -06:00
Ariana Giroux 90677ec4e3 Adds a main function static/script.js 2022-07-24 14:14:10 -06:00
Ariana Giroux f2fb50e025 Moved files to more reflective of webapp structure 2022-07-24 14:10:00 -06:00