Content Resolvers

From Silhouette Wiki
Revision as of 15:01, 26 July 2018 by Paul (talk | contribs) (Created page with "One or more "content resolvers" can be registered to provide virtual mappings of source media paths. Shapes can be created with <tt>Shape(type, label=None)</t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

One or more "content resolvers" can be registered to provide virtual mappings of source media paths.

Shapes can be created with Shape(type, label=None).

Attributes

Name Description
name the resolver's name
scheme the resolver's scheme

Methods

Name Description
importFile(path) When a media file is imported, Silhouette will call the importFile() method of every registered resolver. If the resolver recognizes the media path in some way, it can return an adjusted virtual path for Silhouette to use instead.
resolve(path) If the resolver's scheme matches that of path, the resolver should return the actual file-system location of the path.