aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-15 23:39:15 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-15 23:39:15 -0400
commitf3d91af166cc99d1586a204c5993044ac0fddf34 (patch)
tree32f600776c51f86a0ccfe2f3b6607473ba5b02f2
parentdf9df5194f0d031c90f11c841a607eb4bb3e759b (diff)
consolidated detail page sections
-rw-r--r--MediaBrowser.Api/LibraryService.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Api/LibraryService.cs b/MediaBrowser.Api/LibraryService.cs
index 83c2ccb12..87bf08e63 100644
--- a/MediaBrowser.Api/LibraryService.cs
+++ b/MediaBrowser.Api/LibraryService.cs
@@ -434,16 +434,16 @@ namespace MediaBrowser.Api
{
var diff = Math.Abs(item1.ProductionYear.Value - item2.ProductionYear.Value);
- // Add a point if they came out within the same decade
+ // Add if they came out within the same decade
if (diff < 10)
{
- points += 1;
+ points += 3;
}
- // And another if within five years
+ // And more if within five years
if (diff < 5)
{
- points += 1;
+ points += 3;
}
}