Allows to publish videos uploaded on tv.lumbung.space to the frontpage of lumbung.space
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
605 B

3 years ago
# video feed prototypes
These scripts poll a peertube instance to return a list of videos and construct a static page for it using jinja2.
## video-feed.py
3 years ago
Utility that returns Peertube videos tagged as `publish` and turns them in to `hugo` page bundles. Videos no longer tagged as `publish` are deleted.
### index-template.md
Jinja2 template of a hugo post for use with the above.
3 years ago
## streams-feed.py
Returns only livestreams and displays them differently depending on the tags associated with the video. E.g. audio stream or video stream. WIP.
## video-feed-prototype.html
The jinja template.