Normal
Hi Guzzi, I downloaded the sourcecode and fixed it myself.There was one bug that a movie was added even though it was excluded because it is case-sensetive:Please change:[code]AntProcessor.vb function UpdateXML(): Dim XMLExclTable As New Hashtable ' "always ignore" movies If (File.Exists(CurrentSettings.Excluded_Movies_File)) Then Dim sr As StreamReader = File.OpenText(CurrentSettings.Excluded_Movies_File) Dim i As Integer = 0 Do While sr.Peek() >= 0 XMLExclTable.Add(i, sr.ReadLine) i += 1 Loop sr.Close() End If[/code] to: [code]XMLExclTable.Add(i, sr.ReadLine.ToLower)[/code] The problem with the movie "Borrat" is, that the german title is "Borat - Kulturelle Lernung von Amerika um Benefiz für glorreiche Nation von Kasachstan zu machen" which is quite long and when you try to store the fanart, the total path is to long.A quick and dirty solution whould be to shorten titles to a max-length of around 50 characters. It breaks here:[code]Grab.cs GetFanart() filename1 = GrabUtil.DownloadBacdropArt(fanartPath, backdrop, wtitle2, multiImage, first, out filename, downloadlimit, resolutionMin, resolutionMax); in detail:pubic ... DownloadBacdropArt()...var newFile = new FileInfo(filename); [/code]
Hi Guzzi,
I downloaded the sourcecode and fixed it myself.
There was one bug that a movie was added even though it was excluded because it is case-sensetive:
Please change:
[code]AntProcessor.vb function UpdateXML():
Dim XMLExclTable As New Hashtable ' "always ignore" movies
If (File.Exists(CurrentSettings.Excluded_Movies_File)) Then
Dim sr As StreamReader = File.OpenText(CurrentSettings.Excluded_Movies_File)
Dim i As Integer = 0
Do While sr.Peek() >= 0
XMLExclTable.Add(i, sr.ReadLine)
i += 1
Loop
sr.Close()
End If
[/code]
to:
[code]
XMLExclTable.Add(i, sr.ReadLine.ToLower)
The problem with the movie "Borrat" is, that the german title is "Borat - Kulturelle Lernung von Amerika um Benefiz für glorreiche Nation von Kasachstan zu machen" which is quite long and when you try to store the fanart, the total path is to long.
A quick and dirty solution whould be to shorten titles to a max-length of around 50 characters.
It breaks here:
[code]Grab.cs GetFanart()
filename1 = GrabUtil.DownloadBacdropArt(fanartPath, backdrop, wtitle2, multiImage, first, out filename, downloadlimit, resolutionMin, resolutionMax);
in detail:
pubic ... DownloadBacdropArt()
...
var newFile = new FileInfo(filename);