@GB_Live_Shows is now @WhiskeyLive -- Live Stream Twitter Bot

Avatar image for vager
vager

1677

Forum Posts

736

Wiki Points

0

Followers

Reviews: 0

User Lists: 25

Edited By vager

@WhiskeyLive

You can set your Twitter account to send you a text (if your country/carrier supports it) each time the bot tweets so you can always know about an upcoming stream.

It took me longer than expected but, I've rebuilt the twitter bot to tweet all upcoming live streams from any of Whiskey Media's sites. I also fixed every issue that came up with the orginal bot.

How It Works

Every 10 minutes it will check each of Whiskey's APIs for any open chats. If there is one It will check to see if there is a countdown timer or not. It will tweet "[Name of the Site]: [Name of the Show] -- Starting Soon - [link to the chat]" right away if there is no timer -- If there is one it'll wait till it's under an hour before it tweets. After that, it will continue to check every 10 minutes to see if the justin.tv channel is live. Once it is it will tweet again saying that it's live.

What's been Fixed

  • It will not tweet about a upcoming stream incredibly early. Like it did for the end of SWG. It will tweet when a show is under an hour from starting. (I can change this easily, if everyone wishes it to tweet earlier than that.)
  • It will not tweet again if the title of the stream changes a bit.
  • It will not tweet twice if a show is still running past midnight (PST).
  • (New) Added Whiskey's chat API as a backup in case the countdown timer doesn't show up.

What needs to been Fixed

Feb 6, 2012 - Tweeting multiple times during a Whiskey Media site wide live show. (ie. Happy Hour)

Issues came up with the latest Whiskey Media Happy Hour, which was the first time it tried to do a Whiskey Media Live Show from all the sites. It basically tweeted every time the chat came up on another Whiskey site. I had checks to prevent this from happening, but it only worked if the chats all went up during a 10 minute time frame. I'll fix this when I have the time to do so.

Extra Stuff

Dave created a blue warrior along side the Chat Dragon but he never used it for anything. So I'm going to use it as a mascot of sorts for the bot. The Chat Dragon is the thing that prevents us use from accessing the chat. It is the Whiskey Warrior what keeps the dragon away during a live stream so we can use the chat. Or that's how want it to be like!

While I was making the avatar and background for the Twitter page. I ended up making wallpapers (1920x1080) out of the Chat Dragon and the Whiskey Warrior. So here's a bit of a bonus:

The Whiskey Warrior!
The Whiskey Warrior!
The Chat Dragon!
The Chat Dragon!

Change Log

Jan 8, 2012 - It now tweets "Starting Soon" when the chat is up and if the countdown timer is under an hour. It will tweet "Live Now" when the justin.tv channel goes live instead of when the countdown reaches 0.

Avatar image for vager
vager

1677

Forum Posts

736

Wiki Points

0

Followers

Reviews: 0

User Lists: 25

#1  Edited By vager

@WhiskeyLive

You can set your Twitter account to send you a text (if your country/carrier supports it) each time the bot tweets so you can always know about an upcoming stream.

It took me longer than expected but, I've rebuilt the twitter bot to tweet all upcoming live streams from any of Whiskey Media's sites. I also fixed every issue that came up with the orginal bot.

How It Works

Every 10 minutes it will check each of Whiskey's APIs for any open chats. If there is one It will check to see if there is a countdown timer or not. It will tweet "[Name of the Site]: [Name of the Show] -- Starting Soon - [link to the chat]" right away if there is no timer -- If there is one it'll wait till it's under an hour before it tweets. After that, it will continue to check every 10 minutes to see if the justin.tv channel is live. Once it is it will tweet again saying that it's live.

What's been Fixed

  • It will not tweet about a upcoming stream incredibly early. Like it did for the end of SWG. It will tweet when a show is under an hour from starting. (I can change this easily, if everyone wishes it to tweet earlier than that.)
  • It will not tweet again if the title of the stream changes a bit.
  • It will not tweet twice if a show is still running past midnight (PST).
  • (New) Added Whiskey's chat API as a backup in case the countdown timer doesn't show up.

What needs to been Fixed

Feb 6, 2012 - Tweeting multiple times during a Whiskey Media site wide live show. (ie. Happy Hour)

Issues came up with the latest Whiskey Media Happy Hour, which was the first time it tried to do a Whiskey Media Live Show from all the sites. It basically tweeted every time the chat came up on another Whiskey site. I had checks to prevent this from happening, but it only worked if the chats all went up during a 10 minute time frame. I'll fix this when I have the time to do so.

Extra Stuff

Dave created a blue warrior along side the Chat Dragon but he never used it for anything. So I'm going to use it as a mascot of sorts for the bot. The Chat Dragon is the thing that prevents us use from accessing the chat. It is the Whiskey Warrior what keeps the dragon away during a live stream so we can use the chat. Or that's how want it to be like!

While I was making the avatar and background for the Twitter page. I ended up making wallpapers (1920x1080) out of the Chat Dragon and the Whiskey Warrior. So here's a bit of a bonus:

The Whiskey Warrior!
The Whiskey Warrior!
The Chat Dragon!
The Chat Dragon!

Change Log

Jan 8, 2012 - It now tweets "Starting Soon" when the chat is up and if the countdown timer is under an hour. It will tweet "Live Now" when the justin.tv channel goes live instead of when the countdown reaches 0.

Avatar image for benpack
benpack

3926

Forum Posts

7030

Wiki Points

0

Followers

Reviews: 4

User Lists: 14

#2  Edited By benpack

Awesome work!

Avatar image for cptchiken
CptChiken

2057

Forum Posts

13187

Wiki Points

0

Followers

Reviews: 2

User Lists: 3

#4  Edited By CptChiken

Nice stuff, this will be useful as living in England the live shows are often at hard to catch times.

Avatar image for melos
Melos

240

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#5  Edited By Melos

All I'd ever see is a chat dragon telling me there's no live stream if it weren't for you, Vager. Your bot continues to be one of the best things to come from the community.

Avatar image for efwefwe
wefwefasdf

6730

Forum Posts

694

Wiki Points

0

Followers

Reviews: -1

User Lists: 1

#6  Edited By wefwefasdf

Those wallpapers are awesome. Thanks!

Avatar image for mr_skeleton
Mr_Skeleton

5195

Forum Posts

7918

Wiki Points

0

Followers

Reviews: 0

User Lists: 15

#7  Edited By Mr_Skeleton

I shall name that mascot Dovahkiin!

Avatar image for deegee
DeeGee

2193

Forum Posts

54

Wiki Points

0

Followers

Reviews: 0

User Lists: 4

#8  Edited By DeeGee

What if I'm only interesed in Giant Bomb live streams?

Avatar image for hydrotherion1979
hydrotherion1979

106

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#9  Edited By hydrotherion1979

awesome wallies!

Avatar image for rjayb89
rjayb89

7813

Forum Posts

9437

Wiki Points

0

Followers

Reviews: 0

User Lists: 17

#10  Edited By rjayb89

Me likey.

Avatar image for vager
vager

1677

Forum Posts

736

Wiki Points

0

Followers

Reviews: 0

User Lists: 25

#11  Edited By vager

@DeeGee: I thought of separating each site into their own account, but that would be a major pain to manage. You'll just have to ignore the tweets of streams your not interested in.

Avatar image for selfconfessedcynic
selfconfessedcynic

3005

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 12

Oh my god - amazing work. Great twitter app, great wallpapers, great all round.

Keep on rocking duder.

Avatar image for mrklorox
MrKlorox

11220

Forum Posts

1071

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#13  Edited By MrKlorox

Aw. Was hoping @GB_Live_Shows would stick around as a GB only feed. Well, I guess we'll see if this multi site bot becomes annoying or not.

Avatar image for little_socrates
Little_Socrates

5847

Forum Posts

1570

Wiki Points

0

Followers

Reviews: 16

User Lists: 23

#14  Edited By Little_Socrates

Thanks for this, duder! I was wondering how I was gonna find out about live streams this week, as I'll generally be out and about and my other Whiskey duder is still at school.

Avatar image for darkfury
darkfury

467

Forum Posts

333

Wiki Points

0

Followers

Reviews: 0

User Lists: 23

#15  Edited By darkfury

This is great, congraluations on getting all the issues fixed and making it work for all sites!

Avatar image for lockwoodx
lockwoodx

2531

Forum Posts

6

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#16  Edited By lockwoodx

That Whiskey Warrior is pretty badass. Nice work.

Avatar image for charlessahara
CharlesSahara

357

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 6

#17  Edited By CharlesSahara

I love this and the wallpapers! Great work, Vager! ^_^

Avatar image for brackynews
Brackynews

4385

Forum Posts

27681

Wiki Points

0

Followers

Reviews: 5

User Lists: 48

#18  Edited By Brackynews

Great, updating my Twitter now. Y'know, every time I read "Chat Dragon" I don't think of Skyrim, I hear this....

Avatar image for eightbitshik
EightBitShik

1517

Forum Posts

4547

Wiki Points

0

Followers

Reviews: 2

User Lists: 9

#19  Edited By EightBitShik

How does the text part work does it auto send or do I have to put my information somewhere...(I'm sure twitter doesn't know my phone number) could you point me to the right direction?

*Scratch that I found out twitter does know my number :P

Avatar image for zameer
zameer

637

Forum Posts

11759

Wiki Points

0

Followers

Reviews: 7

User Lists: 3

#20  Edited By zameer

Bumping this because you're awesome, thanks a lot!

Avatar image for webscud
webscud

128

Forum Posts

54

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#21  Edited By webscud

The warrior should be named Vinvin.

Avatar image for guanophobic
guanophobic

587

Forum Posts

198

Wiki Points

0

Followers

Reviews: 0

User Lists: 7

#22  Edited By guanophobic

Awesome! You guys know of any way to get mail or push notifications (IOS) when @whiskeylive tweets?

Avatar image for vager
vager

1677

Forum Posts

736

Wiki Points

0

Followers

Reviews: 0

User Lists: 25

#23  Edited By vager

@guanophobic: Try the Boxcar app. It provides push notifications for various things including tweets from specific users.

Avatar image for extremejesus
ExtremeJesus

88

Forum Posts

30

Wiki Points

0

Followers

Reviews: 0

User Lists: 9

#24  Edited By ExtremeJesus

Awesome job. Using this along with tweetymail means I actually catch some of the live content now. Thanks a lot.

Avatar image for little_socrates
Little_Socrates

5847

Forum Posts

1570

Wiki Points

0

Followers

Reviews: 16

User Lists: 23

#25  Edited By Little_Socrates

So glad this still works even after the CBSi split. Vaguely miss getting texts about Tested, but this is still awesome. Thanks so much.