Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/MP1-4996-Recorded-radio_…
Browse files Browse the repository at this point in the history
…sorting_should_be_changed_to_be_the_same_as_recorded-TV_sorting' into MP_1.25_Pre_Release_Test6v2
  • Loading branch information
Azzuro committed Apr 1, 2020
2 parents ba86117 + 0ba7db6 commit a75bd32
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions TvEngine3/TVLibrary/TvPlugin/TvPlugin/RadioRecorded.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region Copyright (C) 2005-2010 Team MediaPortal
#region Copyright (C) 2005-2020 Team MediaPortal

// Copyright (C) 2005-2010 Team MediaPortal
// Copyright (C) 2005-2020 Team MediaPortal
// http://www.team-mediaportal.com
//
// MediaPortal is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -1603,6 +1603,8 @@ public int Compare(GUIListItem item1, GUIListItem item2)
{
return 1;
}

/* MP1-4996: This code forces folders to the start of the list -- CyberSimian
if (item1.IsFolder && !item2.IsFolder)
{
return -1;
Expand All @@ -1611,6 +1613,7 @@ public int Compare(GUIListItem item1, GUIListItem item2)
{
return 1;
}
*/

int iComp = 0;
TimeSpan ts;
Expand Down

0 comments on commit a75bd32

Please sign in to comment.