home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Films
Bug: exception while importing
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mts" data-source="post: 956537" data-attributes="member: 55872"><p>Hi Guzzi,</p><p> </p><p>I downloaded the sourcecode and fixed it myself.</p><p>There was one bug that a movie was added even though it was excluded because it is case-sensetive:</p><p>Please change:</p><p>[code]AntProcessor.vb function UpdateXML():</p><p> </p><p> Dim XMLExclTable As New Hashtable ' "always ignore" movies</p><p> If (File.Exists(CurrentSettings.Excluded_Movies_File)) Then</p><p> Dim sr As StreamReader = File.OpenText(CurrentSettings.Excluded_Movies_File)</p><p> Dim i As Integer = 0</p><p> Do While sr.Peek() >= 0</p><p> XMLExclTable.Add(i, sr.ReadLine)</p><p> i += 1</p><p> Loop</p><p> sr.Close()</p><p> End If</p><p>[/code]</p><p> </p><p>to:</p><p> </p><p>[code]</p><p>XMLExclTable.Add(i, sr.ReadLine.ToLower)</p><p>[/code]</p><p> </p><p>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.</p><p>A quick and dirty solution whould be to shorten titles to a max-length of around 50 characters.</p><p> </p><p>It breaks here:</p><p>[code]Grab.cs GetFanart()</p><p> </p><p>filename1 = GrabUtil.DownloadBacdropArt(fanartPath, backdrop, wtitle2, multiImage, first, out filename, downloadlimit, resolutionMin, resolutionMax);</p><p> </p><p>in detail:</p><p>pubic ... DownloadBacdropArt()</p><p>...</p><p>var newFile = new FileInfo(filename);</p><p> </p><p>[/code]</p></blockquote><p></p>
[QUOTE="mts, post: 956537, member: 55872"] 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] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Films
Bug: exception while importing
Contact us
RSS
Top
Bottom