View Torrent-TV in the LiveTV XBMC interface, under Linux
Result Video:
Preamble
All the time I wanted to comfortably watch TV (yes, I watch TV) right away in xbmc, in a beautiful interface with a schedule and so on. Buns. My provider does not provide IPTV, it is somehow dumb to install a “plate”, only repairs have been made, then again the cable is incomprehensible how to start the apartment. The quality of the video stream from the external usb TV tuner for the old netbook, which acts as a media center, leaves much to be desired, and catches a channel and a half. In general, a bummer from all sides, I thought for a long time, until I found out about torrent-tv.
Actually, in the article about how to watch it in the xbmc native interface for TV.
Short
We put mono 3.4+, vlc, acestream-engine, xbmc 13+;
')
Especially for those who do not want to go deep, I wrote a script installer of all this stuff for ubuntu 64b.
Just run in the terminal:
cd /tmp && wget http://alexstep.com/XBMC/p2pproxy/i2.sh && chmod +x i2.sh && sh i2.sh
And follow the installation, periodically confirming the action. After successful execution of the script, you will need to install the p2pproxy add-on from the zip archive ~ / XbmcTv / addons / pvr.p2pproxy.zip in kodi, turn on the TV in the settings, enable the add-on P2pproxy and IPTVSimple to specify the file ~ / XbmcTv / radio.m3u.
VLC is an open source media platform for decoding received video.
Mono - cross-platform .NET framework, needed to run P2pProxy.
P2pProxy is a server that converts an acestream stream to iptv format.
As a result, we get the following scheme: Kodi using the PVR plug-in accesses the P2pProxy server, which with the help of acestream takes a p2p video stream with a torrent-tv and in a converted form (vlc) gives us to watch as IPTV.
I will describe the installation using the example of ubuntu 14 64b, I think users of other distributions will be able to fine-tune them for themselves, in arch'e everything is put even easier, because All necessary packages are in AUR.
Install Kodi At the time of writing, the Kodi 14 Helix is ​​not available in the official repositories of ubuntu 14.04, so we install from the xbmc-team repository:
Install add-on torrent tv It is installed from the xbmc repository of seppius to test the performance of the acestream and xbmc bundles. Download the archive to install the xbmc repository. Register on torrent-tv.ru . Go to xbmc System-> Settings-> Add-ons-> Install from ZIP, select the downloaded archive repository.seppius.zip. After a successful installation, turn on Torrent-TV XBMC in the video completion section, specify your username and password in the settings.
Go to xbmc Video-> Add-ons-> Torrent TV and turn on some channel, wait. We wait. We are waiting for the "picture" and really hope that it will appear. Try different channels.
Now the main thing is to make sure that acestream works correctly, if this does not happen, we think that they did not do it at the previous stage.
Install mono The longest stage (long going).
wget http://download.mono-project.com/sources/mono/mono-3.6.0.tar.bz2 tar -xvf mono-3.6.0.tar.bz2 cd mono-3.6.0/ ./configure --prefix=/usr/local make sudo make install # ( ) cd ../ rm -rf mono-3.6.0/
Install vlc Everything here is just the version we need in the official repositories:
sudo apt-get install vlc
Installing and running P2pProxy You can download the program from here . I put it in / home / user / XbmcTv / p2pproxy /. Start the server with the mono / directory / P2pProxy_console.exe -u email_account_to_torrent-tv -p password:
Login and password is enough to specify once, they will be saved in ~ / .config / P2pProxy / settings.xml and then you can raise the server without parameters.
We install git, packages necessary for the assembly and we copy a repository
sudo apt-get install git build-essential libtool autotools-dev autoconf automake git clone https://github.com/const586/xbmc-addon-p2pproxy # cd xbmc-addon-p2pproxy sh autogen.sh ./configure make dist-zip
If there were no errors, the plug-in ready for installation lies in the current directory in the zip archive.
Go to xbmc System-> Settings-> Add-ons-> Install from ZIP.
Register to autoload Then one moment, - p2pproxy needs to be run from the user, not from the root, well, acestream just in case. Add the following lines to /etc/rc.local, before “exit”.
su -s /bin/sh - user -c "mono /home/user/XbmcTv/p2pproxy/P2pProxy_console.exe -u mail@gmail.com -p my_password" sudo -u user --set-home acestreamengine --client-console
FAQ
Well, the schedule is loaded , - in the plugins directory of the p2pproxy program, delete the files cache_36.xml, epg_36.xml, epg_36.zip is the cache, most likely it is “broken” and restart p2pproxy. Few channels , - need the status of vip on torrent-tv How to change the port or dlna server name - in ~ / .config / P2pProxy / settings.xml