xTeVe - IPTV for Plex DVR

Curious issue here. Added a second M3U. Most of the channels show up with for me to assign XML data and add to the channel lineup. However, five of the six channels under the same group-title, “europemarc” do not show up. I reviewed the M3U file and they exist in there just like all the other channels and their respective group-titles.

What can I do so that I have these missing channels available? Playlist has the M3U. XMLTV has the proper EPG file. Filter has the group-title listed exactly as spelled. Mapping does not show those five channels in general or when specifically searching for their group-title, partial name, or full name of the individual channels.

Input appreciated. Thanks!

Thanks! I killed the process at port 8080

sudo lsof -i tcp:8080,

then ./xteve -port=8080

and got

2019/01/25 13:34:45 [xTeVe] [ERROR] listen udp4 xxx.xxx.x:1900: bind: address already in use - panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x12f51b7]

Any ideas how to fix it? Use a different port?

Port 1900 is used for the UPnP / DLNA server. There is another UPnP / DLNA server on your computer. Presumably Plex, disable DLNA in Plex, then it should work.

Without the M3U file it’s hard to say. Maybe wrong formatted streams, dubbed channel names without specifying a unique ID for the streams

Here are the channels as shown in the file slightly modified of course:

#EXTINF:-1 tvg-id="MovistarFormula1.es" tvg-name="Movistar Fórmula1 ES" tvg-logo="http://static.iptv-epg.com/es/MovistarFormula1.es.png" tvg-chno="1449" channel-id="1449" group-title="EUROPAMARC",ES: MOVISTAR FORMULA 1

http://domain.tld:8880/gibberish/morejibberish/1965

#EXTINF:-1 tvg-id="MovistarFutbol.es" tvg-name="Movistar Fútbol ES" tvg-logo="http://static.iptv-epg.com/es/MovistarFutbol.es.png" tvg-chno="1450" channel-id="1450" group-title="EUROPAMARC",ES: MOVISTAR FUTBOL HD

http://domain.tld:8880/gibberish/morejibberish/2005

#EXTINF:-1 tvg-id="beINLaLiga.es" tvg-name="beIN LaLiga ES" tvg-logo="https://www.ono.es/img/landing/imagen_bein_liga.png" tvg-chno="1451" channel-id="1451" group-title="EUROPAMARC",ES: BEIN LA LIGA

http://domain.tld:8880/gibberish/morejibberish/1962

#EXTINF:-1 tvg-id="MovistarDeportes.es" tvg-name="Movistar Deportes ES" tvg-logo="https://www.foromedios.com/uploads/monthly_2017_05/medium.MovistarDeportes-Peru.png.427be7cc70507809375689d54985931f.png" tvg-chno="1452" channel-id="1452" group-title="EUROPAMARC",ES: MOVISTAR DEPORTES 1 HD

http://domain.tld:8880/gibberish/morejibberish/1989

#EXTINF:-1 tvg-id="beINSports.es" tvg-name="beIN Sports ES" tvg-logo="beIN SPORTS AUSTRALIA: Rugby, Football Live scores and videos | beIN SPORTS; tvg-chno="1453" channel-id="1453" group-title="EUROPAMARC",ES: BEIN SPORTS ESPANA HD

http://domain.tld:8880/gibberish/morejibberish/1963

#EXTINF:-1 tvg-id="LaLigaTV.es" tvg-name="LaLiga TV ES" tvg-logo="http://a2.espncdn.com/combiner/i?img=%2Fi%2Fleaguelogos%2Fsoccer%2F500%2F15.png" tvg-chno="1454" channel-id="1454" group-title="EUROPAMARC",ES: CANAL LIGA HD

http://domain.tld:8880/gibberish/morejibberish/2022

The file has no other channel numbers or IDs with these listed.

However, I do have two separate M3Us I put into Xteve. I used EPG-IPTV to strip out duplicates and only load the 30 additional sports channels I didn’t have via the 2nd M3U.

Thanks! I disabled DLNA in Plex and restarted it. Still same problem…

I also disabled Chromecast in Chrome browser - same thing…

Is there a way to find out what may be using port 1900?

Running lsof -i :1900 returns nothing…

When I put in the m3u file, I get an error stating ‘panic runtime error: index out of range’ in my terminal. Any ideas?

The header of the M3U is missing (#EXTM3U)
When I insert these, all channels are displayed.
The empty line before the streaming URL is also wrong

#EXTM3U
#EXTINF:-1 tvg-id="MovistarFormula1.es" tvg-name="Movistar Fórmula1 ES" tvg-logo="http://static.iptv-epg.com/es/MovistarFormula1.es.png" tvg-chno="1449" channel-id="1449" group-title="EUROPAMARC",ES: MOVISTAR FORMULA 1
http://domain.tld:8880/gibberish/morejibberish/1965

#EXTINF:-1 tvg-id="MovistarFutbol.es" tvg-name="Movistar Fútbol ES" tvg-logo="http://static.iptv-epg.com/es/MovistarFutbol.es.png" tvg-chno="1450" channel-id="1450" group-title="EUROPAMARC",ES: MOVISTAR FUTBOL HD
http://domain.tld:8880/gibberish/morejibberish/2005

#EXTINF:-1 tvg-id="beINLaLiga.es" tvg-name="beIN LaLiga ES" tvg-logo="https://www.ono.es/img/landing/imagen_bein_liga.png" tvg-chno="1451" channel-id="1451" group-title="EUROPAMARC",ES: BEIN LA LIGA
http://domain.tld:8880/gibberish/morejibberish/1962

#EXTINF:-1 tvg-id="MovistarDeportes.es" tvg-name="Movistar Deportes ES" tvg-logo="https://www.foromedios.com/uploads/monthly_2017_05/medium.MovistarDeportes-Peru.png.427be7cc70507809375689d54985931f.png" tvg-chno="1452" channel-id="1452" group-title="EUROPAMARC",ES: MOVISTAR DEPORTES 1 HD
http://domain.tld:8880/gibberish/morejibberish/1989

#EXTINF:-1 tvg-id="beINSports.es" tvg-name="beIN Sports ES" tvg-logo="http://getbein.beinsports.com/nz/wp-content/uploads/2016/05/BS1.png" tvg-chno="1453" channel-id="1453" group-title="EUROPAMARC",ES: BEIN SPORTS ESPANA HD
http://domain.tld:8880/gibberish/morejibberish/1963

#EXTINF:-1 tvg-id="LaLigaTV.es" tvg-name="LaLiga TV ES" tvg-logo="http://a2.espncdn.com/combiner/i?img=%2Fi%2Fleaguelogos%2Fsoccer%2F500%2F15.png" tvg-chno="1454" channel-id="1454" group-title="EUROPAMARC",ES: CANAL LIGA HD
http://domain.tld:8880/gibberish/morejibberish/2022

Tried to update again to 1.4 keeps giving unexpected EOF archive when downloading a large xml file for xmltv over a few mbs (eg 25mb)

This is a bug as it shows different numbers each time for the same file

What is also weird is downloaded and local file gives same issue?

Any recommendations or can point in right direction what is best IPTV service that’s works well with xteve. Tested a couple that you use an app instead of giving you a file

1 Like

Once I add my m3u source on the config page, it finds the m3u file, but I get this error, then the config page gets stuck on that page:

2019/01/30 02:36:05 http: panic serving 192.168.0.10:53242: runtime error: index out of range
goroutine 82 [running]:
net/http.(*conn).serve.func1(0xc0423423c0)
/usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:1726 +0xd7
panic(0x867440, 0xbcdf90)
/usr/local/Cellar/go/1.10.3/libexec/src/runtime/panic.go:502 +0x237
marmei/m3u-parser.MakeInterfaceFromM3U.func1(0xc042768fa0, 0xf, 0x8ea3ab)
/Users/marcel/go/src/marmei/m3u-parser/xteve_m3uParser.go:115 +0xaa5
marmei/m3u-parser.MakeInterfaceFromM3U(0xc042c4a000, 0x432b51, 0x7ffe00, 0xc042310a80, 0x69, 0xc0423ec080, 0x74, 0xc042c4a000)
/Users/marcel/go/src/marmei/m3u-parser/xteve_m3uParser.go:141 +0x1be
_/xteve/src.getProviderData.func1(0xc042310a80, 0x69, 0xc0421ee960, 0x26, 0xc04218c040, 0x14, 0xc042c4a000, 0x432b51, 0x7ffe00, 0xc042028a58, …)
/xteve/src/config.go:607 +0x1335
_/xteve/src.getProviderData(0x8e7e1b, 0x3, 0x0, 0x0, 0xbf9240, 0x0)
/xteve/src/config.go:753 +0xdd2
_/xteve/src.updateServerConfig(0xc04215f320, 0xa, 0x8ecf74, 0xa)
/xteve/src/data.go:115 +0xdf9
_/xteve/src.Data(0x99c020, 0xc04234e700, 0xc042158b00)
/xteve/src/webserver.go:591 +0x2303
net/http.HandlerFunc.ServeHTTP(0x956e90, 0x99c020, 0xc04234e700, 0xc042158b00)
/usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:1947 +0x4b
net/http.(*ServeMux).ServeHTTP(0xbdbc60, 0x99c020, 0xc04234e700, 0xc042158b00)
/usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:2337 +0x137
net/http.serverHandler.ServeHTTP(0xc0421dc410, 0x99c020, 0xc04234e700, 0xc042158b00)
/usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:2694 +0xc3
net/http.(*conn).serve(0xc0423423c0, 0x99c420, 0xc04206aa80)
/usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:1830 +0x658
created by net/http.(*Server).Serve
/usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:2795 +0x282

Your M3U file is corrupt or incorrectly formatted

thanks, but I got it from my iptv provider. It works on other devices. I used the url link and the downloaded m3u files locally, with same result. How can I find out what the issue is?

first few lines in my m3u file

#EXTM3U
#EXTINF:-1 tvg-id=“CanalD.ca” tvg-name=“CAN-F | CANAL D” tvg-logo=“https://i.imgur.com/RFfcglp.png” group-title=“CAN-FRENCH”,CAN-F | CANAL D
http://s1.electru.biz:8080/“User”/“password”/93543

To say exactly where what is wrong, I would have to see the whole M3U.

I copied just the US channels to a new m3u file. It worked! Now the plex dvr showed it and I added it. I selected just the local broadcast channels. it worked. I then went back to the settings. Plex dvr settings couldnt find the channels anymore. I deleted the DVR. restarted everything. verified that the web interface is active. this time it finds the xteve dvr but when it is time to finish last step to add, it keeps giving me a “There was a problem adding a new device to your DVR. Please try again.”.error. repeated dozen times same result. 34400 port is forwarded, norton is set to allow.

Then the database of Plex seems to have an error. In the settings.json of xTeVe you will find the uuid, change a letter there and set up xTeVe in Plex again

I did that then restarted server and xteve, same thing is happening. How can I refresh my whole plex database without loosing profile data.

Thank you for your assistance with this issue. It gets automatically discovered, just for a second or two then disappears off the discovered DVR list. When I add the ip:34400 address, it does not show up or is found, but the xteve web interface is still working fine.

for trouble shooting purposes only, I installed the whole plex/xteve setup on my laptop.
Everything works fine, except for the EPG was pulled from PMS not xteve as setup was intended. Any suggestions on this? and how to fix my main plex server?

{UPDATE}

It started to do the same thing on my laptop server after deleting the dvr from plex then restarting both plex and xteve then xteve dvr shows up for a few seconds then disappears.

How does one change the channel list to sort it in a manner they want? I have my filters all setup but can’t figure out how to set a certain channel higher up or lower down in the guide. I’d prefer to do this in xteve but can’t seem to figure that out.