Jump to content

Tvheadend does not play Tv Streams on my unraid installation


mireki1975

Recommended Posts

mireki1975

my emby and tvheadend installation runs under unRaid.

now i managed to add my m3u to emby. when i want to play a channel it says „no compatible streams found“

i read some stuff with ffmpeg but i now sure how it works in a Docker Container.

Containers are all up to date and transcoding is working fine with my own videos.

PVR has worked a year ago with the same Hardware.

log below

Spoiler

2023-07-29 12:11:32.016 Info App: User policy for admin. EnablePlaybackRemuxing: False EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2023-07-29 12:11:32.090 Info LiveTvManager: Opening channel stream, external channel Id: a127cbf9dfda41e5afed1139a6b6ccb4_1029274355
2023-07-29 12:11:32.092 Info LiveTV: Streaming Channel a127cbf9dfda41e5afed1139a6b6ccb4_1029274355, with streamId: tvh_1029274355
2023-07-29 12:11:32.106 Info SharedHttpPipelineSource: Opening SharedHttpPipelineSource Live stream from http://localhost:9981/x_path1_x/x_path2_x/x_path3_x?ticket=13e300a04832c7c19e1c3dc3d89ccb9e04ba9123
2023-07-29 12:11:32.107 Info HttpClient: GET http://localhost:9981/x_path1_x/x_path2_x/x_path3_x?ticket=13e300a04832c7c19e1c3dc3d89ccb9e04ba9123
2023-07-29 12:11:37.115 Info HttpClient: Http response 401 from http://localhost:9981/x_path1_x/x_path2_x/x_path3_x?ticket=13e300a04832c7c19e1c3dc3d89ccb9e04ba9123 after 5008ms. HeadersServer=HTS/tvheadend, Cache-Control=no-cache, WWW-Authenticate=Digest realm="tvheadend", qop=auth, nonce="LY13AV4wew67vdcItpRKvB/rBaxV8xVTcV5kZfElZ7g=", opaque="3tCuyNO20O9lZdKUe/PRgTr/np4n5EMmIWTagW4RhDo=", Connection=close
2023-07-29 12:11:37.120 Error LiveTV: Error in GetChannelStreamWithDirectStreamProvider
    *** Error Report ***
    Version: 4.7.13.0
    Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
    Operating system: Linux version 6.1.38-Unraid (root@Develop-612) (gcc (GCC) 12.2.0, GNU ld version 2.40-slack151) #2 SMP PREEMPT_DYNAMIC Mon Jul 10 09:50:25 PDT 2023
    Framework: .NET 6.0.14
    OS/Process: x64/x64
    Runtime: system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: /config
    Application path: /system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
       at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource.OpenStream(IDisposable connectionContext, MediaSourceInfo mediaSource, String url, MediaProtocol protocol, CancellationToken cancellationToken, Int32 recursion)
       at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource.Open(CancellationToken openCancellationToken)
       at MediaBrowser.Controller.LiveTv.BaseTunerHost.GetChannelStream(TunerHostInfo tuner, BaseItem dbChannnel, String tunerChannelId, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken)
       at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(BaseItem dbChannel, String providerChannelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
    Source: Emby.Server.Implementations
    TargetSite: Void MoveNext()
    
2023-07-29 12:11:37.121 Error MediaSourceManager: Error opening live stream
    *** Error Report ***
    Version: 4.7.13.0
    Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
    Operating system: Linux version 6.1.38-Unraid (root@Develop-612) (gcc (GCC) 12.2.0, GNU ld version 2.40-slack151) #2 SMP PREEMPT_DYNAMIC Mon Jul 10 09:50:25 PDT 2023
    Framework: .NET 6.0.14
    OS/Process: x64/x64
    Runtime: system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: /config
    Application path: /system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized
       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)
    Source: Emby.Server.Implementations
    TargetSite: Void MoveNext()
    
2023-07-29 12:11:37.125 Error Server: Error processing request
    *** Error Report ***
    Version: 4.7.13.0
    Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
    Operating system: Linux version 6.1.38-Unraid (root@Develop-612) (gcc (GCC) 12.2.0, GNU ld version 2.40-slack151) #2 SMP PREEMPT_DYNAMIC Mon Jul 10 09:50:25 PDT 2023
    Framework: .NET 6.0.14
    OS/Process: x64/x64
    Runtime: system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: /config
    Application path: /system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized
       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 httpHost, IServerApplicationHost 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()
    
2023-07-29 12:11:37.127 Info Server: http/1.1 Response 500 to host1. Time: 10463ms. http://192.168.178.3:8096/emby/Items/1726633/PlaybackInfo?UserId=870a1716b1044e8c9188fbf1a8117c63&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Safari macOS&X-Emby-Device-Id=cd05b347-adf7-4714-9116-db132de10399&X-Emby-Client-Version=4.7.13.0&X-Emby-Language=de&reqformat=json

 

Link to comment
Share on other sites

mireki1975

i really dont know why but its working now

i tried to get the full log etc and it works

PVR is always strange in emby :.) 

  • Thanks 1
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...