2011-02-26 06:07:22 +02:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2011-03-03 03:16:48 +02:00
|
|
|
using System.ComponentModel;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2011-02-26 06:07:22 +02:00
|
|
|
using System.Linq;
|
|
|
|
using System.Web;
|
|
|
|
using System.Web.Mvc;
|
|
|
|
using NzbDrone.Core.Model;
|
|
|
|
|
|
|
|
namespace NzbDrone.Web.Models
|
|
|
|
{
|
|
|
|
public class EpisodeSortingModel
|
|
|
|
{
|
2011-03-03 03:16:48 +02:00
|
|
|
[DisplayName("Show Name")]
|
2011-02-26 06:07:22 +02:00
|
|
|
public bool ShowName { get; set; }
|
2011-03-03 03:16:48 +02:00
|
|
|
|
|
|
|
[DisplayName("Episode Name")]
|
2011-02-26 06:07:22 +02:00
|
|
|
public bool EpisodeName { get; set; }
|
2011-03-03 03:16:48 +02:00
|
|
|
|
|
|
|
[DisplayName("Replace Spaces")]
|
2011-02-26 06:07:22 +02:00
|
|
|
public bool ReplaceSpaces { get; set; }
|
2011-03-03 03:16:48 +02:00
|
|
|
|
|
|
|
[DisplayName("Append Quality")]
|
2011-02-26 06:07:22 +02:00
|
|
|
public bool AppendQuality { get; set; }
|
2011-03-03 03:16:48 +02:00
|
|
|
|
|
|
|
[DisplayName("Use Air By Date")]
|
2011-02-26 06:07:22 +02:00
|
|
|
public bool UseAirByDate { get; set; }
|
2011-03-03 03:16:48 +02:00
|
|
|
|
|
|
|
[DisplayName("Use Season Folders")]
|
2011-02-26 06:07:22 +02:00
|
|
|
public bool SeasonFolders { get; set; }
|
2011-03-03 03:16:48 +02:00
|
|
|
|
|
|
|
[DisplayName("Season Folder Format")]
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
|
|
[Display(Description = "This is a Description")]
|
2011-02-26 06:07:22 +02:00
|
|
|
public string SeasonFolderFormat { get; set; }
|
2011-03-03 03:16:48 +02:00
|
|
|
|
|
|
|
[DisplayName("Separator Style")]
|
2011-02-26 06:07:22 +02:00
|
|
|
public int SeparatorStyle { get; set; }
|
2011-03-03 03:16:48 +02:00
|
|
|
|
|
|
|
[DisplayName("Numbering Style")]
|
2011-02-26 06:07:22 +02:00
|
|
|
public int NumberStyle { get; set; }
|
2011-03-03 03:16:48 +02:00
|
|
|
|
|
|
|
[DisplayName("Multi-Episode Style")]
|
2011-02-26 06:07:22 +02:00
|
|
|
public int MultiEpisodeStyle { get; set; }
|
2011-03-03 03:16:48 +02:00
|
|
|
|
2011-02-26 06:07:22 +02:00
|
|
|
public SelectList SeparatorStyles { get; set; }
|
|
|
|
public SelectList NumberStyles { get; set; }
|
|
|
|
public SelectList MultiEpisodeStyles { get; set; }
|
|
|
|
}
|
|
|
|
}
|