| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
| |
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 #123: <https://github.com/01org/dleyna-server/issues/123>
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
| |
Fix issue #122: <https://github.com/01org/dleyna-server/issues/122>
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
| |
Fixes https://github.com/01org/dleyna-collabora-android/issues/58
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Task GetAll has a field member 'filter_mask'.
This task and field are used by other methods, but not by GetAll properties.
GetAll parsing function used directly DLS_UPNP_MASK_ALL_PROPS constant in the code.
This will prevent to reuse the GetAll parsing function with another filter mask.
Initialize filter_mask to DLS_UPNP_MASK_ALL_PROPS in GetAll method and use
filter_mask in the GetAll parsing function.
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
|
|
|
| |
Add a new 'Error' property, used by BrowseObjects for instance.
Error is a dictionary with 2 entries:
ID: u -> Numeric error code
Message: s -> Error message
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
| |
Remove various empty properties from Item and Container.
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@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: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
|
|
|
| |
The libdleyna-server-1.0.so library is not really meant for public
consumption and it's just an internal implementation detail.
To prevent any confusion, ship it in a package-specific subdirectory of
the configured libdir.
Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
|
|
|
|
| |
Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't initialize result in task creation.
Avoid specific cases. It doesn't make the code more readable, nor smaller.
- if/else cleaning.
Make default action in if statement, and error management in else statement.
Most common usage.
- Factorize code.
Move same function call from each switch/case, outside the switch.
Reduce code.
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
| |
Fix issue #27: ip_address may be NULL and may be dereferenced.
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
| |
Fix issue #26: ip_address may be NULL and may be dereferenced.
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
| |
Fix issue #3: device_type may be NULL and may be dereferenced.
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>
|
|
|
|
|
|
|
|
|
|
|
| |
This is a port of commit:
https://github.com/01org/dleyna-renderer/commit/efa7cb33e68801059ddbadcd95df46bbae865eb4
DBus and the DBus connector are only needed at runtime and dropping the
pkg-config checks in ./configure allows the build to succeed even in
restricted build environment with minimal dependecies.
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a port of commits:
https://github.com/01org/dleyna-renderer/commit/8179084be7b32f187e9ab4d79a24efa668a6df71
https://github.com/01org/dleyna-renderer/commit/f3e9967b3c8f76b6d43320749b6e58e1a607d2a9
For instance, Debian Policy recommends that helper programs should be
installed under /usr/lib/${packagename}/ .
http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-support-files
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Port of commits:
https://github.com/01org/dleyna-renderer/commit/d1c84c820ce180eabb57b83da3569a4de24c3ac4
https://github.com/01org/dleyna-renderer/commit/6981acf20cadec8a9c29e0096d16c2062d19a384
Calling `pkg-config --variable=session_bus_services_dir dbus-1` under
JHBuild results in the system-installed dbus-1.pc being parsed and
our .service file will be put under the /usr prefix instead of the
JHBuild one.
To avoid that, take $(datadir) in account and install it under
$(datadir)/dbus-1/services by default like other packages do (eg.
gvfs).
For those with different needs a --with-dbus-service-dir configure flag
is provided.
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the way to identify root object.
We now use both object and parent ids values.
Object with a "0" object id value or a "-1" parent id value will
be considered as root object.
Reasons for accepting both:
a) there's code out there where root parent_id != -1 and
b) there's also code out there where root-like (parentless)
objects id != 0.
Object with a "0" id value or a "-1" parent id value
This fixes the case of issue #32 where root have an empty string as
parent id value.
According to the specification root parent id must have a "-1" value.
Fix issue: https://github.com/01org/dleyna-server/issues/32
Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
|
|
|
|
|
|
| |
Fix https://github.com/01org/dleyna-server/issues/94
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
| |
NOTE: Ignored message types: CAMELCASE NEW_TYPEDEFS PREFER_PRINTF
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Even when using autoreconf an autogen.sh script is usually expected, as
it save users from needing to know which flags to pass to autoreconf
(ie. '-i').
It is also usually responsible of launching autoreconf from the right
directory, calling utilities like intltoolize and gtkdocize, checking
out git submodules and running ./configure unless $NOCONFIGURE is set.
Signed-off-by: Emanuele Aina <emanuele.aina@collabora.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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|