mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07: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 @@ namespace NzbDrone.Core.NetImport.IMDbWatchList
|
||||||
|
|
||||||
foreach (var result in responseData)
|
foreach (var result in responseData)
|
||||||
{
|
{
|
||||||
|
var title = Parser.Parser.ParseMovieTitle(result.Title, false);
|
||||||
|
|
||||||
torrentInfos.Add(new Movie()
|
torrentInfos.Add(new Movie()
|
||||||
{
|
{
|
||||||
Title = Parser.Parser.ParseMovieTitle(result.Title, false).MovieTitle,
|
Title = title.MovieTitle,
|
||||||
Year = Parser.Parser.ParseMovieTitle(result.Title, false).Year,
|
Year = title.Year,
|
||||||
ImdbId = Parser.Parser.ParseImdbId(result.Link).ToString()
|
ImdbId = Parser.Parser.ParseImdbId(result.Link)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -122,6 +122,7 @@
|
||||||
<Compile Include="Authentication\User.cs" />
|
<Compile Include="Authentication\User.cs" />
|
||||||
<Compile Include="Authentication\UserRepository.cs" />
|
<Compile Include="Authentication\UserRepository.cs" />
|
||||||
<Compile Include="Authentication\UserService.cs" />
|
<Compile Include="Authentication\UserService.cs" />
|
||||||
|
<Compile Include="Datastore\Migration\119_create_netimport_table.cs" />
|
||||||
<Compile Include="NetImport\Exceptions\NetImportException.cs" />
|
<Compile Include="NetImport\Exceptions\NetImportException.cs" />
|
||||||
<Compile Include="NetImport\HttpNetImportBase.cs" />
|
<Compile Include="NetImport\HttpNetImportBase.cs" />
|
||||||
<Compile Include="NetImport\IProcessNetImportResponse.cs" />
|
<Compile Include="NetImport\IProcessNetImportResponse.cs" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue