mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
fixes #525 - Edit Run Time through Web Dashboard
This commit is contained in:
parent
b1fd832c72
commit
041a1aece4
@ -33,6 +33,10 @@ namespace MediaBrowser.Model.Entities
|
||||
/// <summary>
|
||||
/// The overview
|
||||
/// </summary>
|
||||
Overview
|
||||
Overview,
|
||||
/// <summary>
|
||||
/// The runtime
|
||||
/// </summary>
|
||||
Runtime
|
||||
}
|
||||
}
|
||||
|
@ -365,7 +365,10 @@ namespace MediaBrowser.Providers.TV
|
||||
if (series.PremiereDate.HasValue)
|
||||
series.ProductionYear = series.PremiereDate.Value.Year;
|
||||
|
||||
series.RunTimeTicks = TimeSpan.FromMinutes(doc.SafeGetInt32("//Runtime")).Ticks;
|
||||
if (!series.LockedFields.Contains(MetadataFields.Runtime))
|
||||
{
|
||||
series.RunTimeTicks = TimeSpan.FromMinutes(doc.SafeGetInt32("//Runtime")).Ticks;
|
||||
}
|
||||
|
||||
if (!series.LockedFields.Contains(MetadataFields.Studios))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user