Streaming Live TV via Kodi Over the Internet

Kodi Community Development

Moderator: TVJunkie198

Post Reply
Posts: 72
Joined: Tue Aug 16, 2011 4:02 pm

Streaming Live TV via Kodi Over the Internet

Post by hotshot2k3 »

Things Needed:
IPTV Simple PVR Addon
Xamp or apache
Dropbox account
Zap2it account


1. Setup zap2xml .bat file like this to output the file for Dropbox syncing in the public folder: zap2xml -u username -p password -e -O -D -A -I -o "PATH\Dropbox\Public\xmltv.xml"
2. Setup .m3u as shown below by using the contents of the xml file, add as many channels as you like. My example outputs the untouched mpeg2 video and ac3 audio.
3. Place .m3u in public Dropbox folder
4. Setup scheduled task to run .bat file every few days in Windows “Task Scheduler”
5. Install Xamp/Apache
6. Edit httpd.conf
a. Change Listen port to 8080
b. Uncomment

Code: Select all

LoadModule proxy_html_module modules/
LoadModule proxy_http_module modules/
LoadModule proxy_http2_module modules/
LoadModule proxy_scgi_module modules/
LoadModule proxy_wstunnel_module modules/
c. make sure to uncomment "Include conf/extra/httpd-vhosts.conf" if its not already done
d. change ServerName localhost to port 8080
7. Edit httpd-vhosts.conf

Code: Select all

<VirtualHost *:8080>
    ServerName localhost
    ProxyPass / http://HDHR IP:5004/
    ProxyPassReverse / http://HDHR IP:5004/
8. Make sure Xamp/Apache is running and that your 8080 port is forwarded on your router
9. Configure PVR IPTV Simple Client Addon by making sure Remote path is selected in the General and EPG Setting tabs. Add the shared Dropbox URL for the .m3u and .xml into each tab
10. Make sure to change the end of each Dropbox URL to dl=1 instead of dl=0
11. Restart Kodi and enjoy


XML Contents

<channel id="">
<display-name>502 WCBSDT</display-name>
<icon src=" ... _h3_aa.png" />

.M3U Contents
#EXTINF:-1 tvg-name="502_WCBSDT" tvg-logo="special://home/media\Logos\CBS.png",CBS
http://External IP:8080/auto/v502
#EXTINF:-1 tvg-name="504_WNBCDT" tvg-logo="special://home/media\Logos\NBC.png",NBC
http://External IP:8080/auto/v504
Last edited by hotshot2k3 on Thu Aug 13, 2020 9:59 am, edited 1 time in total.

Posts: 67
Joined: Sun Jul 08, 2012 9:25 pm

Re: Streaming Live TV via Kodi Over the Internet

Post by Deihmos »

Or you can install plex or emby and do it the simple way.

Posts: 17
Joined: Thu Jan 24, 2019 4:48 pm

Re: Streaming Live TV via Kodi Over the Internet

Post by Si14 »

[posts from this account are not displayed]

Post Reply