Andygmb / twitchy_the_bot

A reddit bot that gets twitch.tv streams from wiki pages and adds them to the subreddit's sidebar if they are live.
MIT License
18 stars 12 forks source link

Add hitbox.tv integration #23

Open Andygmb opened 9 years ago

Andygmb commented 9 years ago

Not sure how it would work with an existing subreddit - perhaps a new setup.py should be run to make all the existing streams marked as twitch then any future ones will be marked as hitbox? So changing /streams/ from

name1,
name2,
name3,

to

http://twitch.tv/name1
http://twitch.tv/name2
http://twitch.tv/name3

then any future streams will be added with the link included.

Or, maybe make /streams/ into json like /twitchbot_config/ is.

Andygmb commented 9 years ago

Actually I think changing /streams/ to be json like:

{"hitbox":[stream1, stream2, stream3],"twitch":[stream1, stream2, stream3], etc...}

would be the best way to go about it.