mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 08:15:28 +03:00
Fixed some project fragmentation that came from efforts to go portable
This commit is contained in:
parent
7d48e20aea
commit
d4c75e3974
@@ -384,14 +384,14 @@ namespace MediaBrowser.Controller.Xml
|
||||
break;
|
||||
|
||||
case "Duration":
|
||||
item.RunTimeInSeconds = reader.ReadIntSafe() * 60;
|
||||
item.RunTimeInMilliseconds = reader.ReadIntSafe() * 60000;
|
||||
break;
|
||||
|
||||
case "DurationSeconds":
|
||||
int seconds = reader.ReadIntSafe();
|
||||
if (seconds > 0)
|
||||
{
|
||||
item.RunTimeInSeconds = seconds;
|
||||
item.RunTimeInMilliseconds = seconds * 1000;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user