aboutsummaryrefslogtreecommitdiff
path: root/Emby.Notifications/NotificationEntryPoint.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Notifications/NotificationEntryPoint.cs')
-rw-r--r--Emby.Notifications/NotificationEntryPoint.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/Emby.Notifications/NotificationEntryPoint.cs b/Emby.Notifications/NotificationEntryPoint.cs
index ab92822fa..befecc570 100644
--- a/Emby.Notifications/NotificationEntryPoint.cs
+++ b/Emby.Notifications/NotificationEntryPoint.cs
@@ -227,7 +227,12 @@ namespace Emby.Notifications
}
}
- private static string GetItemName(BaseItem item)
+ /// <summary>
+ /// Creates a human readable name for the item.
+ /// </summary>
+ /// <param name="item">The item.</param>
+ /// <returns>A human readable name for the item.</returns>
+ public static string GetItemName(BaseItem item)
{
var name = item.Name;
if (item is Episode episode)
@@ -298,7 +303,7 @@ namespace Emby.Notifications
}
/// <summary>
- /// Releases unmanaged and - optionally - managed resources.
+ /// Releases unmanaged and optionally managed resources.
/// </summary>
/// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
protected virtual void Dispose(bool disposing)