summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Port to gupnp-1.2Jan Tojnar2019-03-161-2/+0
| | | | | | | gupnp_context_get_host_ip has been deprecated for a long time, as the host-ip property moved to gssdp. There is also a ton of new deprecations but I will address that separately.
* Changed the Copyright to 2017Rick Bell2017-02-278-8/+8
|
* Added new core.c and core.h to Makefile.am.Rick Bell2015-05-012-2/+2
| | | | Updated Copyright from 2013 to 2015
* [Autoconf] Sub Makefile: Remove ACLOCAL_AMFLAGSLudovic Ferrandis2014-07-081-2/+0
| | | | | | | | | | | According to Automake.pdf: ACLOCAL_AMFLAGS: This variable is only useful in the top-level ‘Makefile.am’. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com> Fixes #127. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Device] Add Energy Management featuresChristophe Guiraud2013-12-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* [test] Save changed ServiceResetToken in configurationJussi Kukkonen2013-12-121-4/+6
| | | | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [test] Survive a missing ServiceResetToken in dscJussi Kukkonen2013-12-121-2/+2
| | | | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Tests] Fix a typo in the Upload Sync Controller's error managementRegis Merlino2013-12-121-5/+5
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Network Filtering] New API and saveLudovic Ferrandis2013-10-021-6/+13
| | | | | | | | - 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-6/+6
| | | | | | | | | | | 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-0/+6
| | | | | | | | 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>
* [Network Filtering] Add Network Filtering supportLudovic Ferrandis2013-08-221-3/+31
| | | | | | | | | | | | | | | | | 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>
* [Tests] Update the upload sync controller with live folder monitoringRegis Merlino2013-08-141-13/+121
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Tests] Add a sample upload sync controller appRegis Merlino2013-08-142-0/+424
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Device] Add a GetIcon() methodRegis Merlino2013-05-311-0/+3
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [API] Add CreateReference method to org.gnome.MediaContainer2Ludovic Ferrandis2013-05-161-1/+3
| | | | | | 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-14/+0
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Bug] Add a Rescan method to Manager interfaceSébastien Bianti2013-04-181-0/+3
| | | | | | | | - 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>
* [MediaConsole] Added methods for creating serversMark Ryan2013-04-161-0/+19
| | | | | | | | | | Two new methods have been added to the UPNP class, server_from_name and server_from_udn. These methods can be used to construct Device objects from UDNs or friendly names, which is typically easier than using the d-Bus path, which is long and changes from one invocation of dLeyna-server to the next. Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
* [Property] Display Resource property in ContainerLudovic Ferrandis2013-03-291-0/+4
| | | | | | | | | Fix https://github.com/01org/dleyna-server/issues/5 Add 'Resource' property Add GetCompatibleResource API Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Tests] Add print_metadata() method to MediaConsoleChristophe Guiraud2013-03-251-0/+6
| | | | | | | | | | | - Add a print_metadata() debug method to the MediaConsole Python test application. This new method allows to retrieve and pretty print Media objects Metadata information which are formatted in DIDL Lite XML. - Related to issue #25 Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
* [API] Add new GetMetaData Media Object APIChristophe Guiraud2013-03-221-0/+3
| | | | | | | | | | - 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>
* [Tests] Add missing execution flags to test scriptsChristophe Guiraud2013-03-012-0/+0
| | | | | | - Add missing execution flags to test scripts. Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
* [Tests] Move dms-info build output to test/dbusRegis Merlino2013-02-261-0/+15
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Init] Add initial source codeRegis Merlino2013-02-2510-0/+1409
Signed-off-by: Regis Merlino <regis.merlino@intel.com>