Fixed some project fragmentation that came from efforts to go portable

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-07-30 23:38:00 -04:00
parent 7d48e20aea
commit d4c75e3974
20 changed files with 47 additions and 152 deletions

View File

@@ -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;