Jump to content

problem playing iptv m3u


grav999

Recommended Posts

Anyone help? Just hangs when play button pressed on clients (android and desktop). 4.3.1.0 version on Raspberry Pi

 

Log file:

 

 

2020-01-31 12:28:01.363 Info HttpServer: HTTP GET http://192.168.1.225:8096/emby/System/Endpoint. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
2020-01-31 12:28:01.368 Info HttpServer: HTTP Response 200 to 192.168.1.6. Time: 4ms. http://192.168.1.225:8096/emby/System/Endpoint
2020-01-31 12:28:01.386 Info HttpServer: HTTP POST http://192.168.1.225:8096/emby/Items/29235/PlaybackInfo?UserId=53f6153abad34f4c8ae5cb3d60d8d6c9&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
2020-01-31 12:28:01.396 Info App: User policy for xxx. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2020-01-31 12:28:01.397 Info LiveTvManager: Opening channel stream from Emby, external channel Id: m3u_ad6381246be90b11105a2d58572385077188ab1012e09f6d7ae7cea0fdabf03c
2020-01-31 12:28:01.397 Info LiveTV: Streaming Channel m3u_ad6381246be90b11105a2d58572385077188ab1012e09f6d7ae7cea0fdabf03c
2020-01-31 12:28:01.402 Error M3UTunerHost: Error opening tuner
*** Error Report ***
Version: 4.3.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}_armhf.deb
Operating system: Unix 4.9.35.7
64-Bit OS: False
64-Bit Process: False
User Interactive: True
Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Program data path: /var/lib/emby
Application directory: /opt/emby-server/system
MediaBrowser.Controller.LiveTv.LiveTvConflictException: MediaBrowser.Controller.LiveTv.LiveTvConflictException: M3U simultaneous stream limit has been reached.
   at Emby.LiveTV.TunerHosts.M3UTunerHost.GetChannelStream(TunerHostInfo info, ChannelInfo channelInfo, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
   at Emby.LiveTV.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
Source: Emby.LiveTV
TargetSite: Void MoveNext()
 
2020-01-31 12:28:01.436 Error HttpServer: Error processing request
*** Error Report ***
Version: 4.3.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}_armhf.deb
Operating system: Unix 4.9.35.7
64-Bit OS: False
64-Bit Process: False
User Interactive: True
Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Program data path: /var/lib/emby
Application directory: /opt/emby-server/system
MediaBrowser.Controller.LiveTv.LiveTvConflictException: MediaBrowser.Controller.LiveTv.LiveTvConflictException: Exception of type 'MediaBrowser.Controller.LiveTv.LiveTvConflictException' was thrown.
   at Emby.LiveTV.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
   at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(String channelId, String streamId, CancellationToken cancellationToken)
   at Emby.LiveTV.LiveTvManager.GetChannelStream(String id, String mediaSourceId, CancellationToken cancellationToken)
   at Emby.LiveTV.LiveTvMediaSourceProvider.OpenMediaSource(String openToken, 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)
   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.LiveTV
TargetSite: Void MoveNext()
 
2020-01-31 12:28:28.061 Error ChannelManager: Error getting channel content
*** Error Report ***
Version: 4.3.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}_armhf.deb
Operating system: Unix 4.9.35.7
64-Bit OS: False
64-Bit Process: False
User Interactive: True
Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Program data path: /var/lib/emby
Application directory: /opt/emby-server/system
System.InvalidOperationException: System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at TVHeadEnd.RecordingsChannel.GetService()
   at TVHeadEnd.RecordingsChannel.GetRecordingGroups(InternalChannelItemQuery query, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Channels.ChannelManager.GetChannelItems(IChannel channel, String externalFolderId, Nullable`1 sortField, Boolean sortDescending, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Channels.ChannelManager.GetChannelItemsInternal(Channel channel, IChannel channelProvider, InternalItemsQuery query, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Channels.ChannelManager.GetAllItems(Channel channel, IChannel channelProvider, Int64 parentId, Int32 currentRefreshLevel, Int32 maxRefreshLevel, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Channels.ChannelManager.RefreshChannel(Tuple`2 channelTuple, CancellationToken cancellationToken)
Source: System.Linq
TargetSite: TSource First[TSource](System.Collections.Generic.IEnumerable`1[TSource])
 
2020-01-31 12:33:36.817 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>501</errorCode><errorDescription>ActionFailed</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
2020-01-31 12:33:36.832 Error PortMapper: Error creating port map
*** Error Report ***
Version: 4.3.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}_armhf.deb
Operating system: Unix 4.9.35.7
64-Bit OS: False
64-Bit Process: False
User Interactive: True
Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Program data path: /var/lib/emby
Application directory: /opt/emby-server/system
MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError
   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
   at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping)
   at Emby.PortMapper.ExternalPortForwarding.CreateRules(INatDevice device)
Source: Emby.Server.Implementations
TargetSite: Void MoveNext()
 
2020-01-31 12:43:28.076 Error ChannelManager: Error getting channel content
*** Error Report ***
Version: 4.3.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}_armhf.deb
Operating system: Unix 4.9.35.7
64-Bit OS: False
64-Bit Process: False
User Interactive: True
Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Program data path: /var/lib/emby
Application directory: /opt/emby-server/system
System.InvalidOperationException: System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at TVHeadEnd.RecordingsChannel.GetService()
   at TVHeadEnd.RecordingsChannel.GetRecordingGroups(InternalChannelItemQuery query, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Channels.ChannelManager.GetChannelItems(IChannel channel, String externalFolderId, Nullable`1 sortField, Boolean sortDescending, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Channels.ChannelManager.GetChannelItemsInternal(Channel channel, IChannel channelProvider, InternalItemsQuery query, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Channels.ChannelManager.GetAllItems(Channel channel, IChannel channelProvider, Int64 parentId, Int32 currentRefreshLevel, Int32 maxRefreshLevel, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Channels.ChannelManager.RefreshChannel(Tuple`2 channelTuple, CancellationToken cancellationToken)
Source: System.Linq
TargetSite: TSource First[TSource](System.Collections.Generic.IEnumerable`1[TSource])
 
2020-01-31 12:43:36.809 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>501</errorCode><errorDescription>ActionFailed</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
2020-01-31 12:43:36.824 Error PortMapper: Error creating port map
*** Error Report ***
Version: 4.3.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}_armhf.deb
Operating system: Unix 4.9.35.7
64-Bit OS: False
64-Bit Process: False
User Interactive: True
Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Program data path: /var/lib/emby
Application directory: /opt/emby-server/system
MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError
   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
   at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping)
   at Emby.PortMapper.ExternalPortForwarding.CreateRules(INatDevice device)
Source: Emby.Server.Implementations
TargetSite: Void MoveNext()
 
 
Link to comment
Share on other sites

Hi.  You set a stream limit and it is already being used.  If you don't think this should be the case, try rebooting your server.

Link to comment
Share on other sites

  • 4 weeks later...
revengineer

I encountered same issue yesterday after a lot of channel switching. Emby lost track of the number of open streams. I have set a limit of 1 stream and got the error even though no streams were actually playing.

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