mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
Changed RunTime to RunTimeInSeconds
This commit is contained in:
parent
7766956274
commit
45cde97a58
@@ -384,14 +384,14 @@ namespace MediaBrowser.Controller.Xml
|
||||
break;
|
||||
|
||||
case "Duration":
|
||||
item.RunTime = TimeSpan.FromMinutes(reader.ReadIntSafe());
|
||||
item.RunTimeInSeconds = reader.ReadIntSafe() * 60;
|
||||
break;
|
||||
|
||||
case "DurationSeconds":
|
||||
int seconds = reader.ReadIntSafe();
|
||||
if (seconds > 0)
|
||||
{
|
||||
item.RunTime = TimeSpan.FromSeconds(seconds);
|
||||
item.RunTimeInSeconds = seconds;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user