update multi-version preferences

pull/1154/head
Luke Pulverenti 8 years ago
parent ba22934570
commit 6e4074ab8a

@ -1,4 +1,5 @@
using MediaBrowser.Model.MediaInfo;
using System;
using MediaBrowser.Model.MediaInfo;
using MediaBrowser.Model.Session;
using System.Collections.Generic;
using System.Linq;
@ -47,16 +48,11 @@ namespace MediaBrowser.Model.Dlna
{
if (i.MediaSource.Bitrate.HasValue)
{
if (i.MediaSource.Bitrate.Value <= maxBitrate.Value)
{
return 0;
}
return 2;
return Math.Abs(i.MediaSource.Bitrate.Value - maxBitrate.Value);
}
}
return 1;
return 0;
}).ToList();
}

Loading…
Cancel
Save