Dmap.Share¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Authentication method |
||
r/w/co |
Container DB object |
||
r/w/co |
DB object |
||
r/w |
Share Name |
||
r/w |
Authentication password |
||
r/w |
Revision number |
||
r |
Soup server |
||
r/w/co |
Set mimetype of stream after transcoding |
||
[ |
r/w |
Set TXT-Records used for MDNS publishing |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Dmap.Share(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- classmethod free_filter(filter)¶
- Parameters:
filter ([[
object
]]) – The filter list to free.
Free the given filter list.
- publish()¶
- Raises:
- Returns:
- Return type:
Publish the availability of the given share using mDNS-SD.
- serve()¶
- Raises:
- Returns:
- Return type:
Begin serving the service defined by share. A program will normally also call
Dmap.Share.publish
.
- do_content_codes(message, path) virtual¶
- Parameters:
message (
Soup.ServerMessage
) –path (
str
) –
- do_ctrl_int(message, path, query) virtual¶
- Parameters:
message (
Soup.ServerMessage
) –path (
str
) –
- do_databases(server, message, path, query) virtual¶
- Parameters:
server (
Soup.Server
) –message (
Soup.ServerMessage
) –path (
str
) –
- do_databases_browse_xxx(msg, path, query) virtual¶
- Parameters:
msg (
Soup.ServerMessage
) –path (
str
) –
- do_databases_items_xxx(server, msg, path) virtual¶
- Parameters:
server (
Soup.Server
) –msg (
Soup.ServerMessage
) –path (
str
) –
- do_login(message, path, query) virtual¶
- Parameters:
message (
Soup.ServerMessage
) –path (
str
) –
- do_logout(message, path, query) virtual¶
- Parameters:
message (
Soup.ServerMessage
) –path (
str
) –
- do_message_add_standard_headers(msg) virtual¶
- Parameters:
msg (
Soup.ServerMessage
) –
- do_name_collision(publisher, name) virtual¶
- Parameters:
publisher (
Dmap.MdnsPublisher
) –name (
str
) –
- do_published(publisher, name) virtual¶
- Parameters:
publisher (
Dmap.MdnsPublisher
) –name (
str
) –
- do_server_info(message, path) virtual¶
- Parameters:
message (
Soup.ServerMessage
) –path (
str
) –
- do_update(message, path, query) virtual¶
- Parameters:
message (
Soup.ServerMessage
) –path (
str
) –
Signal Details¶
- Dmap.Share.signals.error(share, object)¶
- Signal Name:
error
- Flags:
- Parameters:
share (
Dmap.Share
) – The object which received the signal
Property Details¶
- Dmap.Share.props.auth_method¶
-
Authentication method
- Dmap.Share.props.container_db¶
- Name:
container-db
- Type:
- Default Value:
- Flags:
Container DB object
- Dmap.Share.props.db¶
- Name:
db
- Type:
- Default Value:
- Flags:
DB object
- Dmap.Share.props.name¶
-
Share Name
- Dmap.Share.props.password¶
-
Authentication password
- Dmap.Share.props.revision_number¶
-
Revision number
- Dmap.Share.props.server¶
- Name:
server
- Type:
- Default Value:
- Flags:
Soup server
- Dmap.Share.props.transcode_mimetype¶
- Name:
transcode-mimetype
- Type:
- Default Value:
- Flags:
Set mimetype of stream after transcoding