* optionally include progress bar in generated song video * update progress bar size/location * move everything up 10% when song progress is enabled * add watermark border to song progress bar * always show accurate progress bar * lower progress bar to 90% alpha * update changelog
29 lines
747 B
C#
29 lines
747 B
C#
using ErsatzTV.Core.Domain;
|
|
using System.Net;
|
|
|
|
namespace ErsatzTV.Application.Channels;
|
|
|
|
public record ChannelViewModel(
|
|
int Id,
|
|
string Number,
|
|
string Name,
|
|
string Group,
|
|
string Categories,
|
|
int FFmpegProfileId,
|
|
string Logo,
|
|
string PreferredAudioLanguageCode,
|
|
string PreferredAudioTitle,
|
|
ChannelProgressMode ProgressMode,
|
|
StreamingMode StreamingMode,
|
|
int? WatermarkId,
|
|
int? FallbackFillerId,
|
|
int PlayoutCount,
|
|
string PreferredSubtitleLanguageCode,
|
|
ChannelSubtitleMode SubtitleMode,
|
|
ChannelMusicVideoCreditsMode MusicVideoCreditsMode,
|
|
string MusicVideoCreditsTemplate,
|
|
ChannelSongVideoMode SongVideoMode)
|
|
{
|
|
public string WebEncodedName => WebUtility.UrlEncode(Name);
|
|
}
|