# Class e.p.f.f.FilteredSharesResource(ResourceProvider):

Part of elisa.plugins.filtered_shares.filtered_shares_resource View In Hierarchy

No class docstring

Line # | Kind | Name | Docs
--- | --- | --- | ---
38 | Method | get | Returns a filtered list of all the known resource providers for network

Inherited from ResourceProvider:

Line # | Kind | Name | Docs
--- | --- | --- | ---
94 | Method | post | Update the resource pointed by `uri` with `parameters`.
107 | Method | put | Put one resource into another. Both resources are identified with URIs.
129 | Method | delete | Delete a Resource represented by a URI.

Inherited from Component (via ResourceProvider):

Line # | Kind | Name | Docs
--- | --- | --- | ---
85 | Class | PathDescriptor | Undocumented
97 | Class Method | create | Create and initialize the component.
130 | Method | initialize | Initialize the component.
142 | Method | clean | Clean the component.

Inherited from Loggable (via ResourceProvider, Component):

Line # | Kind | Name | Docs
--- | --- | --- | ---
81 | Method | __init__ | Undocumented

def get(self, uri, model):
overrides elisa.core.components.resource_provider.ResourceProvider.get

Returns a filtered list of all the known resource providers for network shares: `lan://` and `coherence://media_servers` and merges them corresponding to your selected filter. You will always get a FilteredSharesModel containing the list of services that fit your request.

The filter is given as a parameter in the `URI`. Known filters are: 'file', 'audio' and 'upnp'. You can even request multiple ones at a time by comma seperate them: `network-services:///?filter=file,audio`.