Patch/galileo fixes (#951)

* Update to ParseMovieTitle

* update default server to gmail to relfect other changes
Devin Buhl 8 years ago committed by GitHub
parent 6bbe55a46c
commit 1c086b057a

@ -154,9 +154,9 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
{ {
var title = Parser.Parser.RemoveFileExtension(downloadClientItem.Title); var title = Parser.Parser.RemoveFileExtension(downloadClientItem.Title);
var parsedTitle = Parser.Parser.ParseTitle(title); var parsedTitle = Parser.Parser.ParseMovieTitle(title);
if (parsedTitle != null && !parsedTitle.FullSeason) if (parsedTitle != null)
{ {
return title; return title;
} }

@ -22,6 +22,7 @@ namespace NzbDrone.Core.Notifications.Email
public EmailSettings() public EmailSettings()
{ {
Server = "stmp.google.com";
Port = 587; Port = 587;
Ssl = true; Ssl = true;
} }

@ -9,12 +9,12 @@
if (!title.Contains(".")) return false; if (!title.Contains(".")) return false;
if (title.Contains(" ")) return false; if (title.Contains(" ")) return false;
var parsedTitle = Parser.ParseTitle(title); var parsedTitle = Parser.ParseMovieTitle(title);
if (parsedTitle == null || if (parsedTitle == null ||
parsedTitle.ReleaseGroup == null || parsedTitle.ReleaseGroup == null ||
parsedTitle.Quality.Quality == Qualities.Quality.Unknown || parsedTitle.Quality.Quality == Qualities.Quality.Unknown ||
string.IsNullOrWhiteSpace(parsedTitle.SeriesTitle)) string.IsNullOrWhiteSpace(parsedTitle.MovieTitle))
{ {
return false; return false;
} }

Loading…
Cancel
Save