Upvote Upvoted 5 Downvote Downvoted
Quick Livestreamer App
1
#1
0 Frags +

So I recently had to switch to Livestreamer because my PC decided it didn't like Twitch.tv anymore. So to negate my sadness I wrote this quick little script to quicken the process. It will detect when a new Twitch.tv link has been copied to your clipboard (Control+C or Rightclick/copy) and pop up a window asking if you want the program to launch said link. If you press yes then it will open a run window and type in the info you need and press enter and effectively run the Livestreamer. The other thing about it you can go into the Preferences.ini file that comes with the program and in the Speed section, after the "1=" type in what speed you want it to stream at (IE, low, high, source ect.)

So yeah, here ya go.

Disclaimer!!

The script was written in AutoIt3 which has been flagged by most anti viruses as malicious. For more info please check here for more info.

And also, here is the source

Show Content
[code]#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Add_Constants=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
Global $ClipOld = "", $Clip = "", $CHeck = ""

Global $Speed = IniRead("Preferences.ini", "Speed", "1", "NotFound")

While 1
$Clip = ClipGet()
If $ClipOld = $Clip Then
Sleep(10)
Else
$ClipOld = $Clip
If StringInStr($Clip, "Twitch.tv/";) Then
$Check = MsgBox(4, "Twitch", "Twitch link found!" & @CRLF & "Would you like to livestream this?")
If $Check = 6 Then

Send("{LWindown}" & "r" & "{LWinUp}")
Sleep(500)
Send("livestreamer ")
Sleep(200)
Send($ClipOld)
Sleep(100)
Send(" " & $Speed)
Sleep(100)
Send("{Enter}")
Else
Sleep(10)
EndIf
Sleep(10)
EndIf
EndIf
Sleep(10)
WEnd
[/code]

In case anyone wants to make sure nothing malicious is going on. You can also have the people at the AutoIt forums look over it to verify. But yeah, there you have it, in case someone else wishes to use it :)

Download Link

Oh, and this is for windows users on... sorry linux/mac :(

So I recently had to switch to Livestreamer because my PC decided it didn't like Twitch.tv anymore. So to negate my sadness I wrote this quick little script to quicken the process. It will detect when a new Twitch.tv link has been copied to your clipboard (Control+C or Rightclick/copy) and pop up a window asking if you want the program to launch said link. If you press yes then it will open a run window and type in the info you need and press enter and effectively run the Livestreamer. The other thing about it you can go into the Preferences.ini file that comes with the program and in the Speed section, after the "1=" type in what speed you want it to stream at (IE, low, high, source ect.)

So yeah, here ya go.

Disclaimer!!

The script was written in AutoIt3 which has been flagged by most anti viruses as malicious. For more info please check [url=http://www.autoitscript.com/forum/topic/34658-are-my-autoit-exes-really-infected/]here for more info.[/url]

And also, here is the source

[spoiler]
[code]#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Add_Constants=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
Global $ClipOld = "", $Clip = "", $CHeck = ""

Global $Speed = IniRead("Preferences.ini", "Speed", "1", "NotFound")

While 1
$Clip = ClipGet()
If $ClipOld = $Clip Then
Sleep(10)
Else
$ClipOld = $Clip
If StringInStr($Clip, "Twitch.tv/") Then
$Check = MsgBox(4, "Twitch", "Twitch link found!" & @CRLF & "Would you like to livestream this?")
If $Check = 6 Then

Send("{LWindown}" & "r" & "{LWinUp}")
Sleep(500)
Send("livestreamer ")
Sleep(200)
Send($ClipOld)
Sleep(100)
Send(" " & $Speed)
Sleep(100)
Send("{Enter}")
Else
Sleep(10)
EndIf
Sleep(10)
EndIf
EndIf
Sleep(10)
WEnd
[/code][/spoiler]

In case anyone wants to make sure nothing malicious is going on. You can also have the people at the AutoIt forums look over it to verify. But yeah, there you have it, in case someone else wishes to use it :)

[url=http://robertsalatka.com/downloads/Twitch%20LiveStreamer%201.0.rar]Download Link[/url]

Oh, and this is for windows users on... sorry linux/mac :(
Please sign in through STEAM to post a comment.