mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Hopefully fix issue when importing
existing scene named movies
This commit is contained in:
parent
4f4ad77ad1
commit
7d3118aece
1 changed files with 2 additions and 2 deletions
|
@ -211,14 +211,14 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
|
||||||
|
|
||||||
lowerTitle = lowerTitle.Replace(".", "");
|
lowerTitle = lowerTitle.Replace(".", "");
|
||||||
|
|
||||||
var parserResult = Parser.Parser.ParseMovieTitle(title.Replace(".", ""), true);
|
var parserResult = Parser.Parser.ParseMovieTitle(title, true);
|
||||||
|
|
||||||
var yearTerm = "";
|
var yearTerm = "";
|
||||||
|
|
||||||
if (parserResult != null && parserResult.MovieTitle != title)
|
if (parserResult != null && parserResult.MovieTitle != title)
|
||||||
{
|
{
|
||||||
//Parser found something interesting!
|
//Parser found something interesting!
|
||||||
lowerTitle = parserResult.MovieTitle.ToLower().replace(".", " "); //TODO Update so not every period gets replaced (e.g. R.I.P.D.)
|
lowerTitle = parserResult.MovieTitle.ToLower().Replace(".", " "); //TODO Update so not every period gets replaced (e.g. R.I.P.D.)
|
||||||
if (parserResult.Year > 1800)
|
if (parserResult.Year > 1800)
|
||||||
{
|
{
|
||||||
yearTerm = parserResult.Year.ToString();
|
yearTerm = parserResult.Year.ToString();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue