Added a completely separate DTOBaseItem to remove the ApiBaseItemWrapper mess and shrink json output size.

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-08-18 04:22:54 -04:00
parent f32f000298
commit 7835d690a1
31 changed files with 587 additions and 370 deletions

View File

@@ -71,7 +71,7 @@ namespace MediaBrowser.TV.Metadata
int runtime;
if (int.TryParse(text.Split(' ')[0], out runtime))
{
item.RunTimeInMilliseconds = runtime * 60000;
item.RunTimeTicks = TimeSpan.FromMinutes(runtime).Ticks;
}
}
break;