fixing exceptions for tests
This commit is contained in:
parent
83e071f5c3
commit
6a4d83a6d6
@ -140,7 +140,12 @@ namespace Selector.Tests
|
||||
{
|
||||
Name = name,
|
||||
Id = id ?? name,
|
||||
SnapshotId = snapshotId ?? id ?? name
|
||||
SnapshotId = snapshotId ?? id ?? name,
|
||||
Tracks = new()
|
||||
{
|
||||
Items = new List<PlaylistTrack<IPlayableItem>>(),
|
||||
Total = 0
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ namespace Selector
|
||||
|
||||
private async Task PageLiveTracks()
|
||||
{
|
||||
if (config.PullTracks)
|
||||
if (config.PullTracks && Live.Tracks.Items.Count > 0)
|
||||
{
|
||||
Logger.LogDebug("Paging current tracks");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user