Jump to content

Emby will mark media as play if there is a problem retrieving the media


Go to solution Solved by Luke,

Recommended Posts

Posted (edited)

Hello,

 

I want to report an issue. As the tittle states, if there is a problem retrieving the media, Emby will mark the episode/movie as played. Emby version 4.4.0.30-beta

 

Here is an example:

  1. An episode of a show as added and Emby process the file.
  2. The file was renamed or removed, Emby was not notified or has not yet process the notification about the file.
  3. Emby tries to grab the file to play it, is not able to find the file.
  4. The client fails with the too many errors message.
  5. The episode is removed from Emby, since is not longer there.
  6. The episode/movie is marked as played.

I think the issue is with the media being marked as played. It would be great if Emby was smart enough to rescan the season or movie directory to make sure is not there or to update with the new copy but that might be asking too much :) .

 

Here are some logs:

2020-03-22 19:23:27.831 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\Users\User\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"tv/show/file/path" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2020-03-22 19:23:27.865 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 1
2020-03-22 19:23:27.866 Error App: Error in ffprobe
	*** Error Report ***
	Version: 4.4.0.30
	Command line: C:\Users\User\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/User/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 6
	Program data path: C:\Users\User\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\User\AppData\Roaming\Emby-Server\system
	System.Exception: System.Exception: ffprobe failed for file:"tv/show/file/path" - streams and format are both null: 
{
	
	}
	
	
ffprobe version 4.3.0-emby_2020_02_24-g5abbb1430d+4891 Copyright (c) 2007-2019 the FFmpeg developers and softworkz for Emby LLC
	  built with gcc 9.2.0 (Rev2, Built by MSYS2 project)
	file:tv/show/file/path: No such file or directory
	
	
	   at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()
	
2020-03-22 19:23:27.896 Info MediaInfoService: User policy for User. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2020-03-22 19:23:27.896 Info HttpServer: HTTP Response 200 to 192.168.7.77. Time: 72ms. http://192.168.7.76:8096/emby/Items/439570/PlaybackInfo?format=json
2020-03-22 19:23:28.006 Info HttpServer: HTTP POST http://192.168.7.76:8096/emby/Sessions/Playing. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.1.2; AFTMM Build/NS6271)
2020-03-22 19:23:28.007 Info SessionManager: Playback start reported by app AndroidTv 1.7.92a playing F**ker Shot Me. Started at 0 ms
2020-03-22 19:23:28.007 Info HttpServer: HTTP Response 204 to 192.168.7.77. Time: 2ms. http://192.168.7.76:8096/emby/Sessions/Playing
2020-03-22 19:23:28.140 Info HttpServer: HTTP GET http://192.168.7.76:8096/emby/videos/439570/master.m3u8?DeviceId=895cf28dc8af406d&MediaSourceId=7e0d47881a6c414e4cddce7565fe346b&PlaySessionId=8fcd01a354a846d380b3e188d19056d2&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=79808000&AudioBitrate=192000&MaxHeight=2160&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=8&mp4a_latm-audiochannels=8&ac3-audiochannels=8&eac3-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=VideoCodecNotSupported. User-Agent=Emby/1.7.92a (Linux;Android 7.1.2) AmznExoPlayerLib/2.10.1, Host=192.168.7.76:8096, Connection=Keep-Alive, Accept-Encoding=gzip
2020-03-22 19:23:28.141 Info HttpServer: HTTP Response 200 to 192.168.7.77. Time: 2ms. http://192.168.7.76:8096/emby/videos/439570/master.m3u8?DeviceId=895cf28dc8af406d&MediaSourceId=7e0d47881a6c414e4cddce7565fe346b&PlaySessionId=8fcd01a354a846d380b3e188d19056d2&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=79808000&AudioBitrate=192000&MaxHeight=2160&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=8&mp4a_latm-audiochannels=8&ac3-audiochannels=8&eac3-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=VideoCodecNotSupported
2020-03-22 19:23:28.153 Info HttpServer: HTTP GET http://192.168.7.76:8096/emby/Items/439570/ThumbnailSet?format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.1.2; AFTMM Build/NS6271)
2020-03-22 19:23:28.153 Info HttpServer: HTTP GET http://192.168.7.76:8096/emby/videos/439570/live.m3u8?DeviceId=895cf28dc8af406d&MediaSourceId=7e0d47881a6c414e4cddce7565fe346b&PlaySessionId=8fcd01a354a846d380b3e188d19056d2&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=79808000&AudioBitrate=192000&MaxHeight=2160&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=8&mp4a_latm-audiochannels=8&ac3-audiochannels=8&eac3-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=VideoCodecNotSupported. User-Agent=Emby/1.7.92a (Linux;Android 7.1.2) AmznExoPlayerLib/2.10.1, Host=192.168.7.76:8096, Connection=Keep-Alive, Accept-Encoding=gzip
2020-03-22 19:23:28.154 Info HttpServer: HTTP Response 200 to 192.168.7.77. Time: 1ms. http://192.168.7.76:8096/emby/Items/439570/ThumbnailSet?format=json
2020-03-22 19:23:28.188 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.4.0.30
	Command line: C:\Users\User\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/User/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 6
	Program data path: C:\Users\User\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\User\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Media.Common.Extensions.MediaStreamExtensions.GetSize(MediaStream mediaStream)
	   at Emby.Server.MediaEncoding.Encoder.Demands.DemandsBuilder.BuildVideoOutputDemand(EncodingJobInfo state, DemandsList demands)
	   at Emby.Server.MediaEncoding.Encoder.Demands.DemandsBuilder.BuildDemands(EncodingJobInfo state, EncodingDiagnosticOptions diagnosticOptions)
	   at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.BuildDemands(EncodingJobInfo state)
	   at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.HlsGetCommandLineArguments(String outputPath, StreamState state, Int32 startNumber, Boolean createSubtitleParameters, 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, CancellationTokenSource cancellationTokenSource, 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.Media.Model
	TargetSite: System.Nullable`1[System.Drawing.Size] GetSize(MediaBrowser.Model.Entities.MediaStream)
	
2020-03-22 19:23:28.188 Info HttpServer: HTTP Response 500 to 192.168.7.77. Time: 35ms. http://192.168.7.76:8096/emby/videos/439570/live.m3u8?DeviceId=895cf28dc8af406d&MediaSourceId=7e0d47881a6c414e4cddce7565fe346b&PlaySessionId=8fcd01a354a846d380b3e188d19056d2&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=79808000&AudioBitrate=192000&MaxHeight=2160&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=8&mp4a_latm-audiochannels=8&ac3-audiochannels=8&eac3-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=VideoCodecNotSupported
2020-03-22 19:23:28.198 Info HttpServer: HTTP GET http://192.168.7.76:8096/emby/videos/439570/live.m3u8?DeviceId=895cf28dc8af406d&MediaSourceId=7e0d47881a6c414e4cddce7565fe346b&PlaySessionId=8fcd01a354a846d380b3e188d19056d2&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=79808000&AudioBitrate=192000&MaxHeight=2160&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=8&mp4a_latm-audiochannels=8&ac3-audiochannels=8&eac3-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=VideoCodecNotSupported. User-Agent=Emby/1.7.92a (Linux;Android 7.1.2) AmznExoPlayerLib/2.10.1, Host=192.168.7.76:8096, Connection=Keep-Alive, Accept-Encoding=gzip
2020-03-22 19:23:28.200 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.4.0.30
	Command line: C:\Users\User\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/User/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 6
	Program data path: C:\Users\User\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\User\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Media.Common.Extensions.MediaStreamExtensions.GetSize(MediaStream mediaStream)
	   at Emby.Server.MediaEncoding.Encoder.Demands.DemandsBuilder.BuildVideoOutputDemand(EncodingJobInfo state, DemandsList demands)
	   at Emby.Server.MediaEncoding.Encoder.Demands.DemandsBuilder.BuildDemands(EncodingJobInfo state, EncodingDiagnosticOptions diagnosticOptions)
	   at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.BuildDemands(EncodingJobInfo state)
	   at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.HlsGetCommandLineArguments(String outputPath, StreamState state, Int32 startNumber, Boolean createSubtitleParameters, 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, CancellationTokenSource cancellationTokenSource, 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.Media.Model
	TargetSite: System.Nullable`1[System.Drawing.Size] GetSize(MediaBrowser.Model.Entities.MediaStream)
	
2020-03-22 19:23:28.200 Info HttpServer: HTTP Response 500 to 192.168.7.77. Time: 2ms. http://192.168.7.76:8096/emby/videos/439570/live.m3u8?DeviceId=895cf28dc8af406d&MediaSourceId=7e0d47881a6c414e4cddce7565fe346b&PlaySessionId=8fcd01a354a846d380b3e188d19056d2&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=79808000&AudioBitrate=192000&MaxHeight=2160&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=8&mp4a_latm-audiochannels=8&ac3-audiochannels=8&eac3-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=VideoCodecNotSupported
2020-03-22 19:23:28.202 Info HttpServer: HTTP GET http://192.168.7.76:8096/emby/Items/384708/Images/Logo?MaxWidth=440&Tag=6386473408212b8fa1c3a5fb00441bc5&EnableImageEnhancers=true&Accept=webp. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.1.2; AFTMM Build/NS6271)
2020-03-22 19:23:28.217 Info HttpServer: HTTP Response 200 to 192.168.7.77. Time: 15ms. http://192.168.7.76:8096/emby/Items/384708/Images/Logo?MaxWidth=440&Tag=6386473408212b8fa1c3a5fb00441bc5&EnableImageEnhancers=true&Accept=webp
2020-03-22 19:23:29.208 Info HttpServer: HTTP GET http://192.168.7.76:8096/emby/videos/439570/live.m3u8?DeviceId=895cf28dc8af406d&MediaSourceId=7e0d47881a6c414e4cddce7565fe346b&PlaySessionId=8fcd01a354a846d380b3e188d19056d2&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=79808000&AudioBitrate=192000&MaxHeight=2160&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=8&mp4a_latm-audiochannels=8&ac3-audiochannels=8&eac3-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=VideoCodecNotSupported. User-Agent=Emby/1.7.92a (Linux;Android 7.1.2) AmznExoPlayerLib/2.10.1, Host=192.168.7.76:8096, Connection=Keep-Alive, Accept-Encoding=gzip
2020-03-22 19:23:29.211 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.4.0.30
	Command line: C:\Users\User\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/User/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 6
	Program data path: C:\Users\User\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\User\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Media.Common.Extensions.MediaStreamExtensions.GetSize(MediaStream mediaStream)
	   at Emby.Server.MediaEncoding.Encoder.Demands.DemandsBuilder.BuildVideoOutputDemand(EncodingJobInfo state, DemandsList demands)
	   at Emby.Server.MediaEncoding.Encoder.Demands.DemandsBuilder.BuildDemands(EncodingJobInfo state, EncodingDiagnosticOptions diagnosticOptions)
	   at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.BuildDemands(EncodingJobInfo state)
	   at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.HlsGetCommandLineArguments(String outputPath, StreamState state, Int32 startNumber, Boolean createSubtitleParameters, 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, CancellationTokenSource cancellationTokenSource, 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.Media.Model
	TargetSite: System.Nullable`1[System.Drawing.Size] GetSize(MediaBrowser.Model.Entities.MediaStream)
	
2020-03-22 19:23:29.211 Info HttpServer: HTTP Response 500 to 192.168.7.77. Time: 3ms. http://192.168.7.76:8096/emby/videos/439570/live.m3u8?DeviceId=895cf28dc8af406d&MediaSourceId=7e0d47881a6c414e4cddce7565fe346b&PlaySessionId=8fcd01a354a846d380b3e188d19056d2&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=79808000&AudioBitrate=192000&MaxHeight=2160&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=8&mp4a_latm-audiochannels=8&ac3-audiochannels=8&eac3-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=VideoCodecNotSupported
2020-03-22 19:23:31.219 Info HttpServer: HTTP GET http://192.168.7.76:8096/emby/videos/439570/live.m3u8?DeviceId=895cf28dc8af406d&MediaSourceId=7e0d47881a6c414e4cddce7565fe346b&PlaySessionId=8fcd01a354a846d380b3e188d19056d2&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=79808000&AudioBitrate=192000&MaxHeight=2160&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=8&mp4a_latm-audiochannels=8&ac3-audiochannels=8&eac3-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=VideoCodecNotSupported. User-Agent=Emby/1.7.92a (Linux;Android 7.1.2) AmznExoPlayerLib/2.10.1, Host=192.168.7.76:8096, Connection=Keep-Alive, Accept-Encoding=gzip
2020-03-22 19:23:31.221 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.4.0.30
	Command line: C:\Users\User\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/User/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 6
	Program data path: C:\Users\User\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\User\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Media.Common.Extensions.MediaStreamExtensions.GetSize(MediaStream mediaStream)
	   at Emby.Server.MediaEncoding.Encoder.Demands.DemandsBuilder.BuildVideoOutputDemand(EncodingJobInfo state, DemandsList demands)
	   at Emby.Server.MediaEncoding.Encoder.Demands.DemandsBuilder.BuildDemands(EncodingJobInfo state, EncodingDiagnosticOptions diagnosticOptions)
	   at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.BuildDemands(EncodingJobInfo state)
	   at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.HlsGetCommandLineArguments(String outputPath, StreamState state, Int32 startNumber, Boolean createSubtitleParameters, 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, CancellationTokenSource cancellationTokenSource, 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.Media.Model
	TargetSite: System.Nullable`1[System.Drawing.Size] GetSize(MediaBrowser.Model.Entities.MediaStream)
	
2020-03-22 19:23:31.221 Info HttpServer: HTTP Response 500 to 192.168.7.77. Time: 2ms. http://192.168.7.76:8096/emby/videos/439570/live.m3u8?DeviceId=895cf28dc8af406d&MediaSourceId=7e0d47881a6c414e4cddce7565fe346b&PlaySessionId=8fcd01a354a846d380b3e188d19056d2&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=79808000&AudioBitrate=192000&MaxHeight=2160&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=8&mp4a_latm-audiochannels=8&ac3-audiochannels=8&eac3-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=VideoCodecNotSupported
2020-03-22 19:23:31.399 Info HttpServer: HTTP DELETE http://192.168.7.76:8096/emby/Videos/ActiveEncodings?deviceId=895cf28dc8af406d&playSessionId=8fcd01a354a846d380b3e188d19056d2. X-MediaBrowser-Token=0b6165e9d51d484489758725a7213c84, X-Emby-Authorization=MediaBrowser Client="AndroidTv", DeviceId="895cf28dc8af406d", Device="User's 6th Fire TV", Version="1.7.92a", UserId="af28729e09e2450caa5caae87afa8b07", User-Agent=Dalvik/2.1.0 (Linux; U; Android 7.1.2; AFTMM Build/NS6271), Content-Type=application/x-www-form-urlencoded, Host=192.168.7.76:8096, Connection=Keep-Alive, Accept-Encoding=gzip, Content-Length=0
2020-03-22 19:23:31.401 Info HttpServer: HTTP Response 204 to 192.168.7.77. Time: 2ms. http://192.168.7.76:8096/emby/Videos/ActiveEncodings?deviceId=895cf28dc8af406d&playSessionId=8fcd01a354a846d380b3e188d19056d2
2020-03-22 19:23:31.417 Info HttpServer: HTTP POST http://192.168.7.76:8096/emby/Items/439570/PlaybackInfo?format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.1.2; AFTMM Build/NS6271)
2020-03-22 19:23:31.423 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\Users\User\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"tv/show/file/path" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2020-03-22 19:23:31.456 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 1
2020-03-22 19:23:31.457 Error App: Error in ffprobe
	*** Error Report ***
	Version: 4.4.0.30
	Command line: C:\Users\User\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/User/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 6
	Program data path: C:\Users\User\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\User\AppData\Roaming\Emby-Server\system
	System.Exception: System.Exception: ffprobe failed for file:"tv/show/file/path" - streams and format are both null: 
{
	
	}
	
	
ffprobe version 4.3.0-emby_2020_02_24-g5abbb1430d+4891 Copyright (c) 2007-2019 the FFmpeg developers and softworkz for Emby LLC
	  built with gcc 9.2.0 (Rev2, Built by MSYS2 project)
	file:tv/show/file/path: No such file or directory
	
	
	   at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()
Edited by atrpm
Posted

Hi, this is normal when emby doesn't know the runtime of the media, then it just gets marked watched when you play.

Posted

Hi Luke, what you are saying make sense, if emby doesn’t know the runtime of the media, but isn’t this different?

 

The media doesn’t exist anymore. Why mark it as played in this case?

 

Thanks.

  • Solution
Posted

Ok yes we should just have an error message and that's it. Thanks.

  • Like 1

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