Jump to content

Repeated Premature Termination of IPTV Recordings


Recommended Posts

Posted

I am experiencing repeated premature terminations of scheduled IPTV recordings on my Synology 1522+ using Emby. Here are some examples where the recordings did not complete as planned:

  • TV total 2024_04_24_20_15_00 - Show, Comedyshow: Terminated after just 4 minutes.
  • Achtung Abzocke - Betrügern auf der Spur 2024_04_25_20_15_00 - Information, Documentary Series: Terminated after 41 minutes.
  • The Voice Kids 2024_04_26_20_15_00 - S12E6, Children, Talent Show: Terminated after 7 minutes.

This issue is not isolated but occurs consistently, which is quite frustrating. I've noticed that my IPTV connection sometimes becomes unstable. Could it be that Emby automatically stops recording when there are connection issues, instead of continuing until the scheduled end time? If so, I would appreciate a feature that allows recordings to complete regardless of connection stability. Please let me know if such a solution is possible. I have attached the embyserver.txt log file. Should you need more information, please feel free to contact me.

embyserver.zip

  • Agree 2
tomadick
Posted

Hello, has anyone had time to look into the problem yet?

Posted
On 4/27/2024 at 8:20 AM, tomadick said:

I've noticed that my IPTV connection sometimes becomes unstable.

Hi.  That is very likely the problem.

We already attempt to re-start on failures but with IPTV this may or may not always be possible.

tomadick
Posted

Can it be that Emby stops recording when the connection to the stream is briefly interrupted, contrary to the information in the EPG?

Posted
On 5/2/2024 at 2:35 PM, tomadick said:

Can it be that Emby stops recording when the connection to the stream is briefly interrupted, contrary to the information in the EPG?

HI do retry a few times before just failing it altogether. We are looking into this. Thanks.

  • Agree 1
  • 3 weeks later...
tomadick
Posted

Hi there, the problem is most certainly an automatic stop of the recording by Emby if the signal of the program was interrupted (too long...). Perhaps this could be changed so that the recording actually lasts as long as you want or have specified?

  • Agree 1
Posted

After further investigation on my end, I believe that is the case as well with the signal dropping out and Emby stopping the recording. It seems to be one of those unfortunate things with IPTV that a lot of channels do freeze because it's not very stable (You get what you pay for) or stop for whatever reason and Emby just cuts off the recording. I set up NextPVR and that does continue to record so I guess it's a feature they have or something, not sure if this can be done with Emby but in the meantime, at least I appear to have a solution, plus there is a plug-in that you can use to import data from NextPVR into Emby. The only thing with that is it does not import the guide for whatever reason but to get around that, I just use XMLTV for the guide and that seems to work, so basically, I use NextPVR to just record what I need to, those recordings then show up in Emby and I watch Live TV in Emby as well as my DVR Recordings.

  • Agree 1
  • 2 weeks later...
Posted

Is there now an idea on how to get Emby to ensure that a recording does not stop when the signal is lost but only when the show ends normally?

 

  • Agree 1
  • 3 weeks later...
Posted
On 6/15/2024 at 5:14 AM, tomadick said:

Is there now an idea on how to get Emby to ensure that a recording does not stop when the signal is lost but only when the show ends normally?

 

Hi, we are looking into this issue. Thanks.

  • Like 1
  • 1 month later...
Posted

I have also had problems with this with my IPTV setup. More times than not it seems to happen 5 minutes into a recording. It also seems to happen when I watch live TV. 5 minutes into watching, it hangs and I have to go back to the guide and select it again and then it seems to work fine from there. Hence why the recording would stop. The IPTV setup for Live TV runs fine on other platforms (Eg. Legazy and IPTV Smarters), but there is no recording capability with those. I do run NextPVR on my Asustor NAS as a Docker Container and it records just fine, but I would like to have the Emby Server do it all. The IPTV gets to the Emby server via xTeVe running in a Docker container. I use it for Emby and NextPVR. I have a total of 4 instances I can run at a time from my IPTV service so it's not an issue with them both running at the same time. I also have a HDHomerun that I use for my local channels and those all record fine with Emby.

A bit more info: Emby Server (4.9.0.29) running on Asustor NAS. xTeVe (2.2.0) running as a Docker container on Asustor NAS.

Let me know if you need more information. Thanks.

  • Agree 1
Posted

Did you have the opportunity to take care of this problem? It's been open for a few days now. 

Posted

My bad on my previous post. I do not use xTeVe for connecting to my IPTV provider for Emby. I changed this about a month ago to setting up Emby with a M3U playlist from M3U4U.com but, still having the same issue though.

Posted
On 8/31/2024 at 10:55 AM, dpj1168 said:

My bad on my previous post. I do not use xTeVe for connecting to my IPTV provider for Emby. I changed this about a month ago to setting up Emby with a M3U playlist from M3U4U.com but, still having the same issue though.

Hi @dpj1168can we please look at an example?

Thanks !

  • 2 weeks later...
Posted (edited)
On 9/6/2024 at 9:44 AM, Luke said:

Hi @dpj1168can we please look at an example?

Thanks !

Not exactly sure what you are looking for. As stated earlier, if I set a show up to record with my IPTV, it will record about 5 minutes of the show and stop recording. I have a separate program that I set up, NextPVR, and it records fine. Another thing I noticed is when I watch live IPTV channels, they will sometimes freeze after playing about 5 minutes. Not sure if the two are related issues. I have a HDHomerun tuner also and I don't think it does it with that. I'm going to test it out again and see.

Edited by dpj1168
  • Like 1
Posted
1 hour ago, dpj1168 said:

Not exactly sure what you are looking for. As stated earlier, if I set a show up to record with my IPTV, it will record about 5 minutes of the show and stop recording.

Hi.  The logs and description from a specific example of that happening.

Thanks.

  • 2 weeks later...
Posted

How do we get logs for this problem? My original thought on the issue was the IPTV dropping out but I have tested with two other providers, and one is pretty good and stable and hardly buffers or drops out but emby still stop the recordings anywhere from a few seconds into the recording up to maybe 10 to 15 minutes after it starts. I get very few recordings to actually complete. Funny thing about that though is that I noticed if I manually set up something to record, the whole thing completes. I still doing want to point out fingers or anything though because it still can be an issue with the IPTV services because again, they are far from perfect and could skip out while I am not looking, even for a second.

 

  • Agree 1
Posted
2 hours ago, GRS1077 said:

How do we get logs for this problem? My original thought on the issue was the IPTV dropping out but I have tested with two other providers, and one is pretty good and stable and hardly buffers or drops out but emby still stop the recordings anywhere from a few seconds into the recording up to maybe 10 to 15 minutes after it starts. I get very few recordings to actually complete. Funny thing about that though is that I noticed if I manually set up something to record, the whole thing completes. I still doing want to point out fingers or anything though because it still can be an issue with the IPTV services because again, they are far from perfect and could skip out while I am not looking, even for a second.

 

HI, please provide the emby server log from when the problem occurred:

Thanks.

Posted

Here are my logs for recordings I attempted this morning. All stopped automatically except for one that I manually stopped, which is the one for Roseanne.

 

 

Emby Logs.zip

  • Agree 1
Posted
12 hours ago, GRS1077 said:

Here are my logs for recordings I attempted this morning. All stopped automatically except for one that I manually stopped, which is the one for Roseanne.

 

 

Emby Logs.zip 70.56 kB · 0 downloads

Do you know why your provider starts sending back 406 NotAcceptable responses?

Posted

Here is a log for a program that was scheduled to record on 9/29/24. The program was "Sister Wives" and the episode was "My Brothers Keeper". it recorded for 37 minutes and stopped.

embyserver-63863251193.txt.zip

  • Agree 1
Posted (edited)
18 hours ago, dpj1168 said:

Here is a log for a program that was scheduled to record on 9/29/24. The program was "Sister Wives" and the episode was "My Brothers Keeper". it recorded for 37 minutes and stopped.

Emby Server got an http error code 509 from the remote end at 22:37:23 

2024-09-29 22:37:23.922 Info HttpClient: Http response 509 from http://host13/x_path8_x/x_path9_x/x_path15_x/x_path13_x after 7901ms. Headers Date=Mon, 30 Sep 2024 02:37:23 GMT, Connection=close, Access-Control-Allow-Origin=*
2024-09-29 22:37:24.149 Error SharedHttpPipelineSource: Give up retries copying live stream http://host13/x_path8_x/x_path9_x/x_path15_x/x_path13_x No more retries allowed.

You can find out the exact http url by inspecting the original not anonymized log file for the log entry at that timestamp.

Error 509 is bandwidth exceeded - the remote end has failed the request

509 Bandwidth Limit Exceeded
The server has exceeded the bandwidth specified by the server administrator; this is often used by shared hosting providers to limit the bandwidth of customers

 

Edited by sa2000
  • Agree 1
Posted
13 hours ago, sa2000 said:

Emby Server got an http error code 509 from the remote end at 22:37:23 

2024-09-29 22:37:23.922 Info HttpClient: Http response 509 from http://host13/x_path8_x/x_path9_x/x_path15_x/x_path13_x after 7901ms. Headers Date=Mon, 30 Sep 2024 02:37:23 GMT, Connection=close, Access-Control-Allow-Origin=*
2024-09-29 22:37:24.149 Error SharedHttpPipelineSource: Give up retries copying live stream http://host13/x_path8_x/x_path9_x/x_path15_x/x_path13_x No more retries allowed.

You can find out the exact http url by inspecting the original not anonymized log file for the log entry at that timestamp.

Error 509 is bandwidth exceeded - the remote end has failed the request

509 Bandwidth Limit Exceeded
The server has exceeded the bandwidth specified by the server administrator; this is often used by shared hosting providers to limit the bandwidth of customers

 

So, not exactly sure what this means. Is this coming from my IPTV Provider then? They are saying I am exceeding the bandwidth? I have tried this with 2 separate IPTV Providers and int happened with both of them. It does not do it if I record shows in NextPVR. I want to use Emby as it is a far better user interface and I can use it on several platforms.

Posted
1 hour ago, dpj1168 said:

So, not exactly sure what this means. Is this coming from my IPTV Provider then? They are saying I am exceeding the bandwidth? I have tried this with 2 separate IPTV Providers and int happened with both of them. It does not do it if I record shows in NextPVR. I want to use Emby as it is a far better user interface and I can use it on several platforms.

I have noticed it really only seems to happen when I have a series scheduled to record "New Episodes". If I go in and pick a show to randomly record, it does not stop recording.

Posted
5 hours ago, dpj1168 said:

So, not exactly sure what this means. Is this coming from my IPTV Provider then? They are saying I am exceeding the bandwidth? I have tried this with 2 separate IPTV Providers and int happened with both of them. It does not do it if I record shows in NextPVR. I want to use Emby as it is a far better user interface and I can use it on several platforms.

I read that as the server provider exceeded the bandwidth they are allowed to use by the ISP. i.e they need to upgrade their plan or add additional bandwidth.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...