* flag local movies as file not found * show warning icon on cards * unflag movie that is found during scan * skip missing files when building playouts * add state to search index * add file not found health check * link to search from file not found health check * support flagging other media kinds as file not found * continue to schedule missing items * support episode files not found * wip trash page * fix trash url * trash page is functional * update changelog * fix changelog merge
28 lines
762 B
C#
28 lines
762 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(
|
|
_smartCollection.Id,
|
|
_smartCollection.Name,
|
|
false,
|
|
MediaItemState.Normal);
|
|
}
|
|
}
|
|
|
|
public override MediaCollectionViewModel Collection { get; set; }
|
|
}
|
|
}
|