Jump to content

IPTV Plugin no longer working?


demhinds
Go to solution Solved by demhinds,

Recommended Posts

demhinds

I use the IPTV plugin as a tool to enable live streaming of a handful of local radio stations (I guess Emby doesn't recognize audio streams for this purpose?) but as of yesterday I have noticed that none of these streams are working anymore. I attempted to create new streams under the assumption that perhaps the original links had changed, but to no avail. The original links are the same, and IPTV will create new links based on what I input, however I get a playback error both when trying to play the stream within the IPTV plugin and when I select the channel on the guide. Anyone have any insight? Is there another workaround option? I very much enjoy having at least two these stations available on demand through my on screen guide.

Example:
Original link for my favorite local radio station stream: http://stream.xmission.com/krcl-high
The IPTV Plugin conversion link for said stream: http://localhost:8096/emby/videos/2317690/live.m3u8?DeviceId=219e8540-e64c-407f-b460-6c2431b4a464&MediaSourceId=e8b13e350cb54ff497b7241dfcff929f&PlaySessionId=68c6e6ba313b471eaf796a0ff450eaa9&api_key=d050f838cb4e410bb18a1d5b83a8944f&VideoCodec=h264&AudioCodec=mp3,aac&VideoBitrate=7936314&AudioBitrate=63687&AudioStreamIndex=0&TranscodingMaxAudioChannels=2&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=52&TranscodeReasons=ContainerNotSupported

I have found this app to be invaluable after spending far too much time trying to (unsuccessfully) figure out how to get radio stations to stream. Any advice would be greatly appreciated. I am fairly technically minded, but this stuff is just beyond my understanding.

Link to comment
Share on other sites

demhinds

Luke,
Thanks for the response. When I play any audio stream via the IPTV plugin, either through the plugin interface itself, or through using the links generated by the plugin which allow the stream to play through Emby live TV,  on either Windows OS or Roku, the stream simply will not work any longer. I have not had any similar issue since setting the IPTV streams up. My emberserver log produces the following error:

Quote

2022-01-28 00:05:57.203 Info App: User policy for ***********. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2022-01-28 00:05:57.203 Info App: RemoteClientBitrateLimit: 6000000, RemoteIp: ::1, IsInLocalNetwork: True
2022-01-28 00:05:57.203 Info App: RemoteClientBitrateLimit: 6000000, RemoteIp: ::1, IsInLocalNetwork: True
2022-01-28 00:05:57.268 Error Server: Error processing request
    *** Error Report ***
    Version: 4.7.0.21
    Command line: **********/EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.19042
    Framework: .NET 6.0.0-rtm.21522.10
    OS/Process: x64/x64
    Runtime: **********/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 12
    Data path: **********\Emby-Server\programdata
    Application path: **********g\Emby-Server\system
    System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
       at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.FindVideoEncoder(EncodingJobInfo state, CodecParameterContext parameterContext)
       at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.HlsGetCommandLineArguments(String outputPath, StreamState state, Int32 startNumber, Boolean isForTv, String segmentFileExtension)
       at Emby.Server.MediaEncoding.Api.Hls.VideoHlsService.GetCommandLineArguments(String outputPath, StreamState state)
       at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationToken cancellationToken, Boolean acquireResources)
       at Emby.Server.MediaEncoding.Api.Hls.BaseHlsService.ProcessRequest(StreamRequest 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.MediaEncoding
    TargetSite: Emby.Server.MediaEncoding.Codecs.Common.Types.ConfiguredVideoEncoder FindVideoEncoder(Emby.Server.MediaEncoding.Encoder.EncodingJobInfo, MediaBrowser.Controller.MediaEncoding.CodecParameterContext)
    
2022-01-28 00:05:57.299 Info SessionManager: Playback stopped reported by app Emby Web 4.7.0.21 playing KRCL. Stopped at 0 ms
2022-01-28 00:05:57.299 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered
2022-01-28 00:05:57.299 Info PlaybackReporting - EventMonitorEntryPoint: Saving final duration for Item : 29039d52-6a37-4b62-8086-5cfea9abd516-4f713eefe5ff4f92802f8627a67dce4e-2317821
2022-01-28 00:05:57.300 Info PlaybackReporting - EventMonitorEntryPoint: Removing Old Key from playback_trackers : 29039d52-6a37-4b62-8086-5cfea9abd516-4f713eefe5ff4f92802f8627a67dce4e-2317821

I am not having the same issue with video streaming links generated through the IPTV plugin, however, for example my International Space Station stream is working fine, whereas audio streams cannot play back.

Thanks again!

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