mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixed: WDTV Metadata will be created padding season/episode numbers to two digits
This commit is contained in:
parent
a882aaf6ac
commit
d4ccbda99f
@ -168,8 +168,8 @@ public override MetadataFileResult EpisodeMetadata(Series series, EpisodeFile ep
|
||||
details.Add(new XElement("title", String.Format("{0} - {1}x{2} - {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));
|
||||
details.Add(new XElement("episode_number", episode.EpisodeNumber));
|
||||
details.Add(new XElement("season_number", episode.SeasonNumber.ToString("00")));
|
||||
details.Add(new XElement("episode_number", episode.EpisodeNumber.ToString("00")));
|
||||
details.Add(new XElement("firstaired", episode.AirDate));
|
||||
details.Add(new XElement("genre", String.Join(" / ", series.Genres)));
|
||||
details.Add(new XElement("actor", String.Join(" / ", series.Actors.ConvertAll(c => c.Name + " - " + c.Character))));
|
||||
|
Loading…
Reference in New Issue
Block a user