* rename collection type * split collections into separate pages * add rerun collection types, migration, editor * add rerun to classic schedule items * rerun plumbing in classic playout builder * start to implement rerun enumerator * add scheduledAt to enumerator movenext * maintain rerun history in db * fix shuffle * fix rerun allowed playback orders * fix updating rerun collections * update changelog; fix editing * update changelog
28 lines
736 B
C#
28 lines
736 B
C#
using ErsatzTV.Application.MediaCollections;
|
|
using ErsatzTV.Core.Domain;
|
|
|
|
namespace ErsatzTV.ViewModels;
|
|
|
|
public class MultiCollectionSmartItemEditViewModel : MultiCollectionItemEditViewModel
|
|
{
|
|
private SmartCollectionViewModel _smartCollection;
|
|
|
|
public SmartCollectionViewModel SmartCollection
|
|
{
|
|
get => _smartCollection;
|
|
set
|
|
{
|
|
_smartCollection = value;
|
|
|
|
Collection = new MediaCollectionViewModel(
|
|
CollectionType.SmartCollection,
|
|
_smartCollection.Id,
|
|
_smartCollection.Name,
|
|
false,
|
|
MediaItemState.Normal);
|
|
}
|
|
}
|
|
|
|
public override MediaCollectionViewModel Collection { get; set; }
|
|
}
|