Skip to content

Commit

Permalink
Make IgnoreDts configurable for M3U tuner
Browse files Browse the repository at this point in the history
  • Loading branch information
knackebrot committed Aug 17, 2022
1 parent fdd728e commit c3405d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ protected virtual MediaSourceInfo CreateMediaSourceInfo(TunerHostInfo info, Chan
IsInfiniteStream = true,
IsRemote = isRemote,

IgnoreDts = true,
IgnoreDts = info.IgnoreDts,
SupportsDirectPlay = supportsDirectPlay,
SupportsDirectStream = supportsDirectStream,

Expand Down
3 changes: 3 additions & 0 deletions MediaBrowser.Model/LiveTv/TunerHostInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public class TunerHostInfo
public TunerHostInfo()
{
AllowHWTranscoding = true;
IgnoreDts = true;
}

public string Id { get; set; }
Expand All @@ -31,5 +32,7 @@ public TunerHostInfo()
public int TunerCount { get; set; }

public string UserAgent { get; set; }

public bool IgnoreDts { get; set; }
}
}

0 comments on commit c3405d2

Please sign in to comment.