Jimboscrazy / embermediamanager

Automatically exported from code.google.com/p/embermediamanager
1 stars 0 forks source link

Re-Scrape IMDb deletes fanart and poster #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If i click Re-Scrape IMDb it deletes the fanart, movie.tbn and folder.jpg.
Why? Makes no sense to me.

Original issue reported on code.google.com by Walhalla...@gmail.com on 7 Jun 2009 at 9:54

GoogleCodeExporter commented 9 years ago
I just saw that its not happening with all movies.

Its happening on for example 50 First Dates and 27 Dresses. He also doesn't 
scrape
the cast

Here you got the error log :

Title: Error
Message: InvalidArgument=Value mit dem Wert -1 ist für index ungültig.
Parametername: index
StackTrace:    bei System.Windows.Forms.CheckedListBox.SetItemCheckState(Int32 
index,
CheckState value)
   bei Ember_Media_Manager.dlgEditMovie.FillInfo()
Date/Time: 07.06.2009 12:03:23

Original comment by Walhalla...@gmail.com on 7 Jun 2009 at 10:06

GoogleCodeExporter commented 9 years ago
Sorry .. double post in Forum
Patch
Index: dlgEditMovie.vb
===================================================================
--- dlgEditMovie.vb (revision 258)
+++ dlgEditMovie.vb (working copy)
@@ -421,7 +421,9 @@
                     Dim genreArray() As String
                     genreArray = Strings.Split(Master.currMovie.Genre, " / ")
                     For g As Integer = 0 To UBound(genreArray)
-                       
.lbGenre.SetItemChecked(.lbGenre.FindString(Strings.Trim(genreArray(g))), True)
+                        If .lbGenre.FindString(Strings.Trim(genreArray(g))) > 
0 Then
+                           
.lbGenre.SetItemChecked(.lbGenre.FindString(Strings.Trim(genreArray(g))), True)
+                        End If
                     Next

                     If .lbGenre.CheckedItems.Count = 0 Then

Original comment by nfnovais@gmail.com on 7 Jun 2009 at 3:52

GoogleCodeExporter commented 9 years ago
Fixed for next release (thanks Nuno/nfnovais). I'll try to get a bug fix 
release out
later tonight as this is a pretty serious issue.

Original comment by jason.schnitzler on 7 Jun 2009 at 5:14

GoogleCodeExporter commented 9 years ago

Original comment by jason.schnitzler on 14 Jun 2009 at 8:52