mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
added artist/slbum xml savers
This commit is contained in:
@@ -1142,6 +1142,19 @@ namespace MediaBrowser.Controller.Entities
|
||||
}
|
||||
}
|
||||
|
||||
public void AddTag(string name)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(name))
|
||||
{
|
||||
throw new ArgumentNullException("name");
|
||||
}
|
||||
|
||||
if (!Tags.Contains(name, StringComparer.OrdinalIgnoreCase))
|
||||
{
|
||||
Tags.Add(name);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds a tagline to the item
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user