, ( , ). , IPTV , , . , Raspberry Pi B+. .
«» Raspbmc ( 
OSMC). , Micro SD . «» .
, 
Torrent-TV XBMC, , , :
, .
, — 
, ! . :
- Ace Engine — Raspberry;
- Ace Engine localhost.
.
№1 «as is» №2.
, Ace Engine — 6878 , . , localhost, 127.0.0.1. «» .
, - («» — ) . , .
, 
AceStream. (++ ), . .
port forwarding. 
netsh, , portproxy 127.0.0.1. Windows 7 NAT forward . 
unix 
rinetd Windows.
, , , Ace Engine acestream.port ( , AceStream). , Ace , .
, , batch :
start /d "c:\Users\Lexs\AppData\Roaming\ACEStream\engine\" ace_engine.exe
ping 127.0.0.1 -n 10 > nul
cd "c:\Users\Lexs\AppData\Roaming\ACEStream\engine\"
set /p port=<acestream.port
@echo 10.100.0.50 36001 127.0.0.1 6878 > rinetd.conf
@echo 10.100.0.50 36002 127.0.0.1 %port% >> rinetd.conf
start /d "c:\Users\Lexs\AppData\Roaming\ACEStream\engine\" rinetd.exe
10.100.0.50 — . , .
IP AceStream GUI , « ». 
SSH «». Python' , :
/home/pi/.kodi/addons/script.torrent-tv.ru/ts.py
, , :
    239         if defines.ADDON.getSetting('web_port'):
    240             self.webport = defines.ADDON.getSetting('webport')
    241         else:
    242             self.webport = '36001'
    243         if defines.ADDON.getSetting('port'):
    244             self.aceport = int(defines.ADDON.getSetting('port'))
    245         else:
    246             self.aceport = 36002
, Torrent-TV «»!