mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-12 19:56:30 +01:00
adding strm & http ignore to extract timestamp
This commit is contained in:
@@ -1679,6 +1679,13 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
return;
|
||||
}
|
||||
|
||||
// Skip timestamp extration for remote resource (http, rtsp, etc.)
|
||||
// as they cannot be opened with FileStream
|
||||
if (video.Protocol != MediaProtocol.File)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!string.Equals(video.Container, "mpeg2ts", StringComparison.OrdinalIgnoreCase)
|
||||
&& !string.Equals(video.Container, "m2ts", StringComparison.OrdinalIgnoreCase)
|
||||
&& !string.Equals(video.Container, "ts", StringComparison.OrdinalIgnoreCase))
|
||||
|
||||
Reference in New Issue
Block a user