mirror of
https://github.com/Radarr/Radarr
synced 2026-02-16 19:53:52 +01:00
whoops, only parse title once
This commit is contained in:
parent
ec1c81e3ed
commit
6878abe2a2
2 changed files with 6 additions and 3 deletions
|
|
@ -40,11 +40,13 @@ public IList<Movie> ParseResponse(NetImportResponse netImportResponse)
|
|||
|
||||
foreach (var result in responseData)
|
||||
{
|
||||
var title = Parser.Parser.ParseMovieTitle(result.Title, false);
|
||||
|
||||
torrentInfos.Add(new Movie()
|
||||
{
|
||||
Title = Parser.Parser.ParseMovieTitle(result.Title, false).MovieTitle,
|
||||
Year = Parser.Parser.ParseMovieTitle(result.Title, false).Year,
|
||||
ImdbId = Parser.Parser.ParseImdbId(result.Link).ToString()
|
||||
Title = title.MovieTitle,
|
||||
Year = title.Year,
|
||||
ImdbId = Parser.Parser.ParseImdbId(result.Link)
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -122,6 +122,7 @@
|
|||
<Compile Include="Authentication\User.cs" />
|
||||
<Compile Include="Authentication\UserRepository.cs" />
|
||||
<Compile Include="Authentication\UserService.cs" />
|
||||
<Compile Include="Datastore\Migration\119_create_netimport_table.cs" />
|
||||
<Compile Include="NetImport\Exceptions\NetImportException.cs" />
|
||||
<Compile Include="NetImport\HttpNetImportBase.cs" />
|
||||
<Compile Include="NetImport\IProcessNetImportResponse.cs" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue