Kodi Community Forum
Media Info Plus - Manage your Movies, Shows, Tunes, NFO and more (Open Source VB.NET) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Media Info Plus - Manage your Movies, Shows, Tunes, NFO and more (Open Source VB.NET) (/showthread.php?tid=47071)



- fekker - 2009-04-02

Ayla Wrote:fekker,

Using latest build: 2831, trying only to update media information, I get this error:

--------------------------------------------------
System.IO.IOException: Syntax in filename, folder or disk name is wrong.

ved System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
ved System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
ved System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
ved System.IO.StreamWriter.CreateFile(String path, Boolean append)
ved System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
ved System.IO.StreamWriter..ctor(String path)
ved movieinfoplus.mip.mov.Mov.writeMovXML(String folder, String filename)
ved movieinfoplus.movie.saveimdb2(movie& tmovie, Boolean writemovienfo, Boolean writemovienamedotnfo)
ved movieinfoplus.maincollection.autopilot(String primary, String secondary, Boolean posterTru, Boolean fanartTru, Boolean tbnTru, Boolean nfoTru, Boolean overwritenfoTru, Boolean replaceexsistingfolderimage, Boolean mediaonly)
ved movieinfoplus.maincollection.autopilotfromform(String primary, String secondary, Boolean posterTru, Boolean fanartTru, Boolean tbnTru, Boolean nfoTru, Boolean overwritenfoTru, Boolean overwritefolderjpg, Boolean mediaonly)
ved movieinfoplus.maincollection.bwAutopilot_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
ved System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
ved System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
--------------------------------------------------

Any ideas?

sounds like it's not finding the media file.

what is the filename of the media file for the movie this happens on?
is that in a folder, or file level?


- Ayla - 2009-04-02

edit: ...


- Ayla - 2009-04-02

fekker Wrote:sounds like it's not finding the media file.

what is the filename of the media file for the movie this happens on?
is that in a folder, or file level?

It's in a folder. Quantum of Solace.

Nfo is movie.nfo (not [moviename].nfo).

Media file is: coa-quantumr-xvid.avi


- digitalhigh - 2009-04-02

@fekker -

Okay, screens are up showing off the new media flagging in TV and movies in the Serenity thread. I've only got two complaints this time. Okay, maybe three. Wink

One...MPAA data is not being saved to .nfo's. Nowhere. Not one.

Two...can we append netFOO to the TV network names? I can grab 90% of them without problems, but I can already see how a false positive could occur from ABC,TNT, UPN, etc. Some weird director out there could have one of those letter combinations in their name. So making it netTNT or netUPN would be a nice failsafe.

Three...I still think the writer field is too much info. Maybe it's just me, but I'd rather just have one or two names...whoever wrote the screenplay, ya know?

Else...everything is great. Once again, you've done a hell of a job. Wink


- fekker - 2009-04-02

Ayla Wrote:It's in a folder. Quantum of Solace.

Nfo is movie.nfo (not [moviename].nfo).

Media file is: coa-quantumr-xvid.avi

try this one. it should tell the path it's looking for

Test Build 2832
http://www.mediafire.com/?ztzqogmyjng

this also has the file level fixes it in
and the fix for the error when reading media info when not in the US ( the , versus . issue )


- Neku - 2009-04-02

I have this error when im trying to get movie media information.

Quote:
************** Tekst wyjątku **************
System.FormatException: Nieprawidłowy format ciągu wejściowego.
w Microsoft.VisualBasic.CompilerServices.Conversions .ParseDouble(String Value, NumberFormatInfo NumberFormat)
w Microsoft.VisualBasic.CompilerServices.Conversions .ToDouble(String Value, NumberFormatInfo NumberFormat)


************** Zestawy załadowane **************
mscorlib
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
mediainfoplus
Wersja zestawu: 2.0.0.2831
Wersja Win32: 2.0.0.2831
CodeBase: file:///C:/Program%20Files/mediainfoplus/mediainfoplus.exe
----------------------------------------
Microsoft.VisualBasic
Wersja zestawu: 8.0.0.0
Wersja Win32: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Wersja zestawu: 2.0.0.0


- fekker - 2009-04-02

Neku Wrote:I have this error when im trying to get movie media information.

Quote:
************** Tekst wyjątku **************
System.FormatException: Nieprawidłowy format ciągu wejściowego.
w Microsoft.VisualBasic.CompilerServices.Conversions .ParseDouble(String Value, NumberFormatInfo NumberFormat)
w Microsoft.VisualBasic.CompilerServices.Conversions .ToDouble(String Value, NumberFormatInfo NumberFormat)


************** Zestawy załadowane **************
mscorlib
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
mediainfoplus
Wersja zestawu: 2.0.0.2831
Wersja Win32: 2.0.0.2831
CodeBase: file:///C:/Program%20Files/mediainfoplus/mediainfoplus.exe
----------------------------------------
Microsoft.VisualBasic
Wersja zestawu: 8.0.0.0
Wersja Win32: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Wersja zestawu: 2.0.0.0

try the new build (2832) it should force it to parse as if it was in the US... the media info dll i call pushes the data back in string format, formated as if it was en-us data.. I modified the code to force it to convert it based on that format for just that data.


- Ayla - 2009-04-02

fekker Wrote:try this one. it should tell the path it's looking for

Test Build 2832
http://www.mediafire.com/?ztzqogmyjng

this also has the file level fixes it in
and the fix for the error when reading media info when not in the US ( the , versus . issue )

Thanks fekker,

it gives me this error:

-----
ved System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
ved System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
ved System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
ved System.IO.StreamWriter.CreateFile(String path, Boolean append)
ved System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
ved System.IO.StreamWriter..ctor(String path)
ved movieinfoplus.mip.mov.Mov.writeMovXML(String folder, String filename)
ved movieinfoplus.movie.saveimdb2(movie& tmovie, Boolean writemovienfo, Boolean writemovienamedotnfo)
ved movieinfoplus.maincollection.autopilot(String primary, String secondary, Boolean posterTru, Boolean fanartTru, Boolean tbnTru, Boolean nfoTru, Boolean overwritenfoTru, Boolean replaceexsistingfolderimage, Boolean mediaonly)
ved movieinfoplus.maincollection.autopilotfromform(String primary, String secondary, Boolean posterTru, Boolean fanartTru, Boolean tbnTru, Boolean nfoTru, Boolean overwritenfoTru, Boolean overwritefolderjpg, Boolean mediaonly)
ved movieinfoplus.maincollection.bwAutopilot_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
ved System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
ved System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
-----


- diemos - 2009-04-02

did anyone manage to get this working on Windows 7 Build 7057 or any build?
It crashes on me before I see anything, i've tried running it in XP and Vista compatibility mode and same thing, anyone?


- fekker - 2009-04-02

Ayla Wrote:Thanks fekker,

it gives me this error:

-----
ved System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
ved System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
ved System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
ved System.IO.StreamWriter.CreateFile(String path, Boolean append)
ved System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
ved System.IO.StreamWriter..ctor(String path)
ved movieinfoplus.mip.mov.Mov.writeMovXML(String folder, String filename)
ved movieinfoplus.movie.saveimdb2(movie& tmovie, Boolean writemovienfo, Boolean writemovienamedotnfo)
ved movieinfoplus.maincollection.autopilot(String primary, String secondary, Boolean posterTru, Boolean fanartTru, Boolean tbnTru, Boolean nfoTru, Boolean overwritenfoTru, Boolean replaceexsistingfolderimage, Boolean mediaonly)
ved movieinfoplus.maincollection.autopilotfromform(String primary, String secondary, Boolean posterTru, Boolean fanartTru, Boolean tbnTru, Boolean nfoTru, Boolean overwritenfoTru, Boolean overwritefolderjpg, Boolean mediaonly)
ved movieinfoplus.maincollection.bwAutopilot_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
ved System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
ved System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
-----

is this on a NAS device? or local drive?
if it's not local, how is it mapped under windows, or how are you linking to it?


- fekker - 2009-04-02

diemos Wrote:did anyone manage to get this working on Windows 7 Build 7057 or any build?
It crashes on me before I see anything, i've tried running it in XP and Vista compatibility mode and same thing, anyone?

i didn't have any problems with it under windows 7

grab the portable version off of sourceforge and extract it to some folder.. then grab the latest test build and extract that to hte same folder.. next run mediainfoplus.exe and see if that works..

The portable version leaves out the cache (which is now invalid anyway as it's missing the credits field data), and doesn't have an installer.


- diemos - 2009-04-02

thanks, will try when i get home. I'll tell you the results.


- ezechiel1917 - 2009-04-02

was getting similiar errors as Ayla with 2831. But 2832 seems to fix it.

Anyway I've a proposition for Writers and <credits>. It seems that current MIP behaviour pulls all the names and the result looks quite messed up with many skins. Can you import only the same data what XBMC IMDb scraper does? Which are only two writers in main summary on IMDb page I believe = second and third names you are currently pulling, but things like (written by) (characters) etc and "&" should be trimmed. In your current data the first name is always director which is just waste of space to include him again. Results with so many names just doesn't look good for Writers: in most of XBMC skins.

Thanks!


- Ayla - 2009-04-02

fekker Wrote:is this on a NAS device? or local drive?
if it's not local, how is it mapped under windows, or how are you linking to it?

It's a networked drive, mapped to drive Y:

Edit: Actually it's the VMWare Share Folders drive, that VMWare fusion makes, mapped to drive Y in Windows XP VM (I'm using Mac).

(With one of the older builds from a couple of days ago, I remember running the Auto Pilot, without problems, with the same movie folder on my Y: network drive).

PS. here is the nfo from Quantum of Solace, that I mentioned earlier: http://pastebin.com/m707b6265


- Neku - 2009-04-02

OK build 2832 fixed last error but now when i chose Auto pilot and do Update Media information only i have:

Quote:************** Tekst wyjątku **************
System.NullReferenceException: Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu.
w movieinfoplus.maincollection.validatefoldercontents()
w movieinfoplus.maincollection.autopilot(String primary, String secondary, Boolean posterTru, Boolean fanartTru, Boolean tbnTru, Boolean nfoTru, Boolean overwritenfoTru, Boolean replaceexsistingfolderimage, Boolean mediaonly)
w movieinfoplus.maincollection.autopilotfromform(String primary, String secondary, Boolean posterTru, Boolean fanartTru, Boolean tbnTru, Boolean nfoTru, Boolean overwritenfoTru, Boolean overwritefolderjpg, Boolean mediaonly)
w movieinfoplus.maincollection.bwAutopilot_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
w System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
w System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)


************** Zestawy załadowane **************
mscorlib
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
mediainfoplus
Wersja zestawu: 2.0.0.2832
Wersja Win32: 2.0.0.2832
CodeBase: file:///C:/Program%20Files/mediainfoplus/mediainfoplus.exe
----------------------------------------
Microsoft.VisualBasic
Wersja zestawu: 8.0.0.0
Wersja Win32: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Wersja zestawu: 2.0.0.0
Wersja Win32: 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.Drawing
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Xml
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Data
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
ComponentFactory.Krypton.Toolkit
Wersja zestawu: 3.0.10.0
Wersja Win32: 3.0.10.0
CodeBase: file:///C:/Program%20Files/mediainfoplus/ComponentFactory.Krypton.Toolkit.DLL
----------------------------------------
TabControlEX
Wersja zestawu: 0.0.3216.38616
Wersja Win32: 0.0.3216.38616
CodeBase: file:///C:/Program%20Files/mediainfoplus/TabControlEX.DLL
----------------------------------------
System.Configuration
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
xuzcqdjz
Wersja zestawu: 2.0.0.2832
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
j8pzcxfl
Wersja zestawu: 2.0.0.2832
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
csjsqnz-
Wersja zestawu: 2.0.0.2832
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms.resources
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_pl_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Debugowanie w trybie JIT **************
Aby włączyć debugowanie w trybie JIT (just-in-time), plik .config tej
aplikacji lub komputera (machine.config) musi mieć
wartość jitDebugging ustawioną w sekcji system.windows.forms.
Aplikacja musi być również skompilowana z włączonym
debugowaniem.

Na przykład:

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