xTeVe - IPTV for Plex DVR

Would it be possible to set channel group password code in the mapping UI? Even if Plex does not use parental password checks on channels, the xteve.m3u is used on other devices that do.
Thanks!

I’m having an issue with Plex and Xteve. Actually, the problem is probably on Plex’s side but maybe someone has seen something similar can give me a hint.

First, just a bit of context, my Plex/Xteve setup has been working great for a couple of month. Yesterday, I realized that the Live TV didn’t work anymore in Plex, the Guide was empty. After some troubleshooting, I realized that my Xteve Docker didn’t have access to the Internet and couldn’t refresh it’s xmltv. So, I fixed that, restarted Xteve, made it update its m3u playlist and xmltv. Everything looked fine on Xteve but Plex, even after refreshing its EPG (from the xmltv of Xteve), still said that there was nothing in the Guide and that I couldn’t watch anything. I had something similar a couple month back so I did the same thing I did back then, i simply removed the Xteve DVR from Plex and went to re-add it again.

Now, the problem is, Plex doesn’t see the Xteve DVR at all. If I input the URL manually and click connect, it just doesn’t do anything, the ā€œConnectā€ button flash and comes back the same, no error or anything. If I enter a wrong URL (just to test), it says there was a problem adding the device.

If I add the m3u URL from Xteve to VLC, I can stream channels there, so Xteve seems to work as it should.

In the log from Plex, I get this:
Mar 21, 2020 13:16:10.796 [0x7ff0db7fe700] DEBUG - Request: [10.X.X.X:51094 (Subnet)] POST /media/grabbers/tv.plex.grabbers.hdhomerun/devices?uri=xteve.url%3A34400 (35 live) TLS GZIP Signed-in Token (my_user)
Mar 21, 2020 13:16:10.796 [0x7ff0db7fe700] DEBUG - Grabber: Checking device URI http://xteve.url:34400
Mar 21, 2020 13:16:10.796 [0x7ff0db7fe700] DEBUG - HTTP requesting GET http://xteve.url:34400/discover.json
Mar 21, 2020 13:16:10.802 [0x7ff0db7fe700] DEBUG - HTTP 200 response from GET http://xteve.url:34400/discover.json
Mar 21, 2020 13:16:10.803 [0x7ff0db7fe700] DEBUG - HTTP requesting GET http://xteve.url:34400/lineup_status.json
Mar 21, 2020 13:16:10.809 [0x7ff0db7fe700] DEBUG - HTTP 200 response from GET http://xteve.url:34400/lineup_status.json
Mar 21, 2020 13:16:10.809 [0x7ff0db7fe700] DEBUG - Grabber: tv.plex.grabbers.hdhomerun called the probe of http://xteve.url:34400 a success.
Mar 21, 2020 13:16:10.810 [0x7ff0db7fe700] DEBUG - HTTP requesting GET http://xteve.url:34400/discover.json
Mar 21, 2020 13:16:10.816 [0x7ff0db7fe700] DEBUG - HTTP 200 response from GET http://xteve.url:34400/discover.json
Mar 21, 2020 13:16:10.816 [0x7ff0db7fe700] DEBUG - HTTP requesting GET http://xteve.url:34400/lineup_status.json
Mar 21, 2020 13:16:10.823 [0x7ff0db7fe700] DEBUG - HTTP 200 response from GET http://xteve.url:34400/lineup_status.json
Mar 21, 2020 13:16:10.823 [0x7ff0db7fe700] INFO - Grabber: The device was already discovered at http://xteve.url:34400, updating URI
Mar 21, 2020 13:16:10.824 [0x7ff1477fe700] DEBUG - Completed: [10.X.X.X:51094] 200 POST /media/grabbers/tv.plex.grabbers.hdhomerun/devices?uri=xteve.url%3A34400 (35 live) TLS GZIP 28ms 735 bytes (pipelined: 51)

My only hint is the ā€œThe device was already discovered at http://xteve.url:34400, updating URIā€. I guess the Xteve DVR is still stuck somewhere inside Plex but I just can’t find where. I tried restarting Plex, the host on which it runs (Ubuntu 19.04) and also Xteve container.

Any idea?

Hi.
I have two accounts to the same provider and only get one of the playlists in the mappings section of xTeVe.
Do anybody know what could cause this?
Same channel name or something like that?

Multiple playlists from the same provider are not working. xTeVe needs to clearly identify the channels, either with a channel ID or the channel name. This is not possible with two identical M3Us.

Perhaps I am missing something, but I couldn’t find it in the thread history. I have # of tuners in xTeve set to 3, but no matter what I do, when I add it to Plex, it only says 1 tuner, which means it can only play 1 concurrent stream (ie. can’t watch and record). Anyone else have this or know how to fix it?

1 Like

If you have changed the number of tuners in the settings, you have to set up xTeVe again as a DVR tuner in Plex.

1 Like

I figured it out. Must have had something to do with the version because I updated to the latest (2.1.2) and now it is working.

Would there be a way to get my hands on an old version (1.4.4)?

I run multiple instances and it looks like the newer one broke the functionality I used to use for PlexConnect clients.

I hope this wont be considered as a crosspost.

I wrote a sumup of the Plex / Xteve situation here:
https://forums.plex.tv/t/plex-livetv-with-iptv-sumup/570035

Got Plex working with Xteve. Running the latest versions of both applications. This addressed many of the performance and discovery issues. A few issues/question remain:
My Plex is running on a Synology NAS. Xteve is running within a Docker container. When configuring Plex, I point it to the Xteve link of my EPG. However this data is obsolete after a day. Its pointing to http://x.x.x.x:34400/xmltv/xteve.xml
I have to update the guide manually in Xteve and then update guide in Plex. Is this by design or am I missing something?
When I refresh the Live TV and DVR I get a message:
Device not found. Ensure your device is powered on and connected to your network.
I have to re-add the Live TV to get the guide back.

When attempting to play Plex Live TV within my Roku, I get an error saying ā€œan unexpected error occurredā€.
It only works from my Windows laptop or desktop. Not within the Roku Plex app.

When streaming to the laptop over wifi, my internet connection is saturated. Plex is running over app.tv. Do I need to specify the local IP address to utilize LAN bandwidth instead of internet?

Thank you.

Many of your questions are answered here:

xTeVe updates the XMLTV files from your provider once a day (default). But that can be changed.
I assume your provider only has data for one day. There are also EPG providers with data for more than a week.

If a Plex app doesn’t work, I can’t help you either. Every Plex Client connects to the Plex Server and not to xTeVe. I don’t know exactly how the traffic between the Plex clients is, but I suspect that the clients will connect directly to your server if they are in the same LAN.

Xteve seems to support that:

2020-04-12 21:27:34 [xTeVe] Channel Name: MUSIC VIDEOS: Metal
2020-04-12 21:27:34 [xTeVe] Client User-Agent: Lavf/58.27.104
2020-04-12 21:27:34 [xTeVe] Streaming URL: http:///1011920550/Y7ll/11621
2020-04-12 21:27:34 [xTeVe] Streaming Info: URL was passed to the client.
2020-04-12 21:27:34 [xTeVe] Streaming Info: xTeVe is no longer involved, the client connects directly to the streaming server.
2020-04-13 00:00:59 [xTeVe] Update: 0000

The Roku plex client doesn’t connect to the channel. My laptop does.
Seems to be an issue with the Roku build of the application from what I can tell.

Update: I had to stop/start the Plex application within Synology.
The channels updated and I was able to watch my programming.
The next day the guild was not updated and Live TV settings said: Device not found. Ensure your device is powered on and connected to your network.

I manually updated Xteve and had Plex refresh its guide to no avail.

I removed the Live TV tuner and added it back. It found all the channels and partially updated the guide.
Attempting to open some channels gave the following errors:
Unable to tune channel (Not on air)

Is anyone able to assist? I’m happy to screen share or provide logs.
Thank you.

I have the same problem, did you manage to solve?

I’ve had partial success. I updated my Plex server to the latest available build.
I set the auto update for EPG and M3U on Xteve for every four hours.
I set a filter to ensure the channel numbers are under 480. (You can verify this in the Xteve log)

Only issues remaining are occasional channels are missing, ā€œweak signalā€ when playing a channel.
I found when I made changes I had to stop/start the Plex application on my Synology or the changes would not take effect. Reinstalling the Live TV would also require a restart.

Let me know if this helps.

My PMS runs on a VPS and I have xteve running on my local desktop. When I go to add my DVR to Plex, I get this error. The port is open on my firewall and router so that shouldn’t be the issue. I’ve googled and searched this thread with no luck. Thanks!Plex

Poor supplier. The problem disappears when you buy something better.

A VPS is useless for any of this stuff. A home server or a dedicated server is the only way you will get what you want. If you are going with a dedicated server this can get expensive and very hard to find (in the USA anyway) one that has the right hardware, eg, a GPU and enough HDD, allowing several transcodes to make it worth the cost. Otherwise you will be operating on CPU transcoding alone and only be able to do a few at once. The following costs me $200/month and I can support 10-15 users, maybe more. I don’t know yet… lol

GPU…Nvidia GeForce 1080Ti
CPU…Intel Xeon e3-1230 v5
Memory…16 GB
Primary Hard Drive…2x250GB SSD RAID0 (OS)
Secondary Hard Drive…2x10 TB HGST HDD
Bandwidth…10Tb @ 30mbps (1GB Port)
IPs…5 Vlan Ips (/29)
OS…Ubuntu 18
Control Panel…none

Hi guys!
Thanks to this thread I was able to set up Plex and xTeve on a Synology using xTeve in a Docker.
But unfortunately, I am having some issues getting the stream itself played on Plex (web & app). But I was able to use xTeve stream in a VLC player.

I was trying to follow many options :
-> I tried to convert RTSP to HTTP without success wondering if Plex can manage RTSP format properly
-> I tried to use buffers but ffmpeg and vlc are failing (logs below)
-> I tried even tried both option PMS and EPG
-> I tried 2 different Docker images bl0m1 and dnsforge
I am using a french provider with a stream through my local network

logs when buffers are activated :

2020-05-06 11:11:39 [xTeVe] Channel Name:          2 - France 2 (HD)
2020-05-06 11:11:39 [xTeVe] Client User-Agent:     Lavf/58.27.104
2020-05-06 11:11:39 [xTeVe] Streaming Status:      Playlist: M3U - Tuner: 1 / 1
2020-05-06 11:11:39 [xTeVe] FFMPEG path:           /usr/bin/ffmpeg
2020-05-06 11:11:39 [xTeVe] Streaming URL:         rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=hd
2020-05-06 11:11:39 [xTeVe] FFMPEG:                Processing data
2020-05-06 11:11:39 [xTeVe] Streaming Status:      Receive data from FFMPEG
2020-05-06 11:11:51 [xTeVe] FFMPEG log:            [rtsp @ 0x7fcf47684180] method SETUP failed: 461 Unsupported Transport
2020-05-06 11:11:51 [xTeVe] [ERROR] FFMPEG error (Streaming was stopped by third party transcoder (FFmpeg / VLC)) - EC: 1204
2020-05-06 11:11:51 [xTeVe] Streaming Status:      Client has terminated the connection
2020-05-06 11:11:51 [xTeVe] Streaming Status:      Channel: 2 - France 2 (HD) (Clients: 0)
2020-05-06 11:11:51 [xTeVe] Streaming Status:      Channel: 2 - France 2 (HD) - No client is using this channel anymore. Streaming Server connection has ended
2020-05-06 11:11:51 [xTeVe] Streaming Status:      Playlist: M3U - Tuner: 0 / 1
2020-05-06 11:07:32 [xTeVe] Channel Name:          2 - France 2 (HD)
2020-05-06 11:07:32 [xTeVe] Client User-Agent:     Lavf/58.27.104
2020-05-06 11:07:33 [xTeVe] Streaming Status:      Playlist: M3U - Tuner: 1 / 1
2020-05-06 11:07:33 [xTeVe] VLC path:              /usr/bin/cvlc
2020-05-06 11:07:33 [xTeVe] Streaming URL:         rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=hd
2020-05-06 11:07:33 [xTeVe] VLC:                   Processing data
2020-05-06 11:07:33 [xTeVe] Streaming Status:      Receive data from VLC
2020-05-06 11:07:33 [xTeVe] VLC log:               [000055580c727180] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
2020-05-06 11:07:33 [xTeVe] VLC log:               [000055580c727180] main interface error: no suitable interface module
2020-05-06 11:07:33 [xTeVe] VLC log:               [00007fc93d887b60] main libvlc error: interface "dbus,none" initialization failed
2020-05-06 11:07:33 [xTeVe] VLC log:               [000055580c7285c0] main interface error: no suitable interface module
2020-05-06 11:07:33 [xTeVe] VLC log:               [00007fc93d887b60] main libvlc error: interface "globalhotkeys,none" initialization failed
2020-05-06 11:07:33 [xTeVe] VLC log:               [000055580c7285c0] dummy interface: using the dummy interface module...
2020-05-06 11:07:33 [xTeVe] VLC log:               Created new TCP socket 4 for connection```
#EXTM3U
#EXTINF:0,2 - France 2 (HD)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=hd

Do you have an idea where should I focus?
Am I missing something that is not coming out of the Docker image and needs to be installed on the Synology itself?

I am also adding some debug logs from ffmpeg.
xTeve_ffmpeg_logs.log (5.3 KB)

Thanks a lot

As of Feb 2018, Plex is not compatible with RTSP streams.
Though that may have changed since then, I doubt it.

Some providers give different formats.
You probably need to focus on finding a different stream method.

Yeeeesss! I was able to fix my issue by defining a specific port and with --rtp-client-port=32100 option to vlc buffer.
Maybe related to the Host of Bridge mode of the docker container