Open GoogleCodeExporter opened 9 years ago
The exception gets thrown from line 39 in Movies/OnlineParserTMDB.cs
This seems to happen when one of the search results has an empty release node
such as
"<release></release>"
I made this change to the code:
if ((node.SelectSingleNode("release") != null) &&
(node.SelectSingleNode("release").InnerText != string.Empty))
{
year = Int32.Parse(node.SelectSingleNode("release").InnerText.Substring(0, 4));
}
and recompiled and it seems to have fixed the issue.
Original comment by far2cle...@gmail.com
on 1 Jun 2010 at 9:02
same problem to me with the same release (2.1.3732.32766, Windows XP SP3 32bit
x86).
this problem comes out also when the popup is not shown, just on filename scan.
Original comment by albem...@gmail.com
on 4 Jun 2010 at 8:55
same issue in 2.1.3732.32766. happens to about 1/3 movie files.
Original comment by hoff0...@gmail.com
on 24 Sep 2010 at 10:36
I also needed to add a trap in Movies/OnlineParserTMDB.cs for:
"md.Name = node.SelectSingleNode("title").InnerText;"
I changed it to:
if ((node.SelectSingleNode("title") != null) &&
(node.SelectSingleNode("title").InnerText != string.Empty))
{
md.Name = node.SelectSingleNode("title").InnerText;
}
else
{
md.Name = "nothing";
}
It kept failing as previously described due to a bad
"node.SelectSingleNode("title")" value.
Original comment by mrfres...@gmail.com
on 7 Oct 2010 at 12:52
Original issue reported on code.google.com by
saash...@gmail.com
on 8 May 2010 at 7:33Attachments: