You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.0 KiB
38 lines
1.0 KiB
using NzbDrone.Common.Extensions;
|
|
using NzbDrone.Core.Qualities;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using NzbDrone.Core.Languages;
|
|
|
|
namespace NzbDrone.Core.Parser.Model
|
|
{
|
|
public class ParsedAlbumInfo
|
|
{
|
|
public string AlbumTitle { get; set; }
|
|
public string ArtistName { get; set; }
|
|
public ArtistTitleInfo ArtistTitleInfo { get; set; }
|
|
public QualityModel Quality { get; set; }
|
|
public string ReleaseDate { get; set; }
|
|
public Language Language { get; set; }
|
|
public string ReleaseGroup { get; set; }
|
|
public string ReleaseHash { get; set; }
|
|
public string ReleaseVersion { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
string albumString = "[Unknown Album]";
|
|
|
|
|
|
if (AlbumTitle != null )
|
|
{
|
|
albumString = string.Format("{0}", AlbumTitle);
|
|
}
|
|
|
|
|
|
return string.Format("{0} - {1} {2}", ArtistName, albumString, Quality);
|
|
}
|
|
}
|
|
}
|