| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
| |
This page does not exist yet.
Signed-off-by: Martin Flaska <flegy@flegy.sk>
|
|
|
|
|
|
|
| |
It is now possible to manage the 'Never Quit' option via
the Set() methode.
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
| |
- Add object class object.container.storageFolder
- Add MediaServer2Spec definition "storage" for it
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
| |
Fix https://github.com/01org/dleyna-server/issues/7
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
| |
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Added some extra text to explain in more detail what container
resources are.
Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Fix https://github.com/01org/dleyna-server/issues/5
Add 'Resource' property
Add GetCompatibleResource API
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
| |
- '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>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
Add doc files:
- logging.txt
- TODO.txt
- coding-style.txt
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|