/Cosmos_streaming

Python stream torrents PB

Primary LanguagePythonMIT LicenseMIT

cosmos_streaming_torrent

Python stream torrents PB

Requirements

Credits

The hard job is on guys here, thanks to them i was able to write this. :-)

Usage:

  • install dependencies with easy_install, this will work straighforward on most linux machines, in macosx with macports you can install kind of fast libtorrent, but it could be a pain in some environments, as it was for me.
  • turn an ipython console:
    from Cosmos_Streaming import Torrent_Cosmos
    t=Torrent_Cosmos()
    #search for available torrent and select the one you want to stream, is sorted by seeds
    t.searchForCosmos()
    #play with mplayer for the moment
    t.selectItemAndPlay(0)

TODO:

  • become a pro torrent streaming api, like peerflix.
  • organize code.
  • make it a console tool.