update nfo savers
This commit is contained in:
parent
c401761f91
commit
02398e7789
|
@ -48,7 +48,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||||
{
|
{
|
||||||
var formatString = ConfigurationManager.GetNfoConfiguration().ReleaseDateFormat;
|
var formatString = ConfigurationManager.GetNfoConfiguration().ReleaseDateFormat;
|
||||||
|
|
||||||
writer.WriteElementString("disbanded", artist.EndDate.Value.ToString(formatString));
|
writer.WriteElementString("disbanded", artist.EndDate.Value.ToLocalTime().ToString(formatString));
|
||||||
}
|
}
|
||||||
|
|
||||||
var albums = artist
|
var albums = artist
|
||||||
|
|
|
@ -626,12 +626,12 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||||
|
|
||||||
if (item is MusicArtist)
|
if (item is MusicArtist)
|
||||||
{
|
{
|
||||||
writer.WriteElementString("formed", item.PremiereDate.Value.ToString(formatString));
|
writer.WriteElementString("formed", item.PremiereDate.Value.ToLocalTime().ToString(formatString));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
writer.WriteElementString("premiered", item.PremiereDate.Value.ToString(formatString));
|
writer.WriteElementString("premiered", item.PremiereDate.Value.ToLocalTime().ToString(formatString));
|
||||||
writer.WriteElementString("releasedate", item.PremiereDate.Value.ToString(formatString));
|
writer.WriteElementString("releasedate", item.PremiereDate.Value.ToLocalTime().ToString(formatString));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -641,7 +641,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||||
{
|
{
|
||||||
var formatString = options.ReleaseDateFormat;
|
var formatString = options.ReleaseDateFormat;
|
||||||
|
|
||||||
writer.WriteElementString("enddate", item.EndDate.Value.ToString(formatString));
|
writer.WriteElementString("enddate", item.EndDate.Value.ToLocalTime().ToString(formatString));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||||
{
|
{
|
||||||
var formatString = ConfigurationManager.GetNfoConfiguration().ReleaseDateFormat;
|
var formatString = ConfigurationManager.GetNfoConfiguration().ReleaseDateFormat;
|
||||||
|
|
||||||
writer.WriteElementString("aired", episode.PremiereDate.Value.ToString(formatString));
|
writer.WriteElementString("aired", episode.PremiereDate.Value.ToLocalTime().ToString(formatString));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (episode.AirsAfterSeasonNumber.HasValue)
|
if (episode.AirsAfterSeasonNumber.HasValue)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user