@ -97,6 +97,8 @@ public class BuildPlayoutHandler : IRequestHandler<BuildPlayout, Either<BaseErro
@@ -97,6 +97,8 @@ public class BuildPlayoutHandler : IRequestHandler<BuildPlayout, Either<BaseErro
}
catch(Exceptionex)
{
DebugBreak.Break();
_client.Notify(ex);
returnBaseError.New(
$"Unexpected error building playout for channel {playout.Channel.Name}: {ex.Message}");
@ -35,6 +35,6 @@ public class FakeMediaCollectionRepository : IMediaCollectionRepository
@@ -35,6 +35,6 @@ public class FakeMediaCollectionRepository : IMediaCollectionRepository
@ -81,4 +81,5 @@ public class FakeTelevisionRepository : ITelevisionRepository
@@ -81,4 +81,5 @@ public class FakeTelevisionRepository : ITelevisionRepository
@ -334,7 +334,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -334,7 +334,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
}
[SuppressMessage("Performance", "CA1822:Mark members as static")]
@ -360,7 +360,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -360,7 +360,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
newCollectionWithItems(
showId,
0,
null,
fakeKey,
list,
true,
PlaybackOrder.Chronological,
@ -388,7 +388,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -388,7 +388,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
newCollectionWithItems(
0,
artistId,
null,
fakeKey,
list,
true,
PlaybackOrder.Chronological,
@ -429,7 +429,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -429,7 +429,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
newCollectionWithItems(
id,
id,
allArtists[index],
$"{fakeKey}:artist:{allArtists[index]}",
list,
true,
PlaybackOrder.Chronological,
@ -442,7 +442,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -442,7 +442,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
newCollectionWithItems(
id,
id,
null,
fakeKey,
items.OfType<Movie>().Cast<MediaItem>().ToList(),
true,
PlaybackOrder.Chronological,
@ -453,7 +453,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
@@ -453,7 +453,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository