profile/ivi/rygel.git
11 years agoall: Port to libgee-0.8
Jens Georg [Tue, 20 Nov 2012 18:56:34 +0000 (19:56 +0100)]
all: Port to libgee-0.8

Fixes:
    https://bugzilla.gnome.org/show_bug.cgi?id=687168

11 years agodev: Fix .pc files
Jens Georg [Tue, 20 Nov 2012 18:06:32 +0000 (19:06 +0100)]
dev: Fix .pc files

11 years agoserver: Don't make private member a property
Jens Georg [Tue, 20 Nov 2012 16:15:48 +0000 (17:15 +0100)]
server: Don't make private member a property

11 years agoexample renderer plugin: Rename this with a -vala prefix.
Murray Cumming [Mon, 19 Nov 2012 12:57:22 +0000 (13:57 +0100)]
example renderer plugin: Rename this with a -vala prefix.

So that things are clearer when I add the C version,
and so that there is no conflict caused by two plugins
containing the same symbols.

11 years agoFix typos
Murray Cumming [Mon, 19 Nov 2012 12:38:15 +0000 (13:38 +0100)]
Fix typos

11 years agoUpdate .gitignore files now we have C files.
Murray Cumming [Mon, 19 Nov 2012 12:23:33 +0000 (13:23 +0100)]
Update .gitignore files now we have C files.

11 years agoexamples: Add a C version of the example server plugin
Murray Cumming [Mon, 19 Nov 2012 10:53:32 +0000 (11:53 +0100)]
examples: Add a C version of the example server plugin

11 years agoexample server plugin: Rename this with a -vala prefix.
Murray Cumming [Thu, 15 Nov 2012 09:46:25 +0000 (10:46 +0100)]
example server plugin: Rename this with a -vala prefix.

So that things are clearer when I add the C version,
and so that there is no conflict caused by two plugins
containing the same symbols.

11 years agoserver: Make more member variables be properties
Murray Cumming [Mon, 19 Nov 2012 10:55:54 +0000 (11:55 +0100)]
server: Make more member variables be properties

And update the standalone-server example appropriately.

See bug #686211 .

11 years agorenderer: Add comment about live sources
Jens Georg [Tue, 13 Nov 2012 15:18:58 +0000 (16:18 +0100)]
renderer: Add comment about live sources

11 years agoserver: Really fix Content-Length header
Jens Georg [Tue, 13 Nov 2012 14:06:17 +0000 (15:06 +0100)]
server: Really fix Content-Length header

6f5a29 used the wrong length for thumbnails and subtitles as well as setting
the wrong soup mode for resources whose size is not known, effectively
breaking proxying of non-local resources.

11 years agoplaybin: Add missing buffering handling
Jens Georg [Mon, 12 Nov 2012 21:57:35 +0000 (22:57 +0100)]
playbin: Add missing buffering handling

11 years agoserver: Add missing Content-Length header
Jens Georg [Mon, 12 Nov 2012 22:23:03 +0000 (23:23 +0100)]
server: Add missing Content-Length header

More fall-out from that seeking bugfix. Caused seek in player not to work as
well as missing length information for several file types.

11 years agoplaybin: Only report duration if known
Jens Georg [Mon, 12 Nov 2012 21:29:35 +0000 (22:29 +0100)]
playbin: Only report duration if known

11 years agoserver: Fix plugin creation. Use MediaServer3.xml
Ludovic Ferrandis [Wed, 7 Nov 2012 16:15:02 +0000 (17:15 +0100)]
server: Fix plugin creation. Use MediaServer3.xml

Was using old MediaServer2.xml file

11 years agoserver: Fix thumbnails for XBox 360
Jens Georg [Thu, 1 Nov 2012 22:57:01 +0000 (23:57 +0100)]
server: Fix thumbnails for XBox 360

If a video file needed transcoding for the XBox, it would not display a
thumbnail because the generated url was adding the /th/ subrequest on top of
the /tr/ request.

This caused a "no transcoder available for WMVHIGH_FULL.wmv" warning as well
as a failing thumbnail request.

11 years agoserver: Fix CSV splitting in ItemUpdater.
Krzesimir Nowak [Tue, 30 Oct 2012 08:04:02 +0000 (09:04 +0100)]
server: Fix CSV splitting in ItemUpdater.

https://bugzilla.gnome.org/show_bug.cgi?id=687177

11 years agomedia-export: Fix typo causing empty containers
Jens Georg [Thu, 1 Nov 2012 12:34:55 +0000 (13:34 +0100)]
media-export: Fix typo causing empty containers

11 years agoUpdated POTFILES.in and POTFILES.skip
Piotr Drąg [Mon, 29 Oct 2012 18:44:22 +0000 (19:44 +0100)]
Updated POTFILES.in and POTFILES.skip

11 years agoPrepare 0.17.1 RYGEL_0_17_1
Jens Georg [Mon, 29 Oct 2012 15:59:54 +0000 (16:59 +0100)]
Prepare 0.17.1

11 years agoi18n: Remove test plugin from POTFILES
Jens Georg [Mon, 29 Oct 2012 16:14:22 +0000 (17:14 +0100)]
i18n: Remove test plugin from POTFILES

11 years agomedia-export: Allow updating of items via UPnP
Jens Georg [Tue, 23 Oct 2012 21:11:48 +0000 (23:11 +0200)]
media-export: Allow updating of items via UPnP

11 years agoserver: Add UpdatableObject interface
Krzesimir Nowak [Tue, 23 Oct 2012 10:48:14 +0000 (12:48 +0200)]
server: Add UpdatableObject interface

Backends should implement this for persiting changes done by
UpdateObject call in their storage back-end.

11 years agoserver: Add UpdateObject action
Krzesimir Nowak [Thu, 11 Oct 2012 14:29:51 +0000 (16:29 +0200)]
server: Add UpdateObject action

11 years agoserver: Implement Service Reset Procedure
Jens Georg [Tue, 23 Oct 2012 13:52:13 +0000 (15:52 +0200)]
server: Implement Service Reset Procedure

11 years agoserver: Implement search for upnp:*UpdateID
Jens Georg [Mon, 22 Oct 2012 12:48:25 +0000 (14:48 +0200)]
server: Implement search for upnp:*UpdateID

11 years agoserver: Serialize special track item properties
Jens Georg [Sun, 21 Oct 2012 16:58:18 +0000 (18:58 +0200)]
server: Serialize special track item properties

- res@updateCount

11 years agoserver: Implement totalDeletedChildCount
Jens Georg [Sun, 21 Oct 2012 15:14:29 +0000 (17:14 +0200)]
server: Implement totalDeletedChildCount

11 years agomediathek: Add change tracking
Jens Georg [Mon, 29 Oct 2012 14:07:57 +0000 (15:07 +0100)]
mediathek: Add change tracking

11 years agoserver: Add automatic change tracking
Jens Georg [Mon, 29 Oct 2012 14:03:01 +0000 (15:03 +0100)]
server: Add automatic change tracking

11 years agogit: Update .gitignore
Jens Georg [Fri, 19 Oct 2012 18:52:42 +0000 (20:52 +0200)]
git: Update .gitignore

11 years agoserver: Implement ServiceResetToken
Jens Georg [Thu, 11 Oct 2012 14:04:44 +0000 (16:04 +0200)]
server: Implement ServiceResetToken

Currently it appears as if the server did a Service Reset Procedure
(cf. UPnP-av-ContentDirectory-v3-Service.pdf, Section 2.3.7.1, pg 51) when it
was shut down.

11 years agocore,plugins: Add server capabilities
Jens Georg [Thu, 11 Oct 2012 10:25:30 +0000 (12:25 +0200)]
core,plugins: Add server capabilities

Fixes:
    https://bugzilla.gnome.org/show_bug.cgi?id=676024

11 years agodata: Bump MediaServer version to 3
Jens Georg [Thu, 11 Oct 2012 12:39:52 +0000 (14:39 +0200)]
data: Bump MediaServer version to 3

Also use version and website from build in the device template.

Fixes:
    https://bugzilla.gnome.org/show_bug.cgi?id=679023

11 years agoserver: Implement LastChange in ContentDirectory
Krzesimir Nowak [Tue, 11 Sep 2012 14:37:56 +0000 (16:37 +0200)]
server: Implement LastChange in ContentDirectory

11 years agoserver: Changed Container's updated() signal.
Krzesimir Nowak [Tue, 11 Sep 2012 14:34:57 +0000 (16:34 +0200)]
server: Changed Container's updated() signal.

Used to implement a more fine-grained change tracking.

11 years agoserver: Add LastChange classes
Krzesimir Nowak [Tue, 11 Sep 2012 14:25:00 +0000 (16:25 +0200)]
server: Add LastChange classes

11 years agoengine-gst: Ignore full-range seek
Jens Georg [Sun, 28 Oct 2012 17:07:03 +0000 (18:07 +0100)]
engine-gst: Ignore full-range seek

11 years agoMake all const members upper case
Murray Cumming [Thu, 25 Oct 2012 08:12:04 +0000 (10:12 +0200)]
Make all const members upper case

11 years agoFix the build in renderer example.
Murray Cumming [Thu, 25 Oct 2012 08:17:10 +0000 (10:17 +0200)]
Fix the build in renderer example.

11 years agoserver: RootDeviceFactory: No public set for context
Murray Cumming [Wed, 24 Oct 2012 08:20:47 +0000 (10:20 +0200)]
server: RootDeviceFactory: No public set for context

11 years agoserver: Turn some member variables into properties.
Murray Cumming [Wed, 24 Oct 2012 08:17:20 +0000 (10:17 +0200)]
server: Turn some member variables into properties.

This should partly fix bug #686211

11 years agocore, server: Plugin: Avoid public setting of some members.
Murray Cumming [Tue, 23 Oct 2012 08:02:43 +0000 (10:02 +0200)]
core, server: Plugin: Avoid public setting of some members.

This is not necessary so it seems unwise to make it public API
already that cannot be removed later.
This actually changes the access from bare struct access to
GObject properties, allowing us later to respond properly to
changes to the title.
Bug #686682

11 years agoAdd example renderer plugin
Murray Cumming [Mon, 22 Oct 2012 11:52:40 +0000 (13:52 +0200)]
Add example renderer plugin

This is a fairly stupid example but it does at least show what
needs to be implemented, even if the example does not actually
contain much implementation.
Bug #686632

11 years agocore: Plugin: Mention MetaConfig
Murray Cumming [Tue, 23 Oct 2012 07:48:46 +0000 (09:48 +0200)]
core: Plugin: Mention MetaConfig

11 years agorenderer: Add MediaPlayer documentation
Murray Cumming [Mon, 22 Oct 2012 11:46:34 +0000 (13:46 +0200)]
renderer: Add MediaPlayer documentation

11 years agoRemove the test plugin
Murray Cumming [Mon, 22 Oct 2012 08:38:01 +0000 (10:38 +0200)]
Remove the test plugin

Because the new example plugins are better examples.

11 years agoAdd an example server plugin
Murray Cumming [Fri, 19 Oct 2012 11:44:37 +0000 (13:44 +0200)]
Add an example server plugin

* configure.ac: Add an --enable-example-plugins option.
* autogen.sh: Add --enable-example-plugins
* examples/: Add an example server plugin implemented in Vala.
* src/librygel-core/rygel-plugin.vala:
* src/librygel-core/rygel-plugin.vala: Document the name, title,
  and description parameters used by the example.

11 years agorenderer-gst: Add AAC mime-types
Jens Georg [Sat, 20 Oct 2012 12:37:34 +0000 (14:37 +0200)]
renderer-gst: Add AAC mime-types

11 years agocore: Don't search for modules hidden folders
Jens Georg [Fri, 19 Oct 2012 15:00:57 +0000 (17:00 +0200)]
core: Don't search for modules hidden folders

Unless it's .libs so that --enable-uninstalled still works.

https://bugzilla.gnome.org/show_bug.cgi?id=686018

11 years agodocs: Correct the MediaRenderer docs.
Murray Cumming [Fri, 19 Oct 2012 08:41:38 +0000 (10:41 +0200)]
docs: Correct the MediaRenderer docs.

They were a bad copy/paste of the MediaServer docs.

11 years agogstreamer: Fix DLNA profiles
Jens Georg [Thu, 18 Oct 2012 19:55:19 +0000 (21:55 +0200)]
gstreamer: Fix DLNA profiles

Mime-type and profile name were switched, causing upload to fail.

11 years agodocs: Explain modules, plugins, and players a bit more
Murray Cumming [Thu, 18 Oct 2012 12:22:30 +0000 (14:22 +0200)]
docs: Explain modules, plugins, and players a bit more

11 years agodocs: Mention basic usage (headers, cflags/libs, pkg-config)
Murray Cumming [Wed, 17 Oct 2012 07:36:13 +0000 (09:36 +0200)]
docs: Mention basic usage (headers, cflags/libs, pkg-config)

Also link to the examples properly.

11 years agoserver: docs: Mention the 3 uses.
Murray Cumming [Tue, 16 Oct 2012 11:55:35 +0000 (13:55 +0200)]
server: docs: Mention the 3 uses.

11 years agoserver: Improve MediaEngine documentation.
Murray Cumming [Tue, 16 Oct 2012 10:10:55 +0000 (12:10 +0200)]
server: Improve MediaEngine documentation.

11 years agobuild: Remove unneccessary gupnp-dlna dependencies
Mark Ryan [Fri, 12 Oct 2012 13:09:51 +0000 (15:09 +0200)]
build: Remove unneccessary gupnp-dlna dependencies

Rygel core no longer depends on gupnp-dlna. References to this library
can therefore be removed from the Rygel Makefiles.

https://bugzilla.gnome.org/show_bug.cgi?id=686037

11 years agodocs: Improve the librygel-core overview.
Murray Cumming [Fri, 12 Oct 2012 12:09:52 +0000 (14:09 +0200)]
docs: Improve the librygel-core overview.

11 years agodocs: No indent in first line of examples.
Murray Cumming [Fri, 12 Oct 2012 12:09:29 +0000 (14:09 +0200)]
docs: No indent in first line of examples.

11 years agoUpdate .gitignore for docs/
Murray Cumming [Fri, 12 Oct 2012 11:23:02 +0000 (13:23 +0200)]
Update .gitignore for docs/

11 years agodocs: Add overview documentation.
Murray Cumming [Fri, 12 Oct 2012 10:59:28 +0000 (12:59 +0200)]
docs: Add overview documentation.

These mention the most interesting classes and show the example code
from examples/.

11 years agodocs: Fix librygel-renderer-gst generation.
Murray Cumming [Fri, 12 Oct 2012 09:52:18 +0000 (11:52 +0200)]
docs: Fix librygel-renderer-gst generation.

11 years agoRemove some debug build stuff
Murray Cumming [Fri, 12 Oct 2012 09:38:52 +0000 (11:38 +0200)]
Remove some debug build stuff

11 years agodocs: Generalize the docs build more.
Murray Cumming [Fri, 12 Oct 2012 09:36:38 +0000 (11:36 +0200)]
docs: Generalize the docs build more.

But the librygel-renderer-gst docs are still not correct.

11 years agoserver: Only create seek when requested
Jens Georg [Thu, 11 Oct 2012 21:00:23 +0000 (23:00 +0200)]
server: Only create seek when requested

https://bugzilla.gnome.org/show_bug.cgi?id=685800

11 years agobuild: Fix distcheck, hopefully
Murray Cumming [Wed, 10 Oct 2012 10:07:46 +0000 (12:07 +0200)]
build: Fix distcheck, hopefully

11 years agobuild: Do not require valadoc in tarball builds
Murray Cumming [Wed, 10 Oct 2012 07:29:39 +0000 (09:29 +0200)]
build: Do not require valadoc in tarball builds

* configure.ac: Default --enable-valadoc to no.
* autogen.sh: Specify --enable-valadoc=yes here, as we already
  enable vala.
* Makefile.am: Remove --enable-valadoc from
  DISTCHECK_CONFIGURE_FLAGS
* doc/reference/doc-build.am: Move the ifdef around so that
  the html is always installed.

11 years agompris: Don't crash on faulty MPRIS implementation
Jens Georg [Tue, 9 Oct 2012 11:26:52 +0000 (13:26 +0200)]
mpris: Don't crash on faulty MPRIS implementation

11 years agodocs: Override the gtk-doc SERVER variable.
Murray Cumming [Tue, 9 Oct 2012 12:07:07 +0000 (14:07 +0200)]
docs: Override the gtk-doc SERVER variable.

We now have our own custom-written gtkdoc/*-docs.xml files, based on
the generated ones. valadoc/gtkdoc will then not regenerate them.
This makes the build more complicated because we cannot just delete
all of the gtkdoc directory. So I avoided the copy/paste by using
a .am fragment file.

11 years agobuild: Correct the .pc.in files.
Murray Cumming [Tue, 9 Oct 2012 11:25:53 +0000 (13:25 +0200)]
build: Correct the .pc.in files.

11 years agoexternal: Use audio.music as specified in spec
Jens Georg [Fri, 27 Apr 2012 18:36:52 +0000 (20:36 +0200)]
external: Use audio.music as specified in spec

We still keep "music" as everyone else seems to be using it now.

https://bugzilla.gnome.org/show_bug.cgi?id=674738

11 years agodoc: Fix generation of GStreamer renderer docs
Jens Georg [Mon, 8 Oct 2012 12:42:10 +0000 (14:42 +0200)]
doc: Fix generation of GStreamer renderer docs

11 years agoFix the build. Sorry
Murray Cumming [Mon, 8 Oct 2012 11:54:22 +0000 (13:54 +0200)]
Fix the build. Sorry

11 years agoserver: Add HTTPSeek docs
Murray Cumming [Mon, 8 Oct 2012 11:17:01 +0000 (13:17 +0200)]
server: Add HTTPSeek docs

11 years agoexample: Fix service description in init script
Jens Georg [Mon, 8 Oct 2012 09:37:50 +0000 (11:37 +0200)]
example: Fix service description in init script

11 years agorenderer: Renderer: Update docs for new API.
Murray Cumming [Mon, 8 Oct 2012 07:18:12 +0000 (09:18 +0200)]
renderer: Renderer: Update docs for new API.

11 years agocore: Fix namespace of DescriptionFile
Jens Georg [Sun, 7 Oct 2012 10:14:10 +0000 (12:14 +0200)]
core: Fix namespace of DescriptionFile

11 years agoserver: Stop crash if force-downgrade-for is empty
Jens Georg [Sat, 6 Oct 2012 20:40:57 +0000 (22:40 +0200)]
server: Stop crash if force-downgrade-for is empty

Fixes:
  https://bugzilla.gnome.org/show_bug.cgi?id=683934

11 years agorenderer: Add get_playbin()
Murray Cumming [Tue, 11 Sep 2012 08:57:52 +0000 (10:57 +0200)]
renderer: Add get_playbin()

This avoids the need to get the default player just to get the playbin.

11 years agomedia-export: Ignore invalid colorDepth
Mark Ryan [Wed, 26 Sep 2012 11:58:17 +0000 (13:58 +0200)]
media-export: Ignore invalid colorDepth

media-export calls the GStreamer function gst_discoverer_video_info_get_depth
to determine the color depth of images and videos.  When this function fails
it returns 0.  The media-export plugin is not currently testing for this error
case and is treating 0 as a valid color depth.  Rygel in turn is reporting
a color depth of 0 for some files.  This seems to happen for all JPEGs on
my machine.  This patch fixes the problem by preventing Rygel from returning
a colorDepth resource for items whose color depth cannot be determined by
gst_discoverer_video_info_get_depth.

https://bugzilla.gnome.org/show_bug.cgi?id=684868

11 years agogstreamer: Don't crash on transcoding
Jens Georg [Sat, 6 Oct 2012 15:11:31 +0000 (17:11 +0200)]
gstreamer: Don't crash on transcoding

11 years agoall: Adapt to new GUPnP vapi
Jens Georg [Sat, 6 Oct 2012 13:36:59 +0000 (15:36 +0200)]
all: Adapt to new GUPnP vapi

11 years agoMove UUID_LIBS to where it's actually used
Andreas Henriksson [Tue, 25 Sep 2012 00:34:59 +0000 (02:34 +0200)]
Move UUID_LIBS to where it's actually used

having it in RYGEL_BASE_LIBS causes 6 binaries to be uselessly linked to it.

11 years agoFix typo in librygel-core Makefile.am (GIO_LIBS vs LIBGIO_LIBS)
Andreas Henriksson [Mon, 24 Sep 2012 22:26:16 +0000 (00:26 +0200)]
Fix typo in librygel-core Makefile.am (GIO_LIBS vs LIBGIO_LIBS)

11 years agoExpand LIBADDs to everything needed
Andreas Henriksson [Mon, 24 Sep 2012 22:15:39 +0000 (00:15 +0200)]
Expand LIBADDs to everything needed

Put every used library in the LIBADD to be able
to build with a gupnp stack that doesn't leak linker flags.

11 years agoMove rygel base libs up the linking chain to avoid excessive linking
Andreas Henriksson [Wed, 19 Sep 2012 17:19:44 +0000 (19:19 +0200)]
Move rygel base libs up the linking chain to avoid excessive linking

$((LIBGUPNP_AV_LIBS) and $(GSTREAMER_BASE_LIBS) aren't needed by
librygel-core and $(RYGEL_BASE_LIBS) are only used in a couple of
places, so move these over to those places instead....

11 years agoDrop unused libs from librygel-core
Andreas Henriksson [Wed, 19 Sep 2012 16:56:49 +0000 (18:56 +0200)]
Drop unused libs from librygel-core

11 years agoFix the RygelHTTPGetTest.
Krzesimir Nowak [Fri, 21 Sep 2012 12:08:33 +0000 (14:08 +0200)]
Fix the RygelHTTPGetTest.

No need to start async this.client.run () again - it is already done
in start_next_test_request (). This was causing failures on Fedora.

https://bugzilla.gnome.org/show_bug.cgi?id=680496

11 years agoPrepare 0.17.0 RYGEL_0_17_0
Jens Georg [Fri, 5 Oct 2012 15:54:44 +0000 (17:54 +0200)]
Prepare 0.17.0

11 years agoi18n: Update POFILES.{in,skip}
Jens Georg [Fri, 5 Oct 2012 15:07:49 +0000 (17:07 +0200)]
i18n: Update POFILES.{in,skip}

11 years agoall: Bump API and so version
Jens Georg [Fri, 5 Oct 2012 14:20:01 +0000 (16:20 +0200)]
all: Bump API and so version

11 years agoserver,engine: Return null DataSource on error
Jens Georg [Fri, 5 Oct 2012 10:33:52 +0000 (12:33 +0200)]
server,engine: Return null DataSource on error

Make it possible for a media engine to say "I don't support this kind of uris"

11 years agotest: Add a test for media engines
Jens Georg [Fri, 5 Oct 2012 07:27:28 +0000 (09:27 +0200)]
test: Add a test for media engines

11 years agoengine: Add a sample media engine implementation
Jens Georg [Fri, 5 Oct 2012 07:26:28 +0000 (09:26 +0200)]
engine: Add a sample media engine implementation

11 years agocore: Add empty Configuration implementation
Jens Georg [Wed, 3 Oct 2012 11:49:46 +0000 (13:49 +0200)]
core: Add empty Configuration implementation

11 years agotest: Silence warnings in ItemCreator test
Jens Georg [Wed, 3 Oct 2012 11:48:33 +0000 (13:48 +0200)]
test: Silence warnings in ItemCreator test

11 years agobuild: Enable building Rygel without GStreamer
Jens Georg [Thu, 27 Sep 2012 11:10:57 +0000 (13:10 +0200)]
build: Enable building Rygel without GStreamer

If no GStreamer is available, build Rygel without a media engine and all
Plugins that require GStreamer, such as:

* test
* gst-launch
* media-export
* playbin

11 years agorenderer: Remove GStreamer references
Jens Georg [Thu, 27 Sep 2012 12:44:59 +0000 (14:44 +0200)]
renderer: Remove GStreamer references

Change API to be more like libserver. Extract Playbin-specific implementation
into an additional library.

11 years agogit: Update .gitignore
Jens Georg [Wed, 26 Sep 2012 19:09:50 +0000 (21:09 +0200)]
git: Update .gitignore

11 years agoserver,engine: Move MediaEngine into .so
Jens Georg [Wed, 12 Sep 2012 12:25:24 +0000 (14:25 +0200)]
server,engine: Move MediaEngine into .so