strip all bracket tags. fixes #598

This commit is contained in:
Luis Miguel Almánzar
2013-11-02 21:47:14 -04:00
parent ce8821c942
commit 7c45cb3aa5
2 changed files with 5 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ namespace MediaBrowser.Server.Implementations.Library
/// <summary>
/// The MB name regex
/// </summary>
private static readonly Regex MBNameRegex = new Regex(@"(\[boxset\]|\[tmdbid=\d+\]|\[tvdbid=\d+\])", RegexOptions.Compiled);
private static readonly Regex MBNameRegex = new Regex(@"(\[.*?\])", RegexOptions.Compiled);
/// <summary>
/// Strip out attribute items and return just the name we will use for items