Fixed: WDTV metadata title for episode uses 2 digit episode number

pull/178/head
Mark McDowall 10 years ago
parent d277420849
commit f1f19d5365

@ -165,7 +165,7 @@ namespace NzbDrone.Core.Metadata.Consumers.Wdtv
var details = new XElement("details");
details.Add(new XElement("id", series.Id));
details.Add(new XElement("title", String.Format("{0} - {1}x{2} - {3}", series.Title, episode.SeasonNumber, episode.EpisodeNumber, episode.Title)));
details.Add(new XElement("title", String.Format("{0} - {1}x{2:00} - {3}", series.Title, episode.SeasonNumber, episode.EpisodeNumber, episode.Title)));
details.Add(new XElement("series_name", series.Title));
details.Add(new XElement("episode_name", episode.Title));
details.Add(new XElement("season_number", episode.SeasonNumber.ToString("00")));

Loading…
Cancel
Save