Files
ersatztv/ErsatzTV.Core/FFmpeg/ConcatPlaylist.cs
T
Jason DoveandGitHub b30b458574 allow ui and streaming to run on different ports (#1992)
* allow ui and streaming to run on different ports

* revert global.json change
2025-04-14 16:48:19 +00:00

10 lines
385 B
C#

namespace ErsatzTV.Core.FFmpeg;
public record ConcatPlaylist(string Scheme, string Host, string ChannelNumber, string Mode)
{
public override string ToString() =>
$@"ffconcat version 1.0
file http://localhost:{Settings.StreamingPort}/ffmpeg/stream/{ChannelNumber}?mode={Mode}
file http://localhost:{Settings.StreamingPort}/ffmpeg/stream/{ChannelNumber}?mode={Mode}";
}