dependencies and code cleanup (#2117)
* fix validation in new form layout * pin mediatr to last oss version * update dependencies * cleanup code in core * cleanup code in ffmpeg * cleanup code in infra * cleanup code in scanner * cleanup code in application * cleanup main code * cleanup test code * solution-wide code cleanup
This commit is contained in:
@@ -26,6 +26,7 @@ public class ChannelEditViewModel
|
||||
public string PreferredSubtitleLanguageCode { get; set; }
|
||||
public ChannelSubtitleMode SubtitleMode { get; set; }
|
||||
public ChannelMusicVideoCreditsMode MusicVideoCreditsMode { get; set; }
|
||||
|
||||
public string MusicVideoCreditsTemplate
|
||||
{
|
||||
get => MusicVideoCreditsMode == ChannelMusicVideoCreditsMode.GenerateSubtitles
|
||||
@@ -33,6 +34,7 @@ public class ChannelEditViewModel
|
||||
: null;
|
||||
set => _musicVideoCreditsTemplate = value;
|
||||
}
|
||||
|
||||
public ChannelSongVideoMode SongVideoMode { get; set; }
|
||||
public ChannelActiveMode ActiveMode { get; set; }
|
||||
|
||||
@@ -44,7 +46,9 @@ public class ChannelEditViewModel
|
||||
Group,
|
||||
Categories,
|
||||
FFmpegProfileId,
|
||||
string.IsNullOrWhiteSpace(ExternalLogoUrl) ? Logo : new ArtworkContentTypeModel(ExternalLogoUrl, string.Empty),
|
||||
string.IsNullOrWhiteSpace(ExternalLogoUrl)
|
||||
? Logo
|
||||
: new ArtworkContentTypeModel(ExternalLogoUrl, string.Empty),
|
||||
StreamSelectorMode,
|
||||
StreamSelector,
|
||||
PreferredAudioLanguageCode,
|
||||
@@ -67,7 +71,9 @@ public class ChannelEditViewModel
|
||||
Group,
|
||||
Categories,
|
||||
FFmpegProfileId,
|
||||
string.IsNullOrWhiteSpace(ExternalLogoUrl) ? Logo : new ArtworkContentTypeModel(ExternalLogoUrl, string.Empty),
|
||||
string.IsNullOrWhiteSpace(ExternalLogoUrl)
|
||||
? Logo
|
||||
: new ArtworkContentTypeModel(ExternalLogoUrl, string.Empty),
|
||||
StreamSelectorMode,
|
||||
StreamSelector,
|
||||
PreferredAudioLanguageCode,
|
||||
|
||||
Reference in New Issue
Block a user