Content Resolvers
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. |