Errors with Toub.MediaCenter.Dvrms.dll and FlexRaid/T-Raid

Post Reply
mrsilver

Posts: 63
Joined: Mon Oct 20, 2014 5:01 pm
Location:

HTPC Specs: Show details

Errors with Toub.MediaCenter.Dvrms.dll and FlexRaid/T-Raid

#1

Post by mrsilver » Sun May 17, 2015 7:09 pm

Hi there,

I've been emailed by someone using my Move_TV_Films program with a FlexRaid/T-Raid array. He is finding that it throws an error when attempting to get the metadata from the WTV file.

My code (in vb.net) does this:

Code: Select all

        For Each theFile In Directory.GetFiles(directoryFrom)
            theExt = LCase(Path.GetExtension(theFile))
            If theExt = ".wtv" Or theExt = ".dvrms" Or theExt = ".dvr-ms" Then
                ' Get the meta-data for this film
                Dim metaData As New Toub.MediaCenter.Dvrms.Metadata.DvrmsMetadataEditor(theFile)
                isMovie = CBool(Get_Meta(metaData, "WM/MediaIsMovie"))
                If isMovie = False Then
The function "Get_Meta" does this:

Code: Select all

    Function Get_Meta(ed As Toub.MediaCenter.Dvrms.Metadata.DvrmsMetadataEditor, sKey As String) As String

        Get_Meta = Toub.MediaCenter.Dvrms.Metadata.DvrmsMetadataEditor.GetMetadataItemAsString(ed.GetAttributes(), sKey)

    End Function
However when it is run then you get the following error:

Code: Select all

Unhandled Exception: System.Runtime.InteropServices.COMException: Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008)
   at Toub.MediaCenter.Dvrms.Metadata.DvrmsMetadataEditor.IFileSourceFilter.Load(String pszFileName, AmMediaType pmt)
   at Toub.MediaCenter.Dvrms.Metadata.DvrmsMetadataEditor..ctor(String filepath)
   at Move_TV_Films.Main.Scan_Folders()
   at Move_TV_Films.Main.Main()
He's confirmed that he has plenty of disk space and memory. It looks to me to be a problem in Toub.MediaCenter.Dvrms.dll, which is beyond my ability to debug and fix.

What are people's thoughts?

TYLSidge

Posts: 5
Joined: Thu May 14, 2015 9:34 pm
Location:

HTPC Specs: Show details

#2

Post by TYLSidge » Mon May 18, 2015 12:15 pm

My GreenButton.TV authorization just came through (glad to see the greenbutton is back!)...

I had the chance to uninstall FlexRaid yesterday and test your app with various target & source folders using two different drives. I still get the "not enough storage is available to process this command" exception, so I don't think its a FlexRaid issue. Running Win7 pro 64bit

User avatar
Scallica

Posts: 2799
Joined: Mon Jun 06, 2011 7:09 pm
Location: USA!

HTPC Specs: Show details

#3

Post by Scallica » Mon May 18, 2015 12:31 pm

TYLSidge wrote:My GreenButton.TV authorization just came through (glad to see the greenbutton is back!)...
Sorry, we had an issue with email delivery.
HTPC Enthusiast / Forum Moderator - TGB.tv Code of Conduct

tad

Posts: 226
Joined: Thu Aug 30, 2012 2:55 am
Location:

HTPC Specs: Show details

#4

Post by tad » Sun Dec 20, 2015 4:09 am

I'm having the same issue here. Any resolution?

Post Reply