mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-22 11:08:02 +00:00
improve support for name (original title).ext
This commit is contained in:
@@ -100,6 +100,12 @@ namespace MediaBrowser.Providers.Movies
|
||||
name = name.Replace("!", " ");
|
||||
name = name.Replace("?", " ");
|
||||
|
||||
var parenthIndex = name.IndexOf('(');
|
||||
if (parenthIndex != -1)
|
||||
{
|
||||
name = name.Substring(0, parenthIndex);
|
||||
}
|
||||
|
||||
name = name.Trim();
|
||||
|
||||
// Search again if the new name is different
|
||||
|
||||
Reference in New Issue
Block a user