mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
revert single/multi transition. too risky for now.
This commit is contained in:
@@ -43,19 +43,6 @@ namespace MediaBrowser.Common.Extensions
|
||||
/// <param name="type">The type.</param>
|
||||
/// <returns>Guid.</returns>
|
||||
public static Guid GetMBId(this string str, Type type)
|
||||
{
|
||||
return str.GetMBId(type, false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the MB id.
|
||||
/// </summary>
|
||||
/// <param name="str">The STR.</param>
|
||||
/// <param name="type">The type.</param>
|
||||
/// <param name="isInMixedFolder">if set to <c>true</c> [is in mixed folder].</param>
|
||||
/// <returns>Guid.</returns>
|
||||
/// <exception cref="System.ArgumentNullException">type</exception>
|
||||
public static Guid GetMBId(this string str, Type type, bool isInMixedFolder)
|
||||
{
|
||||
if (type == null)
|
||||
{
|
||||
@@ -64,11 +51,6 @@ namespace MediaBrowser.Common.Extensions
|
||||
|
||||
var key = type.FullName + str.ToLower();
|
||||
|
||||
if (isInMixedFolder)
|
||||
{
|
||||
key += "InMixedFolder";
|
||||
}
|
||||
|
||||
return key.GetMD5();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user