@ -956,68 +956,6 @@ public class RefreshChannelDataHandler : IRequestHandler<RefreshChannelData>
@@ -956,68 +956,6 @@ public class RefreshChannelDataHandler : IRequestHandler<RefreshChannelData>
@ -1179,6 +1117,4 @@ public class RefreshChannelDataHandler : IRequestHandler<RefreshChannelData>
@@ -1179,6 +1117,4 @@ public class RefreshChannelDataHandler : IRequestHandler<RefreshChannelData>
@ -132,11 +132,6 @@ public class RefreshChannelListHandler : IRequestHandler<RefreshChannelList>
@@ -132,11 +132,6 @@ public class RefreshChannelListHandler : IRequestHandler<RefreshChannelList>
@ -32,7 +28,7 @@ public class AddMovieToPlaylistHandler(IDbContextFactory<TvContext> dbContextFac
@@ -32,7 +28,7 @@ public class AddMovieToPlaylistHandler(IDbContextFactory<TvContext> dbContextFac
@ -17,7 +17,9 @@ public class CreatePlaylistGroupHandler(IDbContextFactory<TvContext> dbContextFa
@@ -17,7 +17,9 @@ public class CreatePlaylistGroupHandler(IDbContextFactory<TvContext> dbContextFa
@ -60,10 +59,14 @@ public class ReplacePlaylistItemsHandler(IDbContextFactory<TvContext> dbContextF
@@ -60,10 +59,14 @@ public class ReplacePlaylistItemsHandler(IDbContextFactory<TvContext> dbContextF
.SelectOneAsync(b=>b.Id,b=>b.Id==playlistId)
.Map(o=>o.ToValidation<BaseError>("[PlaylistId] does not exist."));
@ -27,7 +27,7 @@ public class ReplaceDecoTemplateItemsHandler(IDbContextFactory<TvContext> dbCont
@@ -27,7 +27,7 @@ public class ReplaceDecoTemplateItemsHandler(IDbContextFactory<TvContext> dbCont
decoTemplate.DateUpdated=DateTime.UtcNow;
dbContext.RemoveRange(decoTemplate.Items);
// drop items that are invalid
decoTemplate.Items=request.Items
.Map(i=>BuildItem(decoTemplate,i))
@ -60,10 +60,14 @@ public class ReplaceDecoTemplateItemsHandler(IDbContextFactory<TvContext> dbCont
@@ -60,10 +60,14 @@ public class ReplaceDecoTemplateItemsHandler(IDbContextFactory<TvContext> dbCont
@ -22,11 +22,11 @@ public class UpdateDecoHandler(IDbContextFactory<TvContext> dbContextFactory)
@@ -22,11 +22,11 @@ public class UpdateDecoHandler(IDbContextFactory<TvContext> dbContextFactory)
@ -58,7 +58,7 @@ public class UpdateDecoHandler(IDbContextFactory<TvContext> dbContextFactory)
@@ -58,7 +58,7 @@ public class UpdateDecoHandler(IDbContextFactory<TvContext> dbContextFactory)
dbContext.Decos
.SelectOneAsync(d=>d.Id,d=>d.Id==request.DecoId)
.Map(o=>o.ToValidation<BaseError>("Deco does not exist"));
@ -91,7 +91,6 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler<
@@ -91,7 +91,6 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler<
.ThenInclude(t=>t.Items)
.ThenInclude(i=>i.Deco)
.ThenInclude(d=>d.Watermark)
.Include(i=>i.MediaItem)
.ThenInclude(mi=>(miasEpisode).EpisodeMetadata)
.ThenInclude(em=>em.Subtitles)
@ -186,10 +185,9 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler<
@@ -186,10 +185,9 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler<
@ -489,6 +487,7 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler<
@@ -489,6 +487,7 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler<
@ -780,12 +779,17 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler<
@@ -780,12 +779,17 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler<
@ -86,7 +86,8 @@ public class EmbyPathReplacementService : IEmbyPathReplacementService
@@ -86,7 +86,8 @@ public class EmbyPathReplacementService : IEmbyPathReplacementService
@ -448,7 +448,7 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
@@ -448,7 +448,7 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
@ -86,7 +86,8 @@ public class JellyfinPathReplacementService : IJellyfinPathReplacementService
@@ -86,7 +86,8 @@ public class JellyfinPathReplacementService : IJellyfinPathReplacementService
@ -52,7 +52,8 @@ public class PlexPathReplacementService : IPlexPathReplacementService
@@ -52,7 +52,8 @@ public class PlexPathReplacementService : IPlexPathReplacementService
@ -16,7 +16,7 @@ public class BlockPlayoutShuffledMediaCollectionEnumerator : IMediaCollectionEnu
@@ -16,7 +16,7 @@ public class BlockPlayoutShuffledMediaCollectionEnumerator : IMediaCollectionEnu
@ -39,7 +81,7 @@ public class PlaylistEnumerator : IMediaCollectionEnumerator
@@ -39,7 +81,7 @@ public class PlaylistEnumerator : IMediaCollectionEnumerator
@ -78,7 +120,7 @@ public class PlaylistEnumerator : IMediaCollectionEnumerator
@@ -78,7 +120,7 @@ public class PlaylistEnumerator : IMediaCollectionEnumerator
CollectionKey.ForPlaylistItem(playlistItem)),
initState,
// TODO: fix this
randomStartPoint:false,
false,
cancellationToken);
break;
casePlaybackOrder.SeasonEpisode:
@ -107,7 +149,7 @@ public class PlaylistEnumerator : IMediaCollectionEnumerator
@@ -107,7 +149,7 @@ public class PlaylistEnumerator : IMediaCollectionEnumerator
@ -120,62 +162,19 @@ public class PlaylistEnumerator : IMediaCollectionEnumerator
@@ -120,62 +162,19 @@ public class PlaylistEnumerator : IMediaCollectionEnumerator
@ -107,7 +107,8 @@ public class PlayoutModeSchedulerDuration : PlayoutModeSchedulerBase<ProgramSche
@@ -107,7 +107,8 @@ public class PlayoutModeSchedulerDuration : PlayoutModeSchedulerBase<ProgramSche
@ -57,7 +57,8 @@ public class PlayoutModeSchedulerFlood : PlayoutModeSchedulerBase<ProgramSchedul
@@ -57,7 +57,8 @@ public class PlayoutModeSchedulerFlood : PlayoutModeSchedulerBase<ProgramSchedul
@ -65,7 +65,8 @@ public class PlayoutModeSchedulerMultiple : PlayoutModeSchedulerBase<ProgramSche
@@ -65,7 +65,8 @@ public class PlayoutModeSchedulerMultiple : PlayoutModeSchedulerBase<ProgramSche
@ -42,7 +42,8 @@ public class PlayoutModeSchedulerOne : PlayoutModeSchedulerBase<ProgramScheduleI
@@ -42,7 +42,8 @@ public class PlayoutModeSchedulerOne : PlayoutModeSchedulerBase<ProgramScheduleI
@ -6,7 +6,7 @@ public class EncoderH264Amf(Option<string> maybeVideoProfile) : EncoderBase
@@ -6,7 +6,7 @@ public class EncoderH264Amf(Option<string> maybeVideoProfile) : EncoderBase
{
publicoverridestringName=>"h264_amf";
publicoverrideStreamKindKind=>StreamKind.Video;
publicoverridestring[]OutputOptions
{
get
@ -16,7 +16,7 @@ public class EncoderH264Amf(Option<string> maybeVideoProfile) : EncoderBase
@@ -16,7 +16,7 @@ public class EncoderH264Amf(Option<string> maybeVideoProfile) : EncoderBase
@ -6,13 +6,13 @@ public class EncoderLibx264(Option<string> maybeVideoProfile, Option<string> may
@@ -6,13 +6,13 @@ public class EncoderLibx264(Option<string> maybeVideoProfile, Option<string> may
@ -18,7 +18,7 @@ public class EncoderLibx265(FrameState currentState, Option<string> maybeVideoPr
@@ -18,7 +18,7 @@ public class EncoderLibx265(FrameState currentState, Option<string> maybeVideoPr
@ -12,7 +12,7 @@ public class EncoderH264Nvenc(Option<string> maybeVideoProfile, Option<string> m
@@ -12,7 +12,7 @@ public class EncoderH264Nvenc(Option<string> maybeVideoProfile, Option<string> m
@ -12,13 +12,13 @@ public class EncoderH264Qsv(Option<string> maybeVideoProfile, Option<string> may
@@ -12,13 +12,13 @@ public class EncoderH264Qsv(Option<string> maybeVideoProfile, Option<string> may
@ -12,7 +12,7 @@ public class EncoderHevcQsv(Option<string> maybeVideoPreset) : EncoderBase
@@ -12,7 +12,7 @@ public class EncoderHevcQsv(Option<string> maybeVideoPreset) : EncoderBase
@ -22,7 +22,7 @@ public class EncoderH264Vaapi(Option<string> maybeVideoProfile, RateControlMode
@@ -22,7 +22,7 @@ public class EncoderH264Vaapi(Option<string> maybeVideoProfile, RateControlMode
@ -6,7 +6,7 @@ public class EncoderH264VideoToolbox(Option<string> maybeVideoProfile) : Encoder
@@ -6,7 +6,7 @@ public class EncoderH264VideoToolbox(Option<string> maybeVideoProfile) : Encoder
{
publicoverridestringName=>"h264_videotoolbox";
publicoverrideStreamKindKind=>StreamKind.Video;
publicoverridestring[]OutputOptions
{
get
@ -16,7 +16,7 @@ public class EncoderH264VideoToolbox(Option<string> maybeVideoProfile) : Encoder
@@ -16,7 +16,7 @@ public class EncoderH264VideoToolbox(Option<string> maybeVideoProfile) : Encoder
@ -156,7 +156,7 @@ public abstract class PipelineBuilderBase : IPipelineBuilder
@@ -156,7 +156,7 @@ public abstract class PipelineBuilderBase : IPipelineBuilder
@ -574,7 +574,8 @@ public abstract class PipelineBuilderBase : IPipelineBuilder
@@ -574,7 +574,8 @@ public abstract class PipelineBuilderBase : IPipelineBuilder
@ -9,7 +9,7 @@ public class PlaylistConfiguration : IEntityTypeConfiguration<Playlist>
@@ -9,7 +9,7 @@ public class PlaylistConfiguration : IEntityTypeConfiguration<Playlist>
@ -17,6 +17,5 @@ public class PlaylistConfiguration : IEntityTypeConfiguration<Playlist>
@@ -17,6 +17,5 @@ public class PlaylistConfiguration : IEntityTypeConfiguration<Playlist>
@ -9,7 +9,7 @@ public class PlaylistItemConfiguration : IEntityTypeConfiguration<PlaylistItem>
@@ -9,7 +9,7 @@ public class PlaylistItemConfiguration : IEntityTypeConfiguration<PlaylistItem>
@ -33,7 +33,7 @@ public class ProgramScheduleItemConfiguration : IEntityTypeConfiguration<Program
@@ -33,7 +33,7 @@ public class ProgramScheduleItemConfiguration : IEntityTypeConfiguration<Program
@ -24,7 +24,7 @@ public class DecoConfiguration : IEntityTypeConfiguration<Deco>
@@ -24,7 +24,7 @@ public class DecoConfiguration : IEntityTypeConfiguration<Deco>
@ -47,7 +47,6 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -47,7 +47,6 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -100,7 +99,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -100,7 +99,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -132,7 +131,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -132,7 +131,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -140,7 +139,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -140,7 +139,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -171,7 +170,6 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -171,7 +170,6 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -224,7 +222,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -224,7 +222,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -256,7 +254,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -256,7 +254,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -264,7 +262,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -264,7 +262,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -501,7 +499,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -501,7 +499,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -531,7 +529,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -531,7 +529,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -539,7 +537,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -539,7 +537,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -547,7 +545,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -547,7 +545,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -563,7 +561,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -563,7 +561,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -571,7 +569,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -571,7 +569,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -579,7 +577,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -579,7 +577,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -603,7 +601,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -603,7 +601,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -611,7 +609,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -611,7 +609,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -897,7 +895,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -897,7 +895,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@ -27,7 +27,7 @@ public class MultiEpisodeShuffleCollectionEnumerator : IMediaCollectionEnumerato
@@ -27,7 +27,7 @@ public class MultiEpisodeShuffleCollectionEnumerator : IMediaCollectionEnumerato
@ -26,6 +23,9 @@ public class CustomMultiFieldQueryParser : MultiFieldQueryParser
@@ -26,6 +23,9 @@ public class CustomMultiFieldQueryParser : MultiFieldQueryParser
LuceneSearchIndex.VideoBitDepthField
];
privatereadonlyAnalyzer_analyzer;
privatereadonlyLuceneVersion_matchVersion;
publicCustomMultiFieldQueryParser(
LuceneVersionmatchVersion,
string[]fields,
@ -102,14 +102,14 @@ public class CustomMultiFieldQueryParser : MultiFieldQueryParser
@@ -102,14 +102,14 @@ public class CustomMultiFieldQueryParser : MultiFieldQueryParser
@ -117,7 +117,7 @@ public class ElasticSearchItem : MinimalElasticSearchItem
@@ -117,7 +117,7 @@ public class ElasticSearchItem : MinimalElasticSearchItem
@ -21,10 +21,10 @@ public class ImageFolderScanner : LocalFolderScanner, IImageFolderScanner
@@ -21,10 +21,10 @@ public class ImageFolderScanner : LocalFolderScanner, IImageFolderScanner
@ -21,11 +21,11 @@ public class MusicVideoFolderScanner : LocalFolderScanner, IMusicVideoFolderScan
@@ -21,11 +21,11 @@ public class MusicVideoFolderScanner : LocalFolderScanner, IMusicVideoFolderScan
@ -20,11 +20,11 @@ public class OtherVideoFolderScanner : LocalFolderScanner, IOtherVideoFolderScan
@@ -20,11 +20,11 @@ public class OtherVideoFolderScanner : LocalFolderScanner, IOtherVideoFolderScan
@ -158,7 +158,9 @@ public class OtherVideoFolderScanner : LocalFolderScanner, IOtherVideoFolderScan
@@ -158,7 +158,9 @@ public class OtherVideoFolderScanner : LocalFolderScanner, IOtherVideoFolderScan
{
if(allFiles.Any(allTrashedItems.Contains))
{
_logger.LogDebug("Previously trashed items are now present in folder {Folder}",otherVideoFolder);
_logger.LogDebug(
"Previously trashed items are now present in folder {Folder}",
@ -20,10 +20,10 @@ public class SongFolderScanner : LocalFolderScanner, ISongFolderScanner
@@ -20,10 +20,10 @@ public class SongFolderScanner : LocalFolderScanner, ISongFolderScanner
@ -140,7 +140,7 @@ public class SongFolderScanner : LocalFolderScanner, ISongFolderScanner
@@ -140,7 +140,7 @@ public class SongFolderScanner : LocalFolderScanner, ISongFolderScanner
@ -21,11 +21,11 @@ public class TelevisionFolderScanner : LocalFolderScanner, ITelevisionFolderScan
@@ -21,11 +21,11 @@ public class TelevisionFolderScanner : LocalFolderScanner, ITelevisionFolderScan
@ -88,7 +88,7 @@ public class TelevisionFolderScanner : LocalFolderScanner, ITelevisionFolderScan
@@ -88,7 +88,7 @@ public class TelevisionFolderScanner : LocalFolderScanner, ITelevisionFolderScan
<MudText Typo="Typo.body2">When no playout item is found for the current time, *one* item will be randomly selected from this collection and looped and cut to exactly fit until the start of the next playout item.</MudText>
<MudText Typo="Typo.body2" Class="mt-3">This replaces the "Channel is Offline" image that would otherwise display.</MudText>
</TooltipContent>
</MudTooltip>
</CardHeaderContent>
</MudCardHeader>
<MudCardContent>
<MudSelect Label="Dead Air Fallback Mode" @bind-Value="_deco.DeadAirFallbackMode" For="@(() => _deco.DeadAirFallbackMode)">
<MudText Typo="Typo.body2">When no playout item is found for the current time, *one* item will be randomly selected from this collection and looped and cut to exactly fit until the start of the next playout item.</MudText>
<MudText Typo="Typo.body2" Class="mt-3">This replaces the "Channel is Offline" image that would otherwise display.</MudText>
</TooltipContent>
</MudTooltip>
</CardHeaderContent>
</MudCardHeader>
<MudCardContent>
<MudSelect Label="Dead Air Fallback Mode" @bind-Value="_deco.DeadAirFallbackMode" For="@(() => _deco.DeadAirFallbackMode)">