test 1 - movie testing

Post any feedback, problems and bugs from the Pre-Alpha releases here.

Moderator: Spudsdude

Re:test 1 - movie testing

Postby Spudsdude » Fri Oct 09, 2009 2:13 am

Wait till Nicezia gets the scraper integration completed, the ones I added in are just a handful of what's available. He did an awesome job with scraperXML and the scraper editor.

I've been working on getting a few more scrapers created for the sites I used in MIP as well.
The cool part is they work in xbmc and umm.

mafis90 and bliblablo are working on the web gui, i haven't seen a recent build but the last one i did see is very cool.

The current ui's are just what i've been using to test the core as I add features and rework areas. It's look is similar to MIP as I usually have both open to do a quick visual on things between the two. m

euphoric is working on the form based ui, and that one's very cool.
User avatar
Spudsdude
Team umX Developer
Team umX Developer
 
Posts: 440
Joined: Fri Sep 04, 2009 9:06 pm

Re: test 1 - movie testing

Postby Reginald » Wed Oct 14, 2009 1:08 pm

Just did a little more testing, I added a couple other shows in the tv directory:
How I Met Your Mother and Warehouse 13

Both scrape fine, pull down everything except episode tumbs. I put Bones in the directory and it skips the folder, it looks like this:

tv
>Bones
>>Season 5
>>>Bones.S05E01.720p.HDTV.x264-SiTV.mkv
>>>Bones.S05E02.HDTV.XviD-NoTV.[VTV].avi
Reginald
Official Tester
Official Tester
 
Posts: 12
Joined: Mon Sep 21, 2009 12:46 pm
Location: Lansing, MI

Re: test 1 - movie testing

Postby Spudsdude » Wed Oct 14, 2009 6:19 pm

Reginald wrote:Just did a little more testing, I added a couple other shows in the tv directory:
How I Met Your Mother and Warehouse 13

Both scrape fine, pull down everything except episode tumbs. I put Bones in the directory and it skips the folder, it looks like this:

tv
>Bones
>>Season 5
>>>Bones.S05E01.720p.HDTV.x264-SiTV.mkv
>>>Bones.S05E02.HDTV.XviD-NoTV.[VTV].avi


tv shows are not ready yet, the next release will have the log info that i'll need to track this one down.
please add a trac bug for missing loading info and add as much detail as ya can (above info is good)
User avatar
Spudsdude
Team umX Developer
Team umX Developer
 
Posts: 440
Joined: Fri Sep 04, 2009 9:06 pm

Re: test 1 - movie testing

Postby RickyC » Tue Oct 27, 2009 8:57 pm

1) scan directory's and load movies

I get one inhandled exception.....
String was not recognize as a valid DateTime
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: String was not recognized as a valid DateTime.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at System.Convert.ToDateTime(String value, IFormatProvider provider)
at System.String.System.IConvertible.ToDateTime(IFormatProvider provider)
at System.Convert.ToDateTime(Object value)
at umm.database.sqlite.dbConvertToDateTime(Object curObj)
at umm.database.sqlite.loadMovieFromDatabase(fullMovieDetails& curMovie, ummconfiguration& curconf)
at umm.loader.processMovie(Int32 _type, fullMovieDetails& newmovie, filestats _fileStat, String _mname, String _cleanname, ummconfiguration& curconf, String _tdirectory, dalmain& curDal, String& _previous_filename, String& _previous_key, Dictionary`2& movies_dictionary, Boolean& quickScan)
at umm.loader.loadFolderLevelMovies(ummconfiguration& curconf, Int32& curcount, Int32& currentindex, dalmain& curDal, Dictionary`2& movies_dictionary, Boolean& quickScan)
at umm.loader.loadMovies(ummconfiguration& curconf, Dictionary`2& movies_dictionary, Boolean& quickScan)
at umm.api.dotNetAPI.movieLoadMovies(Boolean quickScan)
at devtestform.frmUMMTestForm.Loadmovies()
at devtestform.frmUMMTestForm.tsbtn_loadMovies_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ummClient
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/umm/ummClient.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
umm
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/umm/umm.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
zhyg5mv1
Assembly Version: 1.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Data.SQLite
Assembly Version: 1.0.65.0
Win32 Version: 1.0.65.0
CodeBase: file:///C:/Program%20Files/umm/System.Data.SQLite.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

I'm running winxp sp3 with .Net Framework 3.5 SP1 and my computer i behind a proxy server.
RickyC
Official Tester
Official Tester
 
Posts: 4
Joined: Thu Oct 08, 2009 5:58 pm

Re: test 1 - movie testing

Postby Montellese » Tue Oct 27, 2009 9:08 pm

Which build are you using?
User avatar
Montellese
Team umX Developer
Team umX Developer
 
Posts: 288
Joined: Sat Sep 05, 2009 6:15 am
Location: Oberuzwil (CH)

Re: test 1 - movie testing

Postby RickyC » Wed Oct 28, 2009 1:16 pm

build 239 - pre-alpha2.

I try to run the app on Windows 7 Entreprise x86 and it work fine, but on xp i continue to have that problem.
RickyC
Official Tester
Official Tester
 
Posts: 4
Joined: Thu Oct 08, 2009 5:58 pm

Re: test 1 - movie testing

Postby Montellese » Wed Oct 28, 2009 2:06 pm

I took a short look at the code causing the exception (I haven't coded it so I'm just guessing around) and the only way this exception is thrown is if there is a wrong date in the movie database.

There are 3 things I can think of right now:
1. Send us your movie database file (under C:\Program Files\umm\db) so whe can check the values mentioned in the 2. option (right below this one).
2. You open the movie database with an SQLite Database Tool (there is a firefox addon which can do that) and inspect the table "movieBasicMovieInfo" yourself. There are 3 columns storing a date: Creation, LastModified and LastScraped. In one of the entries one of the 3 columns must contain a wrong DateTime value.
3. You delete the movie database and rescan your movie sources. I guess that's also the reason why it works on Windows 7 because you don't use the same database.

I would prefer to inspect the database myself (or let Spudsdude do it). Maybe create a backup of the movie db the way it is now (broken), send it to us and delete the original one (as recommended in option 3) and then see if this solves the problem.
User avatar
Montellese
Team umX Developer
Team umX Developer
 
Posts: 288
Joined: Sat Sep 05, 2009 6:15 am
Location: Oberuzwil (CH)

Re: test 1 - movie testing

Postby Montellese » Wed Oct 28, 2009 4:57 pm

OK I just manually changed one of the movies in my database so that the value of one of the dates is invalid and then I get the same exception as you posted.

@Spudsdude: I have already fixed that in SVN by catching the exception. But why are these database fields of type "text" and not of type "DATETIME"? This would already prevent invalid values from getting into the database.
User avatar
Montellese
Team umX Developer
Team umX Developer
 
Posts: 288
Joined: Sat Sep 05, 2009 6:15 am
Location: Oberuzwil (CH)

Re: test 1 - movie testing

Postby Spudsdude » Wed Oct 28, 2009 5:05 pm

Montellese wrote:OK I just manually changed one of the movies in my database so that the value of one of the dates is invalid and then I get the same exception as you posted.

@Spudsdude: I have already fixed that in SVN by catching the exception. But why are these database fields of type "text" and not of type "DATETIME"? This would already prevent invalid values from getting into the database.


sqlite stores basic types of data, so it doesn't matter what we call the field type, it's stored as text.
only the following types are actually stored: text, numeric, blob, int (primary key)

here's the official info on what's stored
Each value stored in an SQLite database (or manipulated by the database engine) has one of the following storage classes:

NULL. The value is a NULL value.
INTEGER. The value is a signed integer, stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of the value.
REAL. The value is a floating point value, stored as an 8-byte IEEE floating point number.
TEXT. The value is a text string, stored using the database encoding (UTF-8, UTF-16BE or UTF-16-LE).
BLOB. The value is a blob of data, stored exactly as it was input.

Any column in a version 3 database, except an INTEGER PRIMARY KEY column, may be used to store any type of value.
User avatar
Spudsdude
Team umX Developer
Team umX Developer
 
Posts: 440
Joined: Fri Sep 04, 2009 9:06 pm

Re: test 1 - movie testing

Postby RickyC » Wed Oct 28, 2009 6:14 pm

You're right, there was a problem in the database the column lastScrapedDateTime had the following value for all entries 01-01-0001 00:00:00.

I deleted the database and recanned the share and now is working.

Thanks i will resume my testing.
RickyC
Official Tester
Official Tester
 
Posts: 4
Joined: Thu Oct 08, 2009 5:58 pm

Re: test 1 - movie testing

Postby Vampirebat » Wed Oct 28, 2009 7:19 pm

everything seems ok for the most part with this new revision
all my movies scanned into the database (none were missing)
actors list is working.(box for actors is a bit over sized but thats a UI isssue not a function issue)
all movies i scanned pulled thumbs and fanart (tho some images never loaded on a few movies)
Vampirebat
Team umX Designer
Team umX Designer
 
Posts: 20
Joined: Sat Sep 05, 2009 3:02 pm

Previous

Return to Pre-Alpha

Who is online

Users browsing this forum: No registered users and 1 guest

cron