mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
fix artist editor
This commit is contained in:
@@ -54,7 +54,7 @@ namespace MediaBrowser.Controller.Library
|
||||
}
|
||||
}
|
||||
|
||||
class TextComparer : IComparer<string>, IEqualityComparer<string>
|
||||
public class DistinctNameComparer : IComparer<string>, IEqualityComparer<string>
|
||||
{
|
||||
public int Compare(string x, string y)
|
||||
{
|
||||
@@ -63,7 +63,7 @@ namespace MediaBrowser.Controller.Library
|
||||
return 0;
|
||||
}
|
||||
|
||||
return string.Compare(x, y, CultureInfo.InvariantCulture, CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace);
|
||||
return string.Compare(x.RemoveDiacritics(), y.RemoveDiacritics(), StringComparison.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
public bool Equals(string x, string y)
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MediaBrowser.Controller.LiveTv
|
||||
{
|
||||
public interface IHasRegistrationInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the registration information.
|
||||
/// </summary>
|
||||
/// <param name="feature">The feature.</param>
|
||||
/// <returns>Task<MBRegistrationRecord>.</returns>
|
||||
Task<MBRegistrationRecord> GetRegistrationInfo(string feature);
|
||||
}
|
||||
}
|
||||
@@ -364,11 +364,9 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// <summary>
|
||||
/// Gets the registration information.
|
||||
/// </summary>
|
||||
/// <param name="channelId">The channel identifier.</param>
|
||||
/// <param name="programId">The program identifier.</param>
|
||||
/// <param name="feature">The feature.</param>
|
||||
/// <returns>Task<MBRegistrationRecord>.</returns>
|
||||
Task<MBRegistrationRecord> GetRegistrationInfo(string channelId, string programId, string feature);
|
||||
Task<MBRegistrationRecord> GetRegistrationInfo(string feature);
|
||||
|
||||
/// <summary>
|
||||
/// Adds the channel information.
|
||||
|
||||
@@ -199,7 +199,6 @@
|
||||
<Compile Include="Library\NameExtensions.cs" />
|
||||
<Compile Include="Library\PlaybackStopEventArgs.cs" />
|
||||
<Compile Include="Library\UserDataSaveEventArgs.cs" />
|
||||
<Compile Include="LiveTv\IHasRegistrationInfo.cs" />
|
||||
<Compile Include="LiveTv\IListingsProvider.cs" />
|
||||
<Compile Include="LiveTv\ITunerHost.cs" />
|
||||
<Compile Include="LiveTv\RecordingGroup.cs" />
|
||||
|
||||
Reference in New Issue
Block a user