Metadata fix for Windows Servers

Oct 4, 2013 at 3:28 PM
Edited Dec 8, 2014 at 5:28 PM
If you are running MCEBuddy on a Windows Server, it has been found that the metadata from the WTV files is not able to be read. Here is a way to to add this to a Windows Server (2012 in this tested example) (Originally found here)

Here are some basic instructions:

Goto a 64bit install of WMC (Tested with Windows 7 64bit )

copy c:\windows\system32\EncDec.dll, sbe.dll, and sbeio.dll to the same directory on the windows server (c:\windows\system32)
on the windows server 2012 machine open cmd prompt with admin privs and
cd to c:\windows\system32
regsvr32.exe EncDec.dll
regsvr32.exe sbe.dll

copy c:\windows\sysWOW64\EncDec.dll, sbe.dll, and sbeio.dll to the same directory on the windows server (c:\windows\sysWOW64)
on the windows server 2012 machine open cmd prompt with admin privs and
cd to c:\windows\sysWOW64
regsrv32.exe EncDec.dll
regsrv32.exe sbe.dll

Fire up MCEBuddy and start converting, the converted file should then be renamed correctly and if you sort to folders using something like:
CustomRenameBySeries=%showname%\Season %season%##\%showname% - S%season%##E%episode%## - %episodename%
You should see it sorted correctly.

Enjoy!
Marked as answer by rboy1 on 1/1/2014 at 7:03 AM
Mar 10, 2014 at 6:33 AM
This seems to works great (thank you!!), though you also need to install the Media Foundation feature to resolve reference to WMDRMSDK.dll.

However, I do get still get one warning and some of the data seems off:
2014-03-09T23:24:48 MCEBuddy.Engine.ConversionJob --> Finished pre metadata custom command, source file size [KB] 523,520.00
INFORMATION> 2014-03-09T23:24:48 MCEBuddy.Engine.ConversionJob --> Getting show information and banner from Internet sources
INFORMATION> 2014-03-09T23:24:48 MCEBuddy.MetaData.VideoMetaData --> Extracting MCE Tags
2014-03-09T23:24:48 MCEBuddy.MetaData.VideoMetaData --> Extracting Windows Media Center meta data
WARNING> 2014-03-09T23:24:48 MCEBuddy.MetaData.VideoMetaData --> Error reading WM Artwork -> System.ArgumentNullException: Buffer cannot be null.
Parameter name: buffer
   at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
   at MCEBuddy.MetaData.VideoMetaData.ExtractMCETags()
2014-03-09T23:24:48 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted -> 
Title: Doctor Who
SubTitle: Evolution of the Daleks
Description: The Doctor forms a deadly alliance to save humanity.
Network: BBC America HD
Parental Rating: TV-PG
Media Credits: David Tennant/Freema Agyeman;James Strong;;Barnaby Edwards/Eric Loren
Genres: Drama,General,Series,Sci-Fi/Fantasy
Season: 0
Episode: 0
Banner: 
Banner URL: 
IMDB MovieId: 
MovieDB MovieId: 
TVDB SeriesId: 
Is Show Movie: False
Is Show Sports: False
OriginalBroadcastDateTime: 2007-04-28T00:00:00
RecordedDateTime: 2014-03-05T07:00:11
SeriesPremiereDate: 1899-12-31T16:00:00
CopyProtected: False
Coordinator
Mar 10, 2014 at 7:52 AM
that's normal, sometime it cannot read art work or it's empty.


Mar 10, 2014 at 2:47 PM
Well, if it's normal (and at least for me seems commonplace), it's a little frustrating that MCEBuddy treats this as a metadata failure and sends mail. Seems to me that there is a big difference between "no metadata" (which is what I was getting before doing the steps above), and "most metadata, but not some stuff that often isn't there". Now that it's working, I guess I'll just switch off that notification.
Coordinator
Mar 10, 2014 at 2:58 PM
I think you're confusing two 2 differeent things. Failure to DOWNLOAD metadata is differenet from extracting metadata. You're probably getting and eMail because it failed to find additional meta from the internet.


Mar 10, 2014 at 3:31 PM
You're right. It was in diagnosing the download errors that I can across the metadata extraction issue. Thanks for clearing up my confusion.
Dec 8, 2014 at 3:41 PM
the commands should be

regSVR32 NOT regSRV32...

swap the RV to be VR
Dec 8, 2014 at 4:04 PM
Edited Dec 8, 2014 at 5:28 PM
I got it fixed...thanks!