PopCorn time is free app which lets users stream movies and tv shows for free.For the geek in me, the best part about the app is that it is open source and build on top of node making it cross platform.

After taking a look at the code to figure out how exactly the app downloads torrents.I learnt about peerflix module.This module takes care of downloading the torrent.

After going through the README I noticed you can use peerflix as a commandline tool for any kind of torrent file including magnet links.From now on Peerflix has become my definitive  way to stream tv shows.

peerflix "magnet:?xt=urn:btih:ef330b39f4801d25b4245212e75a38634bfc856e"   --vlc