Import: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
No edit summary
Line 63: Line 63:
* Define a set of folders that contain media, each of which have separate options defined.
* Define a set of folders that contain media, each of which have separate options defined.
* Manually scan all of your pre-defined folders on demand.
* Manually scan all of your pre-defined folders on demand.
* Make use of the powerful [[Carnac]] (file name parsing) and [[Automatic Metadata Lookup|TV_Shows_-_Series,_Seasons_%26_Episodes]] features of Media Center
* Make use of the powerful [[Carnac]] (file name parsing) and [[TV_Shows_-_Series,_Seasons_%26_Episodes|Automatic Metadata Lookup]] features of Media Center
* Automatically apply tags to the files imported using powerful Tag on Import rules.
* Automatically apply tags to the files imported using powerful Tag on Import rules.
* Watch the folders automatically in the background for new files, without bogging down disk or network access.
* Watch the folders automatically in the background for new files, without bogging down disk or network access.

Revision as of 16:39, 24 March 2014

Importing files has two main advantages: it provides a highly customizable database of all your files for easy access and viewing, and you can easily edit, rename, and organize the files. Say goodbye to opening folders and more folders to find a photo or music file. You can import any of the Supported File Types.

Here are some of the things you can do with imported files:

  • View them sorted by any number of fields, including artist, album, genre, size, length, and even your own custom fields.
  • Edit their ID3 tags (to save information with the file itself).
  • Add custom fields and cover art.
  • Add them to Playlists and include them in Smartlists.
  • Easily find any file quickly.

Methods for Importing Files

There are a few ways you can import your files into Media Center:

  1. Automatically when opened with an empty Library
  2. Via Drag and Drop
  3. Via the Shell Integration features (Windows only)
  4. Via the Media Import wizard available at Tools > Import.
  5. Via Auto-Import, which can watch directories you specify automatically in the background.

First Use Scan

When you open Media Center for the first time, or with a blank Library, it will automatically scan your hard drive in common locations for media. This happens in the Action Window area of MC. You can cancel this if you prefer to adjust the watched directories used by Auto-Import, or import manually.

When you open MC with a blank Library, it will wait for 45 seconds before running this automatic scan:

Error creating thumbnail: File missing

One Time Imports

There are a few methods you can use to import files or folders into MC on an individual basis. These are "one-off" imports and don't provide many of the benefits of the Auto-Import system.

Drag and Drop and Shell Integration

You can drag and drop files from Windows Explorer onto the MC window to import the files. This method will import the files "cleanly" and does not obey any Tagging rules you have defined in Auto-Import (see below for details).

To import from Windows Explorer via shell integration, right click on a file, or a folder full of files, and choose Media Center > Import.

MC19-Import-Shell Integration.png

You can also drag-and-drop files from Windows Explorer onto MC:

MC19-Import Drag-Drop.gif

Importing a Single Folder

To import a single folder (including any subdirectories) into Media Center, you can use the Import a single folder function of the Media Import wizard. This is accessible via: Tools > Import. The same tool is also available at File > Library > Import, and from within the Library Manager (with the current Library selected).

Error creating thumbnail: File missing

Once you select this option, you are presented with the Media Import Folder options dialog, which allows you to specify the path to the folder to search, the types of files you want to import, and optionally tags to apply to these files automatically. This dialog is described in more detail in the Auto-Import configuration section below.

Error creating thumbnail: File missing

Please note that this is a one-time operation, and the settings you enter here aren't easily saved (though it does remember these settings from run-to-run). If you need to repeatedly import files from a fixed set of folders on disk, you will be better served using the Auto-Import system described below.

Importing via Automation

Media Center also includes a command line option for Importing files. Please refer to The Command Line for additional details.

Auto-Import

Media Center has a full-featured Auto-Import system. With this system you can:

  • Define a set of folders that contain media, each of which have separate options defined.
  • Manually scan all of your pre-defined folders on demand.
  • Make use of the powerful Carnac (file name parsing) and Automatic Metadata Lookup features of Media Center
  • Automatically apply tags to the files imported using powerful Tag on Import rules.
  • Watch the folders automatically in the background for new files, without bogging down disk or network access.

In most cases, using Auto-Import to automatically watch your media locations on disk is the preferred means of Importing new content. Media Center turns this feature on by default, and automatically sets itself to to watch the locations found when it completed the automatic First-Use Scan. If you did not allow it to run this automated scan, then you will need to configure Auto-Import yourself.

You can configure Media Center's Auto-Import functionality via either:

  • In MC's Options dialog at Tools > Options > Libraries & Folders > Auto-Import.
  • The Media Import wizard at Tools > Import.

Background Scanning

Media Center's Auto-Import system runs by default in the background, and will automatically pick up changes in any of your defined Auto-Import Directories (detailed below). If needed, this feature can be disabled here: Tools > Options > Libraries & Folders > Auto-Import

With the background scanning feature disabled, you can still manually initiate a scan of your defined Auto-Import Directories with the Import Media wizard: Tools > Import

Media Center's Background Auto-Import works by:

  • Monitoring File System Events for changes and responding instantly to only those files that changed in a watched directory.
  • Running a background full-scan of the defined watched directories, and checking for changes, once every two hours. This is run with a low thread priority to prevent it from impacting foreground tasks.

Unlike the folder watching systems provided by many other applications, Media Center's background Auto-Import system relies, in part, upon a system called File System Events that is provided by your Operating System to allow it to respond to any changes made in a watched directory. This allows Media Center to react instantaneously when any changes are committed to a watched directory (you don't have to wait for the next "pass" on a timer), and prevents performance bottlenecks associated with regularly scanning the directories for all changes. Instead, when a single file is added or modified in a watched directory, Media Center is notified immediately by the underlying OS, and can react to only that file.

This system requires support from the Operating System and filesystem. Currently, this feature requires:

  • Windows version of Media Center
  • Watched directories on a watchable filesystem (NTFS or network drive)
  • If using a network volume, the server or NAS device must properly support File System Events.

Note: I'm unclear on the details on how Auto-Import works on OSX. I've asked for additional clarification and will update this article when it is provided.

This allows Media Center to instantly respond to changes in the file system without having to bog your disk (or, worse, network interface) down with constant checks for changes in your media storage locations, most of which will not have changed. Therefore, this allows Media Center to schedule its periodic full scans of your media locations far less often than would be needed otherwise. If your storage device does not support File System events, it will still pick up new files automatically once every two hours. You can schedule additional checks yourself using MC's Automation capabilities (see below for details).

More