add playlist item count and shuffle playlist items (#2407)
* marathon cleanup * add playlist item count, and shuffle playlist items
This commit is contained in:
@@ -69,11 +69,17 @@ public class ProgramScheduleItemEditViewModel : INotifyPropertyChanged
|
||||
MultipleMode = MultipleMode.Count;
|
||||
}
|
||||
|
||||
if (_collectionType == ProgramScheduleItemCollectionType.Playlist)
|
||||
{
|
||||
PlaybackOrder = PlaybackOrder.None;
|
||||
}
|
||||
|
||||
OnPropertyChanged(nameof(Collection));
|
||||
OnPropertyChanged(nameof(MultiCollection));
|
||||
OnPropertyChanged(nameof(MediaItem));
|
||||
OnPropertyChanged(nameof(SmartCollection));
|
||||
OnPropertyChanged(nameof(MultiCollection));
|
||||
OnPropertyChanged(nameof(PlaybackOrder));
|
||||
}
|
||||
|
||||
if (_collectionType == ProgramScheduleItemCollectionType.MultiCollection)
|
||||
@@ -129,6 +135,13 @@ public class ProgramScheduleItemEditViewModel : INotifyPropertyChanged
|
||||
MultipleMode = MultipleMode.Count;
|
||||
}
|
||||
|
||||
if (_playbackOrder is not PlaybackOrder.Marathon)
|
||||
{
|
||||
MarathonGroupBy = MarathonGroupBy.None;
|
||||
MarathonShuffleItems = false;
|
||||
MarathonBatchSize = null;
|
||||
}
|
||||
|
||||
OnPropertyChanged();
|
||||
OnPropertyChanged(nameof(CanFillWithGroups));
|
||||
OnPropertyChanged(nameof(MultipleMode));
|
||||
|
||||
Reference in New Issue
Block a user