xTeVe - IPTV for Plex DVR

Bravo pour Xteve et une très bonne initiative (pratiquement la perfection)
mais à quand une vrai solution dans PLEX ?

1 Like

@marmei my m3u link always throws an index out fo range. i know its not the file itself as when downloaded and then used locally it works fine. but what ever step checks the URL for the m3u link always throws out of bounds.

Terminal output:

2019/02/03 21:01:21 [xTeVe] All streams:          0                                                                                                                                                                                                      
2019/02/03 21:01:21 [xTeVe] Active streams:       0                                                                                                                                                                                                      
2019/02/03 21:01:21 [xTeVe] Filter:               0                                                                                                                                                                                                      
2019/02/03 21:01:21 [xTeVe] XEPG:                 Update database                                                                                                                                                                                        
2019/02/03 21:01:21 [xTeVe] XEPG:                 Map channels                                                                                                                                                                                           
2019/02/03 21:01:29 [xTeVe] Download:             http://s1.electru.biz:8080/get.php?username=username&password=password&type=m3u_plus&output=m3u8                                                                              
2019/02/03 21:01:29 [xTeVe] Header filename:      tv_channels_username_plus.m3u                                                                                                                                                                                                                                                                                                  
2019/02/03 21:01:30 [xTeVe] Check File:           http://s1.electru.biz:8080/get.php?username=username&password=password&type=m3u_plus&output=m3u8                                                                              
2019/02/03 21:01:31 http: panic serving 192.168.1.26:52956: runtime error: index out of range                                                                                                                                                            
goroutine 85 [running]:                                                                                                                                                                                                                                  
net/http.(*conn).serve.func1(0xc4203b8280)                                                                                                                                                                                                               
        /usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:1726 +0xd0                                                                                                                                                                            
panic(0x84e1e0, 0xbabec0)                                                                                                                                                                                                                                
        /usr/local/Cellar/go/1.10.3/libexec/src/runtime/panic.go:502 +0x229                                                                                                                                                                              
marmei/m3u-parser.MakeInterfaceFromM3U.func1(0xc4203cdd80, 0xf, 0x8d0b95)                                                                                                                                                                                
        /Users/marcel/go/src/marmei/m3u-parser/xteve_m3uParser.go:115 +0xa9e                                                                                                                                                                             
marmei/m3u-parser.MakeInterfaceFromM3U(0xc420dfe000, 0x4806ea, 0x7ffe00, 0xc4200b6400, 0x79, 0xc4201aa120, 0x84, 0xc420dfe000)                                                                                                                           
        /Users/marcel/go/src/marmei/m3u-parser/xteve_m3uParser.go:141 +0x1b7                                                                                                                                                                             
_/xteve/src.getProviderData.func1(0xc4200b6400, 0x79, 0xc4204c63c0, 0x34, 0xc4204f6280, 0x14, 0xc420dfe000, 0x4806ea, 0x7ffe00, 0x4514f0, ...)                                                                                                           
        /xteve/src/config.go:607 +0x132e                                                                                                                                                                                                                 
_/xteve/src.getProviderData(0x8ce61e, 0x3, 0x0, 0x0, 0xbd9380, 0x0)                                                                                                                                                                                      
        /xteve/src/config.go:753 +0xdcb                                                                                                                                                                                                                  
_/xteve/src.updateServerConfig(0xc4202382a0, 0xa, 0x8d3834, 0xa)                                                                                                                                                                                         
        /xteve/src/data.go:115 +0xdf2                                                                                                                                                                                                                    
_/xteve/src.Data(0x97ed20, 0xc4204021c0, 0xc420674200)                                                                                                                                                                                                   
        /xteve/src/webserver.go:591 +0x22fc                                                                                                                                                                                                              
net/http.HandlerFunc.ServeHTTP(0x939948, 0x97ed20, 0xc4204021c0, 0xc420674200)                                                                                                                                                                           
        /usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:1947 +0x44                                                                                                                                                                            
net/http.(*ServeMux).ServeHTTP(0xbb9aa0, 0x97ed20, 0xc4204021c0, 0xc420674200)                                                                                                                                                                           
        /usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:2337 +0x130                                                                                                                                                                           
net/http.serverHandler.ServeHTTP(0xc4200b5860, 0x97ed20, 0xc4204021c0, 0xc420674200)                                                                                                                                                                     
        /usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:2694 +0xbc                                                                                                                                                                            
net/http.(*conn).serve(0xc4203b8280, 0x97f1e0, 0xc4204ee500)                                                                                                                                                                                             
        /usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:1830 +0x651                                                                                                                                                                           
created by net/http.(*Server).Serve                                                                                                                                                                                                                      
        /usr/local/Cellar/go/1.10.3/libexec/src/net/http/server.go:2795 +0x27b

The length of the URL for the m3u file is 121 char long (with my username and password, not the place holder) which seems to be out of bounds.

Using version 1.4 on a amd64 linux distro

Thanks

I notice youre using rocketstreams, i have the same service. How did you get the m3u file working? Did you just make your own file with the Channels you want?

For at least one stream in your M3U, xTeVe can not find the streaming URL, probably a line break error.

The order can be changed in the mapping menu, just click on the channel number.

Perhaps I have dreamed this but… when I use xteve with PMS my PMS server transcode the IPtv stream… I thought that xteve handed over the original feed without anything… Im using plex on my ATV 4k. Or have I missed something?

To my knowledge Xteve doesn´t do anything with the stream.
But, what may have happened is that you accidentally changed the settings of the Xteve tuner (Settings - Live TV & DVR - press the cogwheel to the right of the name of your tuner):
image

Maybe that is not off but set to Transcode?

If it is not that, it should be some of the normal settings in a Plex client or a Plex client that can´t direct play ts streams.

Hi there, I read that you were able to setup xteve as a service. Any chance I could take a look at the systemd service you created to get that to work? I’m running deb stretch but should be similar I hope.

Thanks,

Hello!
Plese help me, Error:
[xTeVe] [ERROR] illegal base64 data at input byte 0 - Plex stream error

Hi! I’m new to Plex DVR and xTeve. I have followed this guide in setting it up: https://www.youtube.com/watch?v=x0qPOBzmZJA I’m able to add xTeVe into Plex but after the wizard is finished it says that xTeVe is offline. Does anybody care to push me in the right direction to finding out why i’m experiencing this?

I’m using plex Version 1.14.1.5488 on Windows 10 and tried it on both Chrome and Firefox with the same results.

According to the Plex Media Server log i get this: Feb 06, 2019 23:19:47.417 [8796] DEBUG - HTTP requesting GET http://192.168.1.231:34400/lineup.json Feb 06, 2019 23:19:47.429 [8796] DEBUG - HTTP 200 response from GET http://192.168.1.231:34400/lineup.json So it looks like it has some kind of connection.

I’ve also disabled firewall, even though it should not matter as xTeVe and Plex Media Server are on the same PC.

What am i missing?

There are no other apps or services using the same ports as xTeVe and Plex Media Server

Thanks!

Hi…

How do i install this on OS X. Depending on what browser I use determines whether it downloads as a zip file, or (on my machine) a texteditor file. Regardless…I still don’t know how i should actually be installing/running this.
WIndows is fine…but can’t figure out for OS X.

thanks

restart PMS. It will bring dvr online.
Helped me.

I think you need to download it thru chrome or Firefox. Safari doesn’t like the file if I don’t remember wrong. And then run it in terminal.

@marmei
I tested your app, and it worked great. I would really love to see the following improvements:

  • Support udp stream with the stream buffering feature. I do currently need to use udpxy to transform the multicast stream to a http one. If xTeve could do it out of the box it would be great
  • Auto map channels & guide if name match. My EPG file perfectly match the name of channels in my m3u (https://www.init7.net/en/support/faq/TV-andere-Geraete/ & https://github.com/mathewmeconry/TV7_EPG_Data). With the current version I would need to map 1 by 1 all those channels together
  • An official docker image would be great

Cheers !

1 Like

Working great here thanks - any chance of integrating SchedulesDirect for some decent EPG data?

I’m using IPTV-EPG but it’s rubbish for Sports, and also useless for Premiere/Repeat tags.

Hi…
i’ve now installed xteve on MAC OS. All channels are showing as red…not active. If i try and activate a channel it get a pop up saying, “xmltv file is not selected”.

Any ideas as to what the problem might be?
thnx

Hi there, fist things first thank you very much anyone who is working on this project its amazing.

Has something been changed to disable local URL’s? in my custom m3u source i have a http stream to my CCTV cameras that are on my local network and all was working great until a few days ago and now eteve is removing the local address to the stream but it keeps the channelID, logo ect…

Any help would be great.
Thanks

  • HLS / M3U8 support is certainly more important to most. I also do not know providers of UDP streams as M3U offers.
  • Automatic mapping by name will not work. Many channel names are available in different countries, mapping works only via the tvg-id
  • I do not use a Docker, but with the binary everyone can create their own Docker Image or NAS package. There are several unofficial xTeVe Docker images.

Did you get an answer? I’m wondering the same thing. My provider has given me two accounts. One per tuner. How can I add both tuners and one XMLTV? Another instance of xteve without XMLTV?

Plex told me that the DVR is not connected

1 Like