Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)

Version 1.0.6 for Ubuntu 11.10 and 12.04

Full package:

TS Engine( update 02.10.2012 ) for broadcaster


Installation from repository:

  1. add Torrent Stream repository to the file /etc/apt/sources.list:
    deb http://torrentstream.net/repo ubuntu main

  2. if during installation you will see a message about an unknown key, it can be added to the system; to do this run from the command line:
    wget -q -O - http://torrentstream.net/repo/torrentstream.public.key | sudo apt-key add -

  3. Installation of torrentstream-full package:
    sudo apt-get update
    sudo apt-get install torrentstream-full

Updated Magic Player (we changed the name of the plug-in, that’s why old versions of extensions will not see the plug-in and the old extension has to be updated):


for Google Chrome: http://torrentstream.org/downloads/extensions/magicplayer/chrome/1.1.16/magicplayer.crx

for Mozilla Firefox: http://torrentstream.org/downloads/extensions/magicplayer/firefox/1.1.17/magicplayer.xpi

for Opera: http://torrentstream.org/downloads/extensions/magicplayer/opera/1.1.17/magicplayer.oex

We made tests on such versions of Ubuntu:
Ubuntu 12.04 LTS (Precise Pangolin)
Ubuntu 11.10 (Oneiric Ocelot)

Notes about the engine:
engine’s log is written here: /tmp/tsengine.log
all downloads by default are saved to the directory ~/.Torrent Stream/downloads
after the launch of the engine our icon has to appear in the right top corner

10.08.2012 update

TS Engine( update 02.10.2012 ) for broadcaster


Yes, it can be done with the ‘tsengine-stream’ command. Here is an example:

tsengine-stream --name test --source --bitrate 350000 --host mysite.com --destdir /tmp/streams

You can read more about all available parameters here:

2 mitkko: can you check whether plugin is installed correctly in the browsers? In Google Chrome type “chrome://plugins” in the address bar, in Firefox press Ctrl-Shift-A to see the list of installed plugins. Our plugin is called “Torrent Stream P2P Multimedia Plug-In”

Hi Anton, thanks for the support, much appreciated. I checked both browsers and


  • shows the extension as installed – see screenshot in previous post
  • but does not list the plugin at all( chrome://plugins )


  • shows the extension as installed – see screenshot in previous post
  • but does not list the plugin at all( about://plugins )

So neither of the browsers has registered your plugin as successfully installed. Can I add them manually somehow?



Well i have an issue on ubuntu with streaming i get the following error and the tracker says sending me garbage no info hash .

0tsengine-stream --name dazsports --source http://myip:1234 --bitrate 125000 --host serverip --destdir /tmp/
Starting TS Engine…
2012-11-10 00:50:34 lm::start_upnp: upnp_type 3 locally_guessed_ext_ip listen_port 7764
device id: MFIwEAYHKoZIzj0CAQYFK4EEABoDPgAEAHhb4E06++jwcwBnnjNuZEMzLEoKXpZ5D2bAtmy4Ab0rddw/mC0cy7NC4hyq/wr2KJifLjpQFozM8GV5
tracker url: http://serverip:7764/announce
bitrate: 125000
piece size: 65536
dest dir: /tmp/

createlivestream: open stream: url http://myip:1234 reader builtin
2012-11-10 00:50:34 stream: started input thread
2012-11-10 00:50:35 stream: restarting stream from piece 287

Traceback (most recent call last):
File “/home/anton/tsengine/TorrentStream/Core/BitTornado/BT1/track.py”, line 896, in get
ValueError: no info hash

tracker might be overloaded by connections and can’t answer

its not possible because there are no connection to the server yet this is happening allready when i start it up.

reinstalled same freaking error from outside i can reach the stream with vlc directly but Torrentstream broadcast streamers just will not work help anyone ?

still saying :
createlivestream: open stream: url http://myipofsourcemedia:1234 reader builtin
2012-11-10 04:09:49 stream: started input thread
2012-11-10 04:09:50 stream: restarting stream from piece 677

and on tracker website it saysyou sent me garbage - no info hash

oke so i fixed part 1 i now can open the torrent file you get in ts player and it runs fine .

Now my second question how do i get the content id or how do i embed a player when you run your tracker on linux with command line ?

The tutoral says i have to replace a line in the test.php file that you provide but the line i have to replace isnt even there .

Help me plz.

<!DOCTYPE html>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Torrent Stream</title>

<style type="text/css">
* {
    font-family: Arial;
body {
    background-color: #222
.modal {
    width: 500px; 
    border:2px solid #333; 
    font-size: 12px;
    -moz-box-shadow: 0 0 50px #ccc;
    -webkit-box-shadow: 0 0 50px #ccc; 

.modal input {
    font-size: 12px;

.button-long {
    display: inline-block;
    background: transparent url(http://static.torrentstream.org/htmlplayer/img/sprite-player-black.png) no-repeat 100% -129px;
    height: 27px;
    line-height: 24px;
    cursor: pointer;
    position: relative;
    margin-left: 17px;
    top: -3px;
    padding-right: 12px;
    width: 115px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;

.button-long b {
    background: transparent url(http://static.torrentstream.org/htmlplayer/img/sprite-player-black.png) no-repeat -579px -129px;
    height: 27px;
    width: 17px;
    position: absolute;
    left: -17px;


<!-- black style -->
<link type="text/css" rel="stylesheet" href="http://static.torrentstream.org/jsapi/css/ts-controls-black.css" />

<!-- api files -->
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/ts/core.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery-1.7.min.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery-ui-1.8.9.custom.min.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery.mousewheel.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery.jscrollpane.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery.scrollText.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/cufon/cufon.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/cufon/a_LCDNova_400.font.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/ts/player.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/ts/controls.js"></script>

<script type="text/javascript">
function init() {
    var useInternalControls = true;
    var controls = new TorrentStream.Controls("tsplayer", {
            style: useInternalControls ? "internal" : "ts-black",
            debug: true
    try {
        var player = new TorrentStream.Player(controls.getPluginContainer(), {
                debug: true,
                useInternalControls: useInternalControls,
                bgColor: "#000000",
                fontColor: "#ffffff",
                onLoad: function() {
                    try {
                        var p = this;
                    catch(e) {
                        console.log("init: " + e);
    catch(e) {



    <div id="player_container" style="background-color: #000; width: 800px; height: 483px; margin: 100px auto 0 auto;">
        <div id="tsplayer" style="width: 100%; height: 100%; color: #fff; text-align: center;">
            <div style="padding-top: 232px; background-color: #000000;">Подождите, идет загрузка плеера...</div>

    <script type="text/javascript">

save this code as MYFILE.html
replace adress to file: this.loadTorrent(“”);
then open in firefox, right click, choose content id

Thanks m8 it works got it figured out .

All happy.

If you can help me with one more thing would be awesome:

in the command line witch bitrate should i fill in when i have in vlc 1200k max ?


150000 = 1200 kBit
u can try here http://convertr.ru/information/kilobits , but site in russian

Sorry there is English topic and I wrote to Russian earlier… :-/ I’m new to linux but I’m getting used to it and llike it. As windws user it’s easy to use streamtorrent no problem at all, but in Ubuntu I got some problems. When I try to intsall the package its says me in software center that libupnp3>=1.4.3. With little search I found the package on the net but it conflicts with the already installed libupnp6. If I uninstall libupnp6 and install libupnp3

sudo apt-get remove libupnp6 && sudo dpkg -i ~/Downloads/libupnp3_*.deb
I read that I’ll have problem with vlc and sopcast-player. And I use also sopcast player. Any other solution???

Anyone to help??? What to do with libupnp3??? Can I make it work with libupnp6 that is installed??? Will there be any new release to fix this??? JUST AN ANSWER! Even if it’s use windows… Just answer to know…