Area: Media Portal Disk Space Management
MediaPortal Version: 0.2RC4 through to 0.2.0.3
MediaPortal Skin: Razor
Windows Version: Windows XP (SP2)
.NET CLR Version: 2.0.50727
Audio Codec: NVIDIA Audio Decoder
Video Codec: NVIDIA Video Decoder
CPU Type: Intel Pentium 4 - 2.80GHz
Memory: 510 MB
Motherboard Chipset: P4P800-VM (ASUSTeK Computer INC.)
TV Card Model: DNTV Live
TV Card Type: DVB
TV Card Driver: -
Video Card Model: RADEON X700 Secondary (256 MB)
Video Card Driver: Catalyst 6.4
Video Card Resolution: 1920x1080
Video Render Type: VMR9
Audio Card Model: SoundMAX Integrated Digital Audio
Audio Card Driver: 6.20.100.1362
Synopsis::
It appears that the disk space management code generates an exception if it tries to delete a recording that no longer exists on the disk. I have a number of entries in my recordings database that for one reason or another no longer have the associated recorded file.
Would it be possible to capture this exception, and simply delete the recording database record.
At the moment, each time I run low on disk space, I get this exception, causing a popup, and the process does not continue to attempt to cleanup further recordings
Following is the error in the .net exception window. This generates no matching error in the logs.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'D:\recordings\FOX Sports 1_World Rally Championship_200606041630p292.dvr-ms'.
File name: 'D:\recordings\FOX Sports 1_World Rally Championship_200606041630p292.dvr-ms'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileInfo.get_Length()
at ProcessPlugins.DiskSpace.DiskManagement.CheckDriveFreeDiskSpace(String drive)
at ProcessPlugins.DiskSpace.DiskManagement.CheckFreeDiskSpace()
at ProcessPlugins.DiskSpace.DiskManagement.OnTimerElapsed(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MediaPortal
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/MediaPortal.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.Direct3D.DLL
----------------------------------------
Core
Assembly Version: 1.0.2401.27841
Win32 Version: 1.0.2401.27841
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Core.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
MediaPortal.Support
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/MediaPortal.Support.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
TVCapture
Assembly Version: 1.0.2401.27854
Win32 Version: 1.0.2401.27854
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/TVCapture.DLL
----------------------------------------
System.ServiceProcess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
RemotePlugins
Assembly Version: 1.0.2401.27874
Win32 Version: 1.0.2401.27874
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/RemotePlugins.DLL
----------------------------------------
Microsoft.DirectX.DirectInput
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.DirectInput.DLL
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
AxInterop.X10
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/AxInterop.X10.DLL
----------------------------------------
Microsoft.DirectX.Direct3DX
Assembly Version: 1.0.2906.0
Win32 Version: 9.07.239.0000
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.Direct3DX.DLL
----------------------------------------
WindowPlugins
Assembly Version: 1.0.2401.27868
Win32 Version: 1.0.2401.27868
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/WindowPlugins.DLL
----------------------------------------
XihSolutions.DotMSN
Assembly Version: 2.0.1.15051
Win32 Version: 2.0.1.15051
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/XihSolutions.DotMSN.DLL
----------------------------------------
Databases
Assembly Version: 1.0.2401.27849
Win32 Version: 1.0.2401.27849
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Databases.DLL
----------------------------------------
DirectShowLib
Assembly Version: 1.4.0.27827
Win32 Version: 1.4.0.27827
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/DirectShowLib.DLL
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
----------------------------------------
Dialogs
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/Dialogs.DLL
----------------------------------------
ECP2Plugin
Assembly Version: 1.0.1890.35825
Win32 Version: 1.0.1890.35825
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/ECP2Plugin.dll
----------------------------------------
MyBlaster
Assembly Version: 0.1.2.20463
Win32 Version: 0.1.2.20463
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/MyBlaster.dll
----------------------------------------
ProcessPlugins
Assembly Version: 1.0.2401.27877
Win32 Version: 1.0.2401.27877
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/ProcessPlugins.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
ECP2Assembly
Assembly Version: 1.1.2.40040
Win32 Version: 1.1.2.40040
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/ECP2Assembly.DLL
----------------------------------------
Interop.TunerLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Interop.TunerLib.DLL
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.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>
</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.
MediaPortal Version: 0.2RC4 through to 0.2.0.3
MediaPortal Skin: Razor
Windows Version: Windows XP (SP2)
.NET CLR Version: 2.0.50727
Audio Codec: NVIDIA Audio Decoder
Video Codec: NVIDIA Video Decoder
CPU Type: Intel Pentium 4 - 2.80GHz
Memory: 510 MB
Motherboard Chipset: P4P800-VM (ASUSTeK Computer INC.)
TV Card Model: DNTV Live
TV Card Type: DVB
TV Card Driver: -
Video Card Model: RADEON X700 Secondary (256 MB)
Video Card Driver: Catalyst 6.4
Video Card Resolution: 1920x1080
Video Render Type: VMR9
Audio Card Model: SoundMAX Integrated Digital Audio
Audio Card Driver: 6.20.100.1362
Synopsis::
It appears that the disk space management code generates an exception if it tries to delete a recording that no longer exists on the disk. I have a number of entries in my recordings database that for one reason or another no longer have the associated recorded file.
Would it be possible to capture this exception, and simply delete the recording database record.
At the moment, each time I run low on disk space, I get this exception, causing a popup, and the process does not continue to attempt to cleanup further recordings
Following is the error in the .net exception window. This generates no matching error in the logs.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'D:\recordings\FOX Sports 1_World Rally Championship_200606041630p292.dvr-ms'.
File name: 'D:\recordings\FOX Sports 1_World Rally Championship_200606041630p292.dvr-ms'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileInfo.get_Length()
at ProcessPlugins.DiskSpace.DiskManagement.CheckDriveFreeDiskSpace(String drive)
at ProcessPlugins.DiskSpace.DiskManagement.CheckFreeDiskSpace()
at ProcessPlugins.DiskSpace.DiskManagement.OnTimerElapsed(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MediaPortal
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/MediaPortal.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.Direct3D.DLL
----------------------------------------
Core
Assembly Version: 1.0.2401.27841
Win32 Version: 1.0.2401.27841
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Core.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
MediaPortal.Support
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/MediaPortal.Support.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
TVCapture
Assembly Version: 1.0.2401.27854
Win32 Version: 1.0.2401.27854
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/TVCapture.DLL
----------------------------------------
System.ServiceProcess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
RemotePlugins
Assembly Version: 1.0.2401.27874
Win32 Version: 1.0.2401.27874
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/RemotePlugins.DLL
----------------------------------------
Microsoft.DirectX.DirectInput
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.DirectInput.DLL
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
AxInterop.X10
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/AxInterop.X10.DLL
----------------------------------------
Microsoft.DirectX.Direct3DX
Assembly Version: 1.0.2906.0
Win32 Version: 9.07.239.0000
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.Direct3DX.DLL
----------------------------------------
WindowPlugins
Assembly Version: 1.0.2401.27868
Win32 Version: 1.0.2401.27868
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/WindowPlugins.DLL
----------------------------------------
XihSolutions.DotMSN
Assembly Version: 2.0.1.15051
Win32 Version: 2.0.1.15051
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/XihSolutions.DotMSN.DLL
----------------------------------------
Databases
Assembly Version: 1.0.2401.27849
Win32 Version: 1.0.2401.27849
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Databases.DLL
----------------------------------------
DirectShowLib
Assembly Version: 1.4.0.27827
Win32 Version: 1.4.0.27827
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/DirectShowLib.DLL
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
----------------------------------------
Dialogs
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/Dialogs.DLL
----------------------------------------
ECP2Plugin
Assembly Version: 1.0.1890.35825
Win32 Version: 1.0.1890.35825
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/ECP2Plugin.dll
----------------------------------------
MyBlaster
Assembly Version: 0.1.2.20463
Win32 Version: 0.1.2.20463
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/MyBlaster.dll
----------------------------------------
ProcessPlugins
Assembly Version: 1.0.2401.27877
Win32 Version: 1.0.2401.27877
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/ProcessPlugins.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
ECP2Assembly
Assembly Version: 1.1.2.40040
Win32 Version: 1.1.2.40040
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/ECP2Assembly.DLL
----------------------------------------
Interop.TunerLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Interop.TunerLib.DLL
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.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>
</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.