HowTo create a 0-byte folder structure

About

If you are new to meta<browser> 2.0 and already have a metadata structure created, you may be hesitant to allow it access to it without seeing how it works first. If you would like to test meta<browser> 2.0 on a replica of your media directories without altering it's contents or taking any additional space, you can create a 0-byte replica of your media collection.

A 0-byte replica is an empty file mirror of your real media collection created with this use of RoboCopy. It includes all directories and files contained. Depending on the switches you pass to RoboCopy, any file type and/or folder can also be excluded. This will allow you to create the folder structure complete with media files, while excluding your metadata, images, etc. so that meta<browser> 2.0 can fetch them for you.

Using RoboCopy

Currently, all versions of Microsoft Windows Vista and Microsoft Windows 7 already include RoboCopy as a system executable, readily available from the Windows Command Shell. If you are on a different version of Windows, RoboCopy is part of the Windows 2003 Resource Kit. Once downloaded, the robocopy.exe executable should be placed in C:\Windows\System32 for ease of execution.

  • Open a command prompt by typing cmd in either the Windows Vista/7 Start > Search programs and files field, or in the Start > Run box for other versions of windows.
  • Take note of the full path to your top-level media collection. The location can be a local path or network share using UNC path names (i.e. \\Server\path\to\movies). Also, take note of a target location where you want your 0-byte structure to be created.
  • At the command prompt, execute the following command: 
    C:\>robocopy \\source\directory\movies D:\target\directory /E /CREATE /XF *.jpg *.png *.xml *.nfo /XD metadata
  • This assumes a network source directory and a local target directory on D:\. Files types ending in .jpg, .png .xml and .nfo will be excluded (/XF switch). Any directories named metadata will also be excluded (/XD switch).
  • You can now add this newly created 0-byte directory as a Location in media<browser> 2.0.

*Note: Even though meta<browser> 2.0 will properly recognize and fetch metadata and images for the contents of the 0-byte directory, please understand that the MediaInfo feature will not work.

Once you are comfortable in using meta<browser> 2.0 with this test location, you can remove it and add your real media location(s).