summaryrefslogtreecommitdiff
path: root/libdleyna/server
Commit message (Collapse)AuthorAgeFilesLines
...
* [Bug Fix] Incorrect CreateClass property nameLudovic Ferrandis2013-05-161-1/+3
| | | | | | Fix https://github.com/01org/dleyna-server/issues/94 Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Coding Convention] New version of CheckPatch [3.8.0.19]Ludovic Ferrandis2013-05-162-10/+6
| | | | | | NOTE: Ignored message types: CAMELCASE NEW_TYPEDEFS PREFER_PRINTF Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Property] Add support for object.container.storageFolderLudovic Ferrandis2013-05-161-0/+9
| | | | | | | - 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-4/+13
| | | | | | | | | | - 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-168-2/+188
| | | | | | 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-1410-667/+0
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Bug] Add a Rescan method to Manager interfaceSébastien Bianti2013-04-186-0/+33
| | | | | | | | - 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-174-33/+156
| | | | | | | | | | | | 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>
* [GUPnP] Output parameters could not be initialized on success.Ludovic Ferrandis2013-04-111-193/+243
| | | | | | | | 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>
* dLeyna-server now handles invalid types.Mark Ryan2013-04-114-5/+40
| | | | | | | | | | | 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>
* [Device] Fix device constructionRegis Merlino2013-04-093-51/+165
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Property] Fix a potential bug when setting Boolean gvariantLudovic Ferrandis2013-04-081-5/+5
| | | | | | | | | | | | | | | | | | | | 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>
* [Device] Fix nested gupnp service callsRegis Merlino2013-04-081-22/+32
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Property] Don't display Tracking Option properties when Tracking is off.Ludovic Ferrandis2013-04-041-8/+20
| | | | | | | | | 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>
* [Property] Add MediaItem2 resource properties to Container. Fix UpdateCount.Ludovic Ferrandis2013-04-044-56/+156
| | | | | | | | | | | | | 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>
* [Device] Update CreateContainer DLNAManaged flagsRegis Merlino2013-03-291-1/+7
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Bug Fix] Fix a memory leak in dls_upnp_get_resourceLudovic Ferrandis2013-03-291-0/+2
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Property] Display Resource property in ContainerLudovic Ferrandis2013-03-292-60/+90
| | | | | | | | | Fix https://github.com/01org/dleyna-server/issues/5 Add 'Resource' property Add GetCompatibleResource API Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Property] Code cleaningLudovic Ferrandis2013-03-291-13/+7
| | | | | | | | | 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>
* [Props] Handle wild cards for SortCaps & SearchCapsRegis Merlino2013-03-281-9/+13
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [API] Add new GetMetaData Media Object APIChristophe Guiraud2013-03-228-4/+128
| | | | | | | | | | - 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>
* [Configuration] Post-release version bumpLudovic Ferrandis2013-03-121-1/+1
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Build] Add missing distribution filesRegis Merlino2013-03-111-1/+13
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Architecture] Change directory structure to enable build from a master projectRegis Merlino2013-03-1124-0/+10830
Signed-off-by: Regis Merlino <regis.merlino@intel.com>