| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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: Regis Merlino <regis.merlino@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Fix https://github.com/01org/dleyna-server/issues/49
Check output parameters (string & int) before use, even if the command succeed.
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, invalid types were not handled correctly which could lead
to crashes when processing invalid meta data or when an invalid type
is passed from applications, in the create container function for
example.
See https://github.com/01org/dleyna-renderer/issues/30 for more details
Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When setting a gboolean as the result of a bitfield operation,
the result could not be used directly in GVariant, using
g_variant_new_boolean or a call like
g_variant_builder_add(vb, "{sv}", key, g_variant_new_boolean(value));
gboolean is defined as gint
g_variant_new_boolean call internal function that only copy the first
byte of the gboolean.
ex:
gboolean x = 0x00000010 will work, and the GVariant = 0x10
gboolean x = 0x01000000 won't work. GVariant = 0;
We should not do: gboolean x = (x & y)
We must do: gboolean x = (x & y) != 0
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
|
|
| |
Fix bug https://github.com/01org/dleyna-server/issues/27
This patch affects the properties below:
ObjectUpdateID, ContainerUpdateID, TotalDeletedChildCount, UpdateCount
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>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Remove useless pointer check.
Update prv_add_strv_prop to behave as other functions.
Now it checks if 'value' parameter is not NULL.
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
| |
Add missing with-ua-prefix option doc to the README.
Fix issue https://github.com/01org/dleyna-server/issues/37
Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
|
|
|
|
| |
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@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: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
|
|
|
|
|
|
| |
- Add missing execution flags to test scripts.
Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
|