Live TV M3U not working with PS3 DLNA Media Server #407

Closed
opened 2026-02-06 19:40:19 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @dacoast on GitHub (Feb 11, 2019).

Unable to use the DLNA media server to stream .m3u iptv to PS3.
I have been able to connect to the Media server. I am also able to stream regular files on the server to the PS3. The M3U are fine and I can stream them normally when not using DLNA.
I have also been able to use Plex with PS3 to stream M3U playlist with out issues.

looking at the logs I can see two exceptions:

1.[2019-02-11 17:05:04.891 +11:00] [ERR] Error getting media sources
2.System.ArgumentNullException: Value cannot be null.

Logs

[2019-02-11 17:04:49.915 +11:00] [INF] HTTP Response 204 to "127.0.0.1". Time: "35""ms". "http://localhost:8096/emby/System/Configuration/dlna" ""
[2019-02-11 17:05:04.888 +11:00] [INF] HTTP "GET" "http://10.0.0.1:8096/videos/6bf574b3-6279-f5fb-3ce8-e4930757fa7d/stream.ts?DeviceProfileId=dacdb34e1fe4870bbd22d04e93160a7a&DeviceId=test&MediaSourceId=6bf574b36279f5fb3ce8e4930757fa7d&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=15360000&AudioBitrate=192000&MaxFramerate=30&MaxWidth=1920&MaxHeight=1080&RequireAvc=false&h264-level=41&ac3-audiochannels=6&TranscodeReasons=ContainerNotSupported&dlnaheaders=true". "Host=10.0.0.1:8096, User-Agent=PLAYSTATION 3, Connection=Keep-Alive, Accept-Encoding=identity, transferMode.dlna.org=Streaming, X-AV-Client-Info=av=5.0; cn=\"Sony Computer Entertainment\"; mn=\"PLAYSTATION 3\"; mv=\"1.0\";"
[2019-02-11 17:05:04.891 +11:00] [ERR] Error getting media sources
System.NullReferenceException: Object reference not set to an instance of an object.
   at Emby.Server.Implementations.LiveTv.LiveTvManager.GetChannelMediaSources(BaseItem item, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/LiveTv/LiveTvManager.cs:line 290
   at Emby.Server.Implementations.LiveTv.LiveTvMediaSourceProvider.GetMediaSourcesInternal(BaseItem item, ActiveRecordingInfo activeRecordingInfo, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs:line 76
   at Emby.Server.Implementations.Library.MediaSourceManager.GetDynamicMediaSources(BaseItem item, IMediaSourceProvider provider, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/Library/MediaSourceManager.cs:line 255
[2019-02-11 17:05:04.920 +11:00] [ERR] Error processing request
System.ArgumentNullException: Value cannot be null.
Parameter name: mediaSource
   at MediaBrowser.Controller.MediaEncoding.EncodingHelper.AttachMediaSourceInfo(EncodingJobInfo state, MediaSourceInfo mediaSource, String requestedUrl) in /jellyfin-10.1/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs:line 1984
   at MediaBrowser.Api.Playback.BaseStreamingService.GetState(StreamRequest request, CancellationToken cancellationToken) in /jellyfin-10.1/MediaBrowser.Api/Playback/BaseStreamingService.cs:line 785
   at MediaBrowser.Api.Playback.Progressive.BaseProgressiveStreamingService.ProcessRequest(StreamRequest request, Boolean isHeadRequest) in /jellyfin-10.1/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs:line 117
   at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task) in /jellyfin-10.1/Emby.Server.Implementations/Services/ServiceExec.cs:line 112
   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/Services/ServiceHandler.cs:line 95
   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs:line 608
[2019-02-11 17:05:04.922 +11:00] [INF] HTTP Response 400 to "10.0.0.9". Time: "33""ms". "http://10.0.0.1:8096/videos/6bf574b3-6279-f5fb-3ce8-e4930757fa7d/stream.ts?DeviceProfileId=dacdb34e1fe4870bbd22d04e93160a7a&DeviceId=test&MediaSourceId=6bf574b36279f5fb3ce8e4930757fa7d&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=15360000&AudioBitrate=192000&MaxFramerate=30&MaxWidth=1920&MaxHeight=1080&RequireAvc=false&h264-level=41&ac3-audiochannels=6&TranscodeReasons=ContainerNotSupported&dlnaheaders=true" ""
[2019-02-11 17:05:10.928 +11:00] [INF] HTTP "GET" "http://10.0.0.1:8096/videos/75260ffc-462b-a2ac-f347-22379575d4ec/stream.ts?DeviceProfileId=dacdb34e1fe4870bbd22d04e93160a7a&DeviceId=test&MediaSourceId=75260ffc462ba2acf34722379575d4ec&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=15360000&AudioBitrate=192000&MaxFramerate=30&MaxWidth=1920&MaxHeight=1080&RequireAvc=false&h264-level=41&ac3-audiochannels=6&TranscodeReasons=ContainerNotSupported&dlnaheaders=true". "Host=10.0.0.1:8096, User-Agent=PLAYSTATION 3, Connection=Keep-Alive, Accept-Encoding=identity, transferMode.dlna.org=Streaming, X-AV-Client-Info=av=5.0; cn=\"Sony Computer Entertainment\"; mn=\"PLAYSTATION 3\"; mv=\"1.0\";"
[2019-02-11 17:05:10.929 +11:00] [ERR] Error getting media sources
System.NullReferenceException: Object reference not set to an instance of an object.
   at Emby.Server.Implementations.LiveTv.LiveTvManager.GetChannelMediaSources(BaseItem item, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/LiveTv/LiveTvManager.cs:line 290
   at Emby.Server.Implementations.LiveTv.LiveTvMediaSourceProvider.GetMediaSourcesInternal(BaseItem item, ActiveRecordingInfo activeRecordingInfo, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs:line 76
   at Emby.Server.Implementations.Library.MediaSourceManager.GetDynamicMediaSources(BaseItem item, IMediaSourceProvider provider, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/Library/MediaSourceManager.cs:line 255
[2019-02-11 17:05:10.932 +11:00] [ERR] Error processing request
System.ArgumentNullException: Value cannot be null.
Parameter name: mediaSource
   at MediaBrowser.Controller.MediaEncoding.EncodingHelper.AttachMediaSourceInfo(EncodingJobInfo state, MediaSourceInfo mediaSource, String requestedUrl) in /jellyfin-10.1/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs:line 1984
   at MediaBrowser.Api.Playback.BaseStreamingService.GetState(StreamRequest request, CancellationToken cancellationToken) in /jellyfin-10.1/MediaBrowser.Api/Playback/BaseStreamingService.cs:line 785
   at MediaBrowser.Api.Playback.Progressive.BaseProgressiveStreamingService.ProcessRequest(StreamRequest request, Boolean isHeadRequest) in /jellyfin-10.1/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs:line 117
   at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task) in /jellyfin-10.1/Emby.Server.Implementations/Services/ServiceExec.cs:line 112
   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/Services/ServiceHandler.cs:line 95
   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs:line 608
[2019-02-11 17:05:10.935 +11:00] [INF] HTTP Response 400 to "10.0.0.9". Time: "7""ms". "http://10.0.0.1:8096/videos/75260ffc-462b-a2ac-f347-22379575d4ec/stream.ts?DeviceProfileId=dacdb34e1fe4870bbd22d04e93160a7a&DeviceId=test&MediaSourceId=75260ffc462ba2acf34722379575d4ec&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=15360000&AudioBitrate=192000&MaxFramerate=30&MaxWidth=1920&MaxHeight=1080&RequireAvc=false&h264-level=41&ac3-audiochannels=6&TranscodeReasons=ContainerNotSupported&dlnaheaders=true" ""
[2019-02-11 17:05:21.885 +11:00] [INF] "HTTP GET" "http://localhost:8096/emby/Users/3d76f0fb397e4be299b21710552d24ac". UserAgent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0"
  • OS: Ubuntu 18.10
  • Jellyfin Version: 10.1.0

Note by @JustAMan: I've fixed log formatting

Originally created by @dacoast on GitHub (Feb 11, 2019). Unable to use the DLNA media server to stream .m3u iptv to PS3. I have been able to connect to the Media server. I am also able to stream regular files on the server to the PS3. The M3U are fine and I can stream them normally when not using DLNA. I have also been able to use Plex with PS3 to stream M3U playlist with out issues. looking at the logs I can see two exceptions: 1.[2019-02-11 17:05:04.891 +11:00] [ERR] Error getting media sources 2.System.ArgumentNullException: Value cannot be null. **Logs** ``` [2019-02-11 17:04:49.915 +11:00] [INF] HTTP Response 204 to "127.0.0.1". Time: "35""ms". "http://localhost:8096/emby/System/Configuration/dlna" "" [2019-02-11 17:05:04.888 +11:00] [INF] HTTP "GET" "http://10.0.0.1:8096/videos/6bf574b3-6279-f5fb-3ce8-e4930757fa7d/stream.ts?DeviceProfileId=dacdb34e1fe4870bbd22d04e93160a7a&DeviceId=test&MediaSourceId=6bf574b36279f5fb3ce8e4930757fa7d&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=15360000&AudioBitrate=192000&MaxFramerate=30&MaxWidth=1920&MaxHeight=1080&RequireAvc=false&h264-level=41&ac3-audiochannels=6&TranscodeReasons=ContainerNotSupported&dlnaheaders=true". "Host=10.0.0.1:8096, User-Agent=PLAYSTATION 3, Connection=Keep-Alive, Accept-Encoding=identity, transferMode.dlna.org=Streaming, X-AV-Client-Info=av=5.0; cn=\"Sony Computer Entertainment\"; mn=\"PLAYSTATION 3\"; mv=\"1.0\";" [2019-02-11 17:05:04.891 +11:00] [ERR] Error getting media sources System.NullReferenceException: Object reference not set to an instance of an object. at Emby.Server.Implementations.LiveTv.LiveTvManager.GetChannelMediaSources(BaseItem item, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/LiveTv/LiveTvManager.cs:line 290 at Emby.Server.Implementations.LiveTv.LiveTvMediaSourceProvider.GetMediaSourcesInternal(BaseItem item, ActiveRecordingInfo activeRecordingInfo, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs:line 76 at Emby.Server.Implementations.Library.MediaSourceManager.GetDynamicMediaSources(BaseItem item, IMediaSourceProvider provider, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/Library/MediaSourceManager.cs:line 255 [2019-02-11 17:05:04.920 +11:00] [ERR] Error processing request System.ArgumentNullException: Value cannot be null. Parameter name: mediaSource at MediaBrowser.Controller.MediaEncoding.EncodingHelper.AttachMediaSourceInfo(EncodingJobInfo state, MediaSourceInfo mediaSource, String requestedUrl) in /jellyfin-10.1/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs:line 1984 at MediaBrowser.Api.Playback.BaseStreamingService.GetState(StreamRequest request, CancellationToken cancellationToken) in /jellyfin-10.1/MediaBrowser.Api/Playback/BaseStreamingService.cs:line 785 at MediaBrowser.Api.Playback.Progressive.BaseProgressiveStreamingService.ProcessRequest(StreamRequest request, Boolean isHeadRequest) in /jellyfin-10.1/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs:line 117 at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task) in /jellyfin-10.1/Emby.Server.Implementations/Services/ServiceExec.cs:line 112 at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/Services/ServiceHandler.cs:line 95 at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs:line 608 [2019-02-11 17:05:04.922 +11:00] [INF] HTTP Response 400 to "10.0.0.9". Time: "33""ms". "http://10.0.0.1:8096/videos/6bf574b3-6279-f5fb-3ce8-e4930757fa7d/stream.ts?DeviceProfileId=dacdb34e1fe4870bbd22d04e93160a7a&DeviceId=test&MediaSourceId=6bf574b36279f5fb3ce8e4930757fa7d&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=15360000&AudioBitrate=192000&MaxFramerate=30&MaxWidth=1920&MaxHeight=1080&RequireAvc=false&h264-level=41&ac3-audiochannels=6&TranscodeReasons=ContainerNotSupported&dlnaheaders=true" "" [2019-02-11 17:05:10.928 +11:00] [INF] HTTP "GET" "http://10.0.0.1:8096/videos/75260ffc-462b-a2ac-f347-22379575d4ec/stream.ts?DeviceProfileId=dacdb34e1fe4870bbd22d04e93160a7a&DeviceId=test&MediaSourceId=75260ffc462ba2acf34722379575d4ec&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=15360000&AudioBitrate=192000&MaxFramerate=30&MaxWidth=1920&MaxHeight=1080&RequireAvc=false&h264-level=41&ac3-audiochannels=6&TranscodeReasons=ContainerNotSupported&dlnaheaders=true". "Host=10.0.0.1:8096, User-Agent=PLAYSTATION 3, Connection=Keep-Alive, Accept-Encoding=identity, transferMode.dlna.org=Streaming, X-AV-Client-Info=av=5.0; cn=\"Sony Computer Entertainment\"; mn=\"PLAYSTATION 3\"; mv=\"1.0\";" [2019-02-11 17:05:10.929 +11:00] [ERR] Error getting media sources System.NullReferenceException: Object reference not set to an instance of an object. at Emby.Server.Implementations.LiveTv.LiveTvManager.GetChannelMediaSources(BaseItem item, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/LiveTv/LiveTvManager.cs:line 290 at Emby.Server.Implementations.LiveTv.LiveTvMediaSourceProvider.GetMediaSourcesInternal(BaseItem item, ActiveRecordingInfo activeRecordingInfo, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs:line 76 at Emby.Server.Implementations.Library.MediaSourceManager.GetDynamicMediaSources(BaseItem item, IMediaSourceProvider provider, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/Library/MediaSourceManager.cs:line 255 [2019-02-11 17:05:10.932 +11:00] [ERR] Error processing request System.ArgumentNullException: Value cannot be null. Parameter name: mediaSource at MediaBrowser.Controller.MediaEncoding.EncodingHelper.AttachMediaSourceInfo(EncodingJobInfo state, MediaSourceInfo mediaSource, String requestedUrl) in /jellyfin-10.1/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs:line 1984 at MediaBrowser.Api.Playback.BaseStreamingService.GetState(StreamRequest request, CancellationToken cancellationToken) in /jellyfin-10.1/MediaBrowser.Api/Playback/BaseStreamingService.cs:line 785 at MediaBrowser.Api.Playback.Progressive.BaseProgressiveStreamingService.ProcessRequest(StreamRequest request, Boolean isHeadRequest) in /jellyfin-10.1/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs:line 117 at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task) in /jellyfin-10.1/Emby.Server.Implementations/Services/ServiceExec.cs:line 112 at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/Services/ServiceHandler.cs:line 95 at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) in /jellyfin-10.1/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs:line 608 [2019-02-11 17:05:10.935 +11:00] [INF] HTTP Response 400 to "10.0.0.9". Time: "7""ms". "http://10.0.0.1:8096/videos/75260ffc-462b-a2ac-f347-22379575d4ec/stream.ts?DeviceProfileId=dacdb34e1fe4870bbd22d04e93160a7a&DeviceId=test&MediaSourceId=75260ffc462ba2acf34722379575d4ec&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=15360000&AudioBitrate=192000&MaxFramerate=30&MaxWidth=1920&MaxHeight=1080&RequireAvc=false&h264-level=41&ac3-audiochannels=6&TranscodeReasons=ContainerNotSupported&dlnaheaders=true" "" [2019-02-11 17:05:21.885 +11:00] [INF] "HTTP GET" "http://localhost:8096/emby/Users/3d76f0fb397e4be299b21710552d24ac". UserAgent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0" ``` - OS: Ubuntu 18.10 - Jellyfin Version: 10.1.0 **Note by @JustAMan**: I've fixed log formatting
OVERLORD added the bugstale labels 2026-02-06 19:40:19 +03:00
Author
Owner

@stale[bot] commented on GitHub (Jul 30, 2019):

Issues go stale after 60d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 7d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.

@stale[bot] commented on GitHub (Jul 30, 2019): Issues go stale after 60d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 7d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on [Matrix or Social Media](https://jellyfin.readthedocs.io/en/latest/getting-help/).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#407