Text to Speech Twitch Bot : How to by Navetz

Click here to find the YouTube Video if it doesn’t load above.

Follow these easy steps to build a text to speech twitch bot:

  1. Install Node.js
  2. Create a text-to-speech directory for your bot.
  3. Open a Node Command Prompt and type cd text-to-speech.
  4. Type npm init and click enter until it’s configured.
  5. Type npm install say followed by npm install tmi.js
  6. Get your auth password for tmi.js. Make sure you’re logged in with your bot account. Oh btw you need a bot account.
  7. Open Sublime text editor and safe a new file called index.js inside of your text-to-speech directory.
  8. Paste the following code and replace your password with yours.


var tmi = require('tmi.js');
var say = require('say');

//BOT CONNECTION OPTIONS
var options = {
	options: {
		debug: false
	},
	connection: {
		cluster: "aws",
		reconnect: true
	},
	identity: {
		username: "bhosbot",
		password: ""
	},
	channels: ["navetz"]
};

var client = new tmi.client(options);
client.connect(); 

client.on("chat", function (channel, userstate, message, self) {
	say.speak(userstate.username + " says " + message);
});



 

That’s it, you now have a basic text to speech twitch bot! I’m sure a lot of you will find fun ways to extend the functionality!

If you enjoyed please subscribe on YouTube, leave comments, and come check out my twitch channel if you’re into Dota 2!

Android Box Free Alternative: Chromecast and an Android Phone or Tablet

Hey guys, recently I wrote this article on how to watch free movies with Genesis and Kodi. Today I’m here to teach you how to completely replace your android box and use a Chromecast and your android phone to watch movies on your big screen for free (assuming you already have a Chromecast). You’ll need to follow the other article first and setup Kodi with Genesis on your Android phone/tablet before you do this one.

What you need for your Android Box Free Alternative:

Now just follow the video tutorial and you’ll be able to watch your genesis videos from your phone straight to your TV.

How it works:

After you place PlayerFactoryCore.xml in the proper folder it tells Kodi to open videos with Localcast instead of using it’s default player. When you open of of the videos with Localcast it gives you the ability to connect this video stream to your Chromecast. ESFileExplorer is just there to help you move the PlayerFactoryCore.xml file.

Video Tutorial:

Note: Sometimes your Chromecast will tell you that it can’t play the video codec of something you’re trying to cast from Genesis. If this happens just try one of the other sources in the list. I haven’t ever had to try more than three before getting a working stream.

Warning: Doing this will make your phone/tablet always try to cast Genesis videos. If you don’t want to cast then move the PlayerFactoryCore.xml to another folder.

Free Movies With Genesis And Kodi – How To

Genesis-Add-on-for-XBMC-and-Kodi-Banners-1024x539

Kodi

Kodi is open source home entertainment software. You know when you turn on your Playstation and navigate through the menu’s to either watch a video, play music, or play a game? We’ll Kodi is sort of like that menu system with all the tools to play your media. Click here to find out more about Kodi.

Description directly from Kodi’s website:

Kodi™ (formerly known as XBMC™) is an award-winning free and open source (GPL) software media center for playing videos, music, pictures, games, and more. Kodi runs on Linux, OS X, Windows, iOS, and Android, featuring a 10-foot user interface for use with televisions and remote controls. It allows users to play and view most videos, music, podcasts, and other digital media files from local and network storage media and the internet. Our forums and Wiki are bursting with knowledge and help for the new user right up to the application developer. We also have helpful Facebook, Google+, Twitter and Youtube pages.

Genesis

The genesis addon is basically a Netflix like movie viewer that’s free. You can sort movies by Most Popular, Newest, Top Rated, etc or search.

Oh and since Genesis basically aggregates a bunch of third party links for Kodi to play, you can get movies as soon as they’re out in theaters, sometimes before.

How to Watch Free Movies with Genesis and Kodi

  1. Go to the Kodi website and download Kodi for your device.
  2. Next let’s install Genesis, You’ll need to download the lambda repo zip file (Click here to download zip) and install it in Kodi. Go to System > Add-ons > Install from zip file.
  3. Once the repo is installed, you must go to Get Add-ons > lambda Add-on repository > Video Add-ons > Genesis > Install.

Now you’ve got Genesis installed! To use it just go to the Video tab in Kodi -> Add-ons -> Genesis.