summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* [Device] Add Energy Management featuresChristophe Guiraud2013-12-121-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a Wake method to DBus MediaDevice interface, this method can be invoked to wake-up a sleeping device by sending the appropriate WOL magic packet. Information to be used for the magic packet formatting will be retrieved from the device context. - Add a DLS_INTERFACE_PROP_SLEEPING boolean property to DBus MediaDevice interface, this property reflects the sleeping state of the MediaServer. The property is not present if the Energy Management service isn't supported by the device embedding the MediaServer. The DLS_INTERFACE_PROP_SLEEPING property is updated based on the EM service NetworkInterfaceInfo evented state variable. The DLS_INTERFACE_PROP_SLEEPING property is set to FALSE by default at the device construction. NetworkInterfaceInfo information are XML encoded, relevant information are parsed with the help of libxml2. dleyna-server has now a direct dependency on libxml2. a new xml-util.c file with its header provides libxml2 helpers. XML extracted information are stored into the matching device context. The matching device context is selected based on the interface ip address and the device uuid. A device is considered as in sleeping state if its network interface is up. - Add a DLS_INTERFACE_PROP_ROOT_UDN string property, if present this property contains the UDN of the root device embedding a MediaServer sub-device. - Update the device contruction to allow the usage of a MediaServer even if it is sub-device, in the same as way if it was the root device from the application layer perpective. We ask now to be notified for all upnp:rootdevice and we filter those who are MediaServer or have a sub device of this type. (recursive lookup in the device child hierarchy if any). Only the first MediaServer device found will be considered. we also retrieve the Energy Management service proxy from the root device if it is available and else we use the first one that we found by doing a recursive lookup in the device child hierarchy. we use it to be notified of its NetworkInterfaceInfo evented state variable changes. - As we have now to handle multiple device proxies (CDS, EMS), we use now a struct dls_service_t to gather cds and ems services related information (GUPnPServiceProxy *proxy, gboolean subscribed, guint timeout_id) in the device context. - Add the Wake Method to the python test application. - Documentation updated. Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
* [Documentation] Fix URL to MediaServer2SpecMartin Flaska2013-12-121-1/+1
| | | | | | This page does not exist yet. Signed-off-by: Martin Flaska <flegy@flegy.sk>
* [Property] Add 'Never Quit' property to ManagerLudovic Ferrandis2013-10-021-0/+4
| | | | | | | It is now possible to manage the 'Never Quit' option via the Set() methode. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Network Filtering] New API and saveLudovic Ferrandis2013-10-021-20/+6
| | | | | | | | - Remove all WhiteListxxx API - Add Set() to 'org.freedesktop.DBus.Properties' interface to 'com.intel.dLeynaServer.Manager' root interface Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Device] Deprecate LastChange in favor of Changed signalRegis Merlino2013-09-061-54/+28
| | | | | | | | | | | Fix issue #109 * Remove LastChange signal * Add Changed signal * A Changed signal is emitted along with a ContainerUpdateID signal when LastChange is not managed by the DLNA server. Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [API] Add new BrowseObjects APILudovic Ferrandis2013-09-041-1/+27
| | | | | | | | Add new BrowseObjects API in MediaDevice interface Fix issue #114: <https://github.com/01org/dleyna-server/issues/114> Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Documentation] Fix SearchObjectsEx() return value signatureRegis Merlino2013-08-221-1/+1
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Network Filtering] Add Network Filtering supportLudovic Ferrandis2013-08-221-7/+44
| | | | | | | | | | | | | | | | | Add 2 new settings: 1 - netf_enabled (boolean): To activate or deactivate the network filtering 2 - netf_entries (str list): List of supported network Add org.freedesktop.DBus.Properties DBUS Interface to com.intel.dLeynaServer.Manager root object. Add 4 new methodes to com.intel.dLeynaServer.Manager interface 1 - WhiteListEnable 2 - WhiteListAddEntries 3 - WhiteListRemoveEntries 4 - WhiteListClear Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Documentation] Tidied up the API.txt file.Mark Ryan2013-06-251-39/+60
| | | | Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
* Added the new TypeEx property and fixed TypeMark Ryan2013-06-241-26/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Type property is now almost consistent with the MediaServer2Spec Type property. This should remove a source of constant confusion and fix a number of bugs, in for example the download sync controller. dLeyna-server's implementation of Type differs only from MediaServer2Spec in one way. dLeyna-server has introduced one new value, item.unclassified, which is used when the object in question is an item but not one of the items supported by MediaServer2Spec, i.e., not an audio, video or image item. A new property, TypeEx has been introduced. TypeEx contains the extended type information for an object, i.e., the value Type used to hold (althought the values have changed), so if applications want the extended type they can still retrieve it. Both Type and TypeEx are searchable. The superset of values specified by TypeEx are permitted when creating a container, both in the type of the container and it its create classes. The extended type is exposed in the CreateClasses of a container and in the LastChange event. Type is no longer permitted in Update. TypeEx must be used. From an API point of view there are two breakagaes: 1. Applications that used Type to retrieve extended type information, need to be updated to use TypeEx. Applications that used Type in their search queries might also need to be updated. 2. Applications that updated the Type of an object will need to be updated to use TypeEx instead. There is one slightly unpleasent hack required to report the correct values for Search and Sort Caps. A correct solution would require making the p_map hash table many to many, which would result in a bigger change. I've left this improvement for another commit. Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
* [Device] Add a GetIcon() methodRegis Merlino2013-05-311-0/+7
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Property] Add support for object.container.storageFolderLudovic Ferrandis2013-05-161-1/+1
| | | | | | | - Add object class object.container.storageFolder - Add MediaServer2Spec definition "storage" for it Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Property] Add support for object.container.playlistContainerLudovic Ferrandis2013-05-161-1/+2
| | | | | | | | | | - Add object class object.container.playlistContainer - Add MediaServer2Spec definition "playlist" for it - Rename MediaServer2Spec "playlist" to "item.playlist" for objec class object.item.playlistItem Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [API] Add CreateReference method to org.gnome.MediaContainer2Ludovic Ferrandis2013-05-161-1/+7
| | | | | | Fix https://github.com/01org/dleyna-server/issues/7 Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [API] Remove CreatePlaylist/CreatePlaylistInAny APILudovic Ferrandis2013-05-141-28/+2
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Bug] Add a Rescan method to Manager interfaceSébastien Bianti2013-04-181-0/+7
| | | | | | | | - Resolves bug #4 - Make use of new API gupnp_context_manager_rescan_control_points() - Documentation updated. Signed-off-by: Sébastien Bianti <sebastien.bianti@linux.intel.com>
* [Property] Support of DLNA.ORG_CI, DLNA.ORG_FLAGS and DLNA.ORG_OPLudovic Ferrandis2013-04-171-11/+41
| | | | | | | | | | | | Fix https://github.com/01org/dleyna-server/issues/54 Add 3 new properties to Resource. As for other Resources properties, they are also directly available in MediaTiem2 or MediaContainer2 item by using the algorithm for selecting resource, given in the section "Transcoding and org.gnome.UPnP.MediaItem2". Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Documentation] Explain Container reources in more detail.Mark Ryan2013-04-041-4/+8
| | | | | | | Added some extra text to explain in more detail what container resources are. Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
* [Property] Add MediaItem2 resource properties to Container. Fix UpdateCount.Ludovic Ferrandis2013-04-041-2/+15
| | | | | | | | | | | | | Add URLs, Size, DLNAProfile & Mime/Types resources We can now filter out URLs for Container, using SetProtocolInfo API Second part for bug https://github.com/01org/dleyna-server/issues/5 In addition this commit fixes the UpdateCount property that wasn't managed in the Get_Prop() method. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Property] Display Resource property in ContainerLudovic Ferrandis2013-03-291-1/+8
| | | | | | | | | Fix https://github.com/01org/dleyna-server/issues/5 Add 'Resource' property Add GetCompatibleResource API Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Props] Handle wild cards for SortCaps & SearchCapsRegis Merlino2013-03-281-0/+6
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [API] Add new GetMetaData Media Object APIChristophe Guiraud2013-03-221-0/+4
| | | | | | | | | | - Add a new method GetMetaData to the org.gnome.UPnP.MediaObject2 interface to allow the retrieval of the Meta data information of an object in DIDL-Lite XML format. - MediaConsole python test app updated. - Doc updated. - Fix issue https://github.com/01org/dleyna-server/issues/25 Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
* Fixed two errors in the d-Bus API.txt docMark Ryan2013-03-201-2/+2
| | | | | | | | - 'item' was missing as a value for the Type parameters. - The document incorrectly stated that dLeyna-server does not support the container ChildCount property. It's ItemCount we do not support. Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
* [Doc] Add server dbus API documentationRegis Merlino2013-03-051-0/+903
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Documentation] Add doc folderLudovic Ferrandis2013-02-263-0/+13
Add doc files: - logging.txt - TODO.txt - coding-style.txt Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>