Jump to content

Problems with Live TV Since the update.


Bearloverpr

Recommended Posts

Bearloverpr

It used to be working fine, but since the latest update to 4.7.1.0 I'm getting "No compatible streams are currently available. Please try again later or contact your system administrator for details." on all channels. I deleted my m3u list and guide and started to set it up again, but still getting the same. Any Ideas?

 

embyserver.txt

Link to comment
Share on other sites

Hi, it looks like your m3u urls are sending back 401 unauthorized responses.

Link to comment
Share on other sites

utiac

I find also that Emby is giving a the same error message as @Bearloverpr reported for live tv, both before and after the upgrade to 4.7.1. I'm running on debian bullseye and here is a sample of the error which I do not know how to diagnose:

2022-05-31 08:12:53.417 Error Server: Error processing request
  *** Error Report ***
  Version: 4.7.1.0
  Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
  Operating system: Linux version 5.10.0-14-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1
  Framework: .NET 6.0.2
  OS/Process: x64/x64
  Runtime: opt/emby-server/system/System.Private.CoreLib.dll
  Processor count: 4
  Data path: /var/lib/emby
  Application path: /opt/emby-server/system
  MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: NotFound
     at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(BaseItem dbChannel, String providerChannelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
     at Emby.LiveTV.LiveTvManager.GetChannelStream(String id, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken)
     at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal2(LiveStreamRequest request, CancellationToken cancellationToken)
     at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal2(LiveStreamRequest request, CancellationToken cancellationToken)
     at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken)
     at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStream(LiveStreamRequest request, CancellationToken cancellationToken)
     at Emby.Server.MediaEncoding.Api.MediaInfoService.OpenMediaSource(OpenMediaSource request, CancellationToken cancellationToken)
     at Emby.Server.MediaEncoding.Api.MediaInfoService.GetPlaybackInfo(GetPostedPlaybackInfo request, CancellationToken cancellationToken)
     at Emby.Server.MediaEncoding.Api.MediaInfoService.Post(GetPostedPlaybackInfo request)
     at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
     at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
     at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
  Source: Emby.Server.Implementations
  TargetSite: Void MoveNext()
 
2022-05-31 08:12:53.417 Info Server: http/1.1 Response 500 to 192.168.2.101. Time: 298ms. http://192.168.2.55:8096/emby/Items/77748/PlaybackInfo?UserId=70ad76d7fec24d7e8d919cb6e1955fa8&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=5a5c4c3c-e036-4f0e-9740-14083ee308d2&X-Emby-Client-Version=4.7.1.0&reqformat=json

I tried a reboot, which has not resolved the error. It is true that my TV provider had an outage for several hours yesterday but the streams play without problem using VLC for example.

 

Link to comment
Share on other sites

16 minutes ago, utiac said:

It is true that my TV provider had an outage for several hours yesterday

Hi.  Try running a guide data refresh.

Link to comment
Share on other sites

29 minutes ago, utiac said:

anyhow guide data has been refreshed

Please post the server log from when that was done.

Thanks.

Link to comment
Share on other sites

utiac

Hmm - here is a sample:

2022-05-31 08:08:50.102 Info HttpClient: GET https://‌‍‍data.tmsapi.com‌/v1.1/stations/72638/airings?lineupId=CAN-0001994-X&imageAspectTV=2x3&imageText=true&imageSize=Lg&startDateTime=2022-05-31T00:00Z&endDateTime=2022-06-04T00:00Z
2022-05-31 08:08:50.896 Info SqliteItemRepository: Removing 22 old programs from channel 77709 CA HD: Discovery Channel
2022-05-31 08:08:50.936 Info HttpClient: GET https://‌‍‍data.tmsapi.com‌/v1.1/stations/75971/airings?lineupId=CAN-0001994-X&imageAspectTV=2x3&imageText=true&imageSize=Lg&startDateTime=2022-05-31T00:00Z&endDateTime=2022-06-04T00:00Z
2022-05-31 08:08:51.301 Info SqliteItemRepository: Removing 16 old programs from channel 77710 CANADA: CBC NEWS
2022-05-31 08:08:51.311 Info HttpClient: GET https://‌‍‍data.tmsapi.com‌/v1.1/stations/44792/airings?lineupId=CAN-0001994-X&imageAspectTV=2x3&imageText=true&imageSize=Lg&startDateTime=2022-05-31T00:00Z&endDateTime=2022-06-04T00:00Z
2022-05-31 08:08:51.842 Info SqliteItemRepository: Removing 28 old programs from channel 77711 CANADA : Global Toronto
2022-05-31 08:08:51.903 Info HttpClient: GET https://‌‍‍data.tmsapi.com‌/v1.1/stations/89542/airings?lineupId=CAN-0001994-X&imageAspectTV=2x3&imageText=true&imageSize=Lg&startDateTime=2022-05-31T00:00Z&endDateTime=2022-06-04T00:00Z
2022-05-31 08:08:52.453 Info SqliteItemRepository: Removing 62 old programs from channel 395931 CANADA HD : BBC Canada
2022-05-31 08:08:52.466 Info HttpClient: GET https://‌‍‍data.tmsapi.com‌/v1.1/stations/76921/airings?lineupId=CAN-0001994-X&imageAspectTV=2x3&imageText=true&imageSize=Lg&startDateTime=2022-05-31T00:00Z&endDateTime=2022-06-04T00:00Z
2022-05-31 08:08:52.921 Info SqliteItemRepository: Removing 37 old programs from channel 77716 CANADA HD : CTV News
2022-05-31 08:08:52.964 Info HttpClient: GET https://‌‍‍data.tmsapi.com‌/v1.1/stations/61568/airings?lineupId=CAN-0001994-X&imageAspectTV=2x3&imageText=true&imageSize=Lg&startDateTime=2022-05-31T00:00Z&endDateTime=2022-06-04T00:00Z

Hardly necessary to post the whole log I think.

 

Link to comment
Share on other sites

Bearloverpr
12 hours ago, Luke said:

Hi, it looks like your m3u urls are sending back 401 unauthorized responses.

I just checked, I have a VPN for other applications on the computer. but the Emby is on the exclude list. It seams that the network VPN does not see the IPTV plugin like part of the Emby. It see it like a separate application, checking services and other apps to see if I can exclude the plugin.

Link to comment
Share on other sites

utiac

I've just found some http response 404 in the log which need to be sorted out. Is it possible that Cloudfare could be blocking based on httpclient? Example with url obfuscated:

2022-05-31 12:23:46.493 Info HttpClient: Http response 404 from http://‌‍‍real-url-removed-to-protect-credentials/‌‍‍‍‍1397.ts‌ after 506ms. HeadersDate=Tue, 31 May 2022 15:23:46 GMT, Transfer-Encoding=chunked, Connection=keep-alive, CF-Cache-Status=DYNAMIC, Report-To={"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=TZpc%2F3yvxcPBkmdKsysoCb6598RSTFlx09m8CKKrOuSc5W3WFWviiDPykhZ0I1jSzpWeDQ%2B4siMjANsR316nB92B82W7PFjpHC4TZimLdOAMd6Y1x675DDgH%2FvjHxIpL67yG0Q%3D%3D"}],"group":"cf-nel","max_age":604800}, NEL={"success_fraction":0,"report_to":"cf-nel","max_age":604800}, Server=cloudflare, CF-RAY=7140b66cee0f3800-IAD, Alt-Svc=h3=":443" h3-29=":443"

That (unobfuscated) url plays fine using VLC from my laptop, but both it and emby-server are on the same network behind my router

Edited by utiac
Additional information
Link to comment
Share on other sites

utiac

It appears my provider has changed a bunch of channel names after their outage. I may have to rebuid my channel list. I will contiue to monitor here for any updates, but have to go now.

 

Link to comment
Share on other sites

utiac

There were entries in my previous list that couldn't play because they no longer existed after my service provider had an outage and updated their channel list. Not knowing the logic Emby uses, I'm having a hard time understanding why Emby refused to play *any* channel from the old list. There seems to have been a total playlist failure because of a few (6 or 7 out of 300 or so) that no longer existed. Only by producing a new .m3u from my provider's current list could playing of live TV be restored. I would have hoped Emby could handle a few unplayable channels because one can't know if there is a transient failure or a completely unplayable url.

A lot of time was invested in channel ordering, correctly matching channel names to guide data sources, and matching channels to the correct logos. Quite a bit of this will have to be redone. How does Emby process an .m3u? Possibly one could order channels in the .m3u before handing off to Emby if it's line by line processing, top of file to bottom. It's useful and appreciated that Emby provides guide data, but I also wish I could specify a URL for a custom xml guide that could be selected to use in addition to or instead of (both options are needed) Emby's. It could simply be another choice in per channel the dropdown list. Seems to me this used to exist but has been removed.

Link to comment
Share on other sites

Quote

I would have hoped Emby could handle a few unplayable channels because one can't know if there is a transient failure or a completely unplayable url.

Hi, Emby certainly can. You just get an error when you try to play, but it won't prevent channels with valid urls from playing.

Link to comment
Share on other sites

utiac

Live TV is fine now, but the upgrade to 4.7.1 and subsequent read of the .m3u file had only partially preserved channel order, logos, and channel to guide data matchups. It took several hours to "repair" this and it seems Emby reverts a few of my changes to incorrect matchups - still looking at this. But this morning in the admin interface, I'm seeing some what I view as errant text on screen. See attached images although they have nothing to do with Live TV playability. Does 4.7.2 address this? As you might expect I'm a little gun shy doing another update.

emby-errant-chars1.png

emby-errant-chars2.png

emby-errant-chars3.png

Link to comment
Share on other sites

utiac

It looks like this strangeness (images above) is only happening in Firefox. Out of curiosity I checked with both Chromium and Opera (Arch Linux versions) and they render as intended. So I apologize for this noise.

Link to comment
Share on other sites

Thank you for the suggestion. It turned out to be a Firefox settings issue and was resolved by going to  Settings -> Fonts -> Advanced and making sure "Allow pages to choose their own fonts" was enabled.

Link to comment
Share on other sites

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...