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.
Jens Georg [Sat, 20 Oct 2012 12:37:34 +0000 (14:37 +0200)]
renderer-gst: Add AAC mime-types
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
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.
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.
Murray Cumming [Thu, 18 Oct 2012 12:22:30 +0000 (14:22 +0200)]
docs: Explain modules, plugins, and players a bit more
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.
Murray Cumming [Tue, 16 Oct 2012 11:55:35 +0000 (13:55 +0200)]
server: docs: Mention the 3 uses.
Murray Cumming [Tue, 16 Oct 2012 10:10:55 +0000 (12:10 +0200)]
server: Improve MediaEngine documentation.
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
Murray Cumming [Fri, 12 Oct 2012 12:09:52 +0000 (14:09 +0200)]
docs: Improve the librygel-core overview.
Murray Cumming [Fri, 12 Oct 2012 12:09:29 +0000 (14:09 +0200)]
docs: No indent in first line of examples.
Murray Cumming [Fri, 12 Oct 2012 11:23:02 +0000 (13:23 +0200)]
Update .gitignore for docs/
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/.
Murray Cumming [Fri, 12 Oct 2012 09:52:18 +0000 (11:52 +0200)]
docs: Fix librygel-renderer-gst generation.
Murray Cumming [Fri, 12 Oct 2012 09:38:52 +0000 (11:38 +0200)]
Remove some debug build stuff
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.
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
Murray Cumming [Wed, 10 Oct 2012 10:07:46 +0000 (12:07 +0200)]
build: Fix distcheck, hopefully
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.
Jens Georg [Tue, 9 Oct 2012 11:26:52 +0000 (13:26 +0200)]
mpris: Don't crash on faulty MPRIS implementation
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.
Murray Cumming [Tue, 9 Oct 2012 11:25:53 +0000 (13:25 +0200)]
build: Correct the .pc.in files.
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
Jens Georg [Mon, 8 Oct 2012 12:42:10 +0000 (14:42 +0200)]
doc: Fix generation of GStreamer renderer docs
Murray Cumming [Mon, 8 Oct 2012 11:54:22 +0000 (13:54 +0200)]
Fix the build. Sorry
Murray Cumming [Mon, 8 Oct 2012 11:17:01 +0000 (13:17 +0200)]
server: Add HTTPSeek docs
Jens Georg [Mon, 8 Oct 2012 09:37:50 +0000 (11:37 +0200)]
example: Fix service description in init script
Murray Cumming [Mon, 8 Oct 2012 07:18:12 +0000 (09:18 +0200)]
renderer: Renderer: Update docs for new API.
Jens Georg [Sun, 7 Oct 2012 10:14:10 +0000 (12:14 +0200)]
core: Fix namespace of DescriptionFile
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
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.
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
Jens Georg [Sat, 6 Oct 2012 15:11:31 +0000 (17:11 +0200)]
gstreamer: Don't crash on transcoding
Jens Georg [Sat, 6 Oct 2012 13:36:59 +0000 (15:36 +0200)]
all: Adapt to new GUPnP vapi
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.
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)
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.
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....
Andreas Henriksson [Wed, 19 Sep 2012 16:56:49 +0000 (18:56 +0200)]
Drop unused libs from librygel-core
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
Jens Georg [Fri, 5 Oct 2012 15:54:44 +0000 (17:54 +0200)]
Prepare 0.17.0
Jens Georg [Fri, 5 Oct 2012 15:07:49 +0000 (17:07 +0200)]
i18n: Update POFILES.{in,skip}
Jens Georg [Fri, 5 Oct 2012 14:20:01 +0000 (16:20 +0200)]
all: Bump API and so version
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"
Jens Georg [Fri, 5 Oct 2012 07:27:28 +0000 (09:27 +0200)]
test: Add a test for media engines
Jens Georg [Fri, 5 Oct 2012 07:26:28 +0000 (09:26 +0200)]
engine: Add a sample media engine implementation
Jens Georg [Wed, 3 Oct 2012 11:49:46 +0000 (13:49 +0200)]
core: Add empty Configuration implementation
Jens Georg [Wed, 3 Oct 2012 11:48:33 +0000 (13:48 +0200)]
test: Silence warnings in ItemCreator test
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
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.
Jens Georg [Wed, 26 Sep 2012 19:09:50 +0000 (21:09 +0200)]
git: Update .gitignore
Jens Georg [Wed, 12 Sep 2012 12:25:24 +0000 (14:25 +0200)]
server,engine: Move MediaEngine into .so
Jens Georg [Tue, 11 Sep 2012 12:55:50 +0000 (14:55 +0200)]
server: Remove GStreamer from TimeSeek
Jens Georg [Tue, 11 Sep 2012 11:45:20 +0000 (13:45 +0200)]
server: Clean-up imports
Jens Georg [Tue, 11 Sep 2012 11:34:42 +0000 (13:34 +0200)]
server: Re-enable transcoders
Jens Georg [Fri, 31 Aug 2012 14:39:07 +0000 (16:39 +0200)]
server: Introduce DataSource interface
Port the streaming to using DataSources.
Jens Georg [Fri, 31 Aug 2012 13:41:43 +0000 (15:41 +0200)]
core,data,doc: Drop transcoder options
Add a new [MediaEngine] section and add a "transcoders" list.
Jens Georg [Fri, 31 Aug 2012 07:37:48 +0000 (09:37 +0200)]
core: Move transcoder knowledge into MediaEngine
Jens Georg [Thu, 30 Aug 2012 12:00:21 +0000 (14:00 +0200)]
core: Separate GStreamer details from Transcoder
Jens Georg [Thu, 30 Aug 2012 11:36:20 +0000 (13:36 +0200)]
core: Move DLNA profile lookup to MediaEngine
Jens Georg [Fri, 5 Oct 2012 15:32:51 +0000 (17:32 +0200)]
examples: Fix serving files
Jens Georg [Fri, 5 Oct 2012 12:57:50 +0000 (14:57 +0200)]
build: Fix building of librygel-renderer
Jens Georg [Fri, 5 Oct 2012 12:14:33 +0000 (14:14 +0200)]
build: Add deps files and install them
Jens Georg [Fri, 5 Oct 2012 11:03:21 +0000 (13:03 +0200)]
build: Install and dist server pkg-config
Jens Georg [Mon, 1 Oct 2012 12:30:47 +0000 (14:30 +0200)]
server: Force downgrade for Reciva firmware
Seems to have regressed, used to work fine with v257-* firmware.
Fixes:
https://bugzilla.gnome.org/show_bug.cgi?id=685183
Jens Georg [Fri, 28 Sep 2012 08:46:18 +0000 (10:46 +0200)]
tracker: Drop GUPnP-DLNA dependency
If tracker knows the DLNA profile for a file, it also knows the correct mime
type with version >= 0.12. We can drop this dependency now.
Jens Georg [Thu, 27 Sep 2012 13:10:09 +0000 (15:10 +0200)]
build: Dist vapi files
Krzesimir Nowak [Tue, 18 Sep 2012 13:38:56 +0000 (15:38 +0200)]
tests: Add RygelUserConfigTest
For now it tests configuration loading depending on whether local or
system configuration files exist, and monitoring of configuration
files.
Krzesimir Nowak [Tue, 25 Sep 2012 12:09:58 +0000 (14:09 +0200)]
core: Fix some style issues in UserConfig
Krzesimir Nowak [Tue, 18 Sep 2012 11:54:07 +0000 (13:54 +0200)]
core: Add testable UserConfig constructor
We want to be able to set both custom local config and custom system
config for testing purposes. I guess we could do it by some
environment variable wizardry or compile flags voodoo, but this
solution is just cleaner.
Krzesimir Nowak [Tue, 18 Sep 2012 10:59:08 +0000 (12:59 +0200)]
core: Add config file monitoring to UserConfig.
There are two monitors actually - one for system config and one for
local config. RygelUserConfig emit changes signals only when actual
gotten value is different. For example if local config has a setting
for interface and a change of interface value happens in system
config, then signal is not emitted - local config has precendence over
system config.
Krzesimir Nowak [Tue, 18 Sep 2012 11:05:17 +0000 (13:05 +0200)]
core: Use static section name in UserConfig
Krzesimir Nowak [Tue, 18 Sep 2012 11:03:55 +0000 (13:03 +0200)]
core: Add changed signals emission to MetaConfig
RygelMetaConfig emits signals only when one of its backends emit such
signals and its value is taken from settings getter. For example, if
we set interface in command line and RygelUserConfig emits a signal
about interface change, RygelMetaConfig is going to ignore it, as
interface value is taken from command line settings.
Krzesimir Nowak [Tue, 18 Sep 2012 11:01:59 +0000 (13:01 +0200)]
core: Add changed signals to RygelConfiguration.
Three different signals for three different types of settings:
1. For known configuration settings (like upnp-enabled).
2. For known section settings (here: title and enabled).
3. For custom settings (not covered by RygelConfiguration interface).
Krzesimir Nowak [Thu, 20 Sep 2012 10:50:25 +0000 (12:50 +0200)]
git: Update .gitignore.
Krzesimir Nowak [Tue, 18 Sep 2012 13:34:56 +0000 (15:34 +0200)]
core: Remove useless 'using FreeDesktop' from UserConfig.
Krzesimir Nowak [Tue, 18 Sep 2012 10:52:28 +0000 (12:52 +0200)]
core: Zero should be a correct settings value.
Krzesimir Nowak [Tue, 18 Sep 2012 11:04:36 +0000 (13:04 +0200)]
core: Fix typo in RygelMetaConfig.
Piotr Drąg [Mon, 24 Sep 2012 13:14:00 +0000 (15:14 +0200)]
Updated POTFILES.in and POTFILES.skip
Jens Georg [Mon, 24 Sep 2012 11:53:31 +0000 (13:53 +0200)]
build: Install library header files
Murray Cumming [Wed, 12 Sep 2012 09:22:29 +0000 (11:22 +0200)]
example: Fix tiny typo
Murray Cumming [Fri, 21 Sep 2012 11:04:10 +0000 (13:04 +0200)]
server: SearchableContainer: Clarify that default is in base class.
Murray Cumming [Wed, 19 Sep 2012 10:35:02 +0000 (12:35 +0200)]
server: Add more class documentation.
Murray Cumming [Wed, 19 Sep 2012 10:01:28 +0000 (12:01 +0200)]
server: VisualItem, ImageItem, VideoItem: Document thumbnail properties
Murray Cumming [Wed, 19 Sep 2012 09:55:29 +0000 (11:55 +0200)]
server: VisualItem, ImageItem, VideoItem: Document some properties.
The color depth documentation is from the UPnP ContentDirectory
specification.
Murray Cumming [Wed, 19 Sep 2012 08:57:16 +0000 (10:57 +0200)]
server: VisualItem: Remove pixel-height and pixel-width properties.
These properties are unused and undocumented.
Murray Cumming [Mon, 17 Sep 2012 11:22:56 +0000 (13:22 +0200)]
docs: Show hierarchy, properties and signals
We needed to pass the .so to valadoc.
Murray Cumming [Mon, 17 Sep 2012 10:42:04 +0000 (12:42 +0200)]
server: MediaObject, MediaItem: Slightly more documentation.
Mention the derived classes, in particular because valadoc gtkdoc
does not show the hierarchy.
Also mention that they correspond to parts of DIDL-Lite in the
ContentDirectory spec.
Murray Cumming [Mon, 17 Sep 2012 10:23:46 +0000 (12:23 +0200)]
server: WritableContainer: Minor improvements.
Murray Cumming [Mon, 17 Sep 2012 09:54:24 +0000 (11:54 +0200)]
server: Improve the RygelWritableContainer documentation.
This resolves some of the confusion in the API caused by it using
add_item (instead of CreateObject as in the ContentDirectory spec)
but still using create_classes and can_create().
Personally I'd prefer to change those to add too.
However, I noticed two more valadoc bugs, mentioned here in TODO
comments.
Murray Cumming [Thu, 13 Sep 2012 10:27:50 +0000 (12:27 +0200)]
server: Make some SimpleContainer methods protected and documented.
Make get_all_children() and is_child_id_unique() protected and
document them as being useful when implementing derived classes,
because they are only used in plugins that derive their own
containers.
Murray Cumming [Thu, 13 Sep 2012 10:15:43 +0000 (12:15 +0200)]
server: Add/improve docs for MediaServer and co.
Murray Cumming [Tue, 11 Sep 2012 09:51:23 +0000 (11:51 +0200)]
server: Make ContentDirectoryError internal.
Because it is used by ContentDirectory, which is internal.
This removes it from the librygel-server API documentation.
Murray Cumming [Tue, 11 Sep 2012 07:39:09 +0000 (09:39 +0200)]
renderer: Make docs C-like rather than vala-like.
Murray Cumming [Tue, 11 Sep 2012 07:23:30 +0000 (09:23 +0200)]
renderer: Document implementation classes as such.
Murray Cumming [Mon, 10 Sep 2012 11:53:12 +0000 (13:53 +0200)]
renderer: Simple documentation
Murray Cumming [Mon, 10 Sep 2012 11:40:21 +0000 (13:40 +0200)]
renderer: Improve the Playbin.Renderer documentation.
Based on examples/standalone-renderer.c
Murray Cumming [Mon, 10 Sep 2012 09:12:36 +0000 (11:12 +0200)]
renderer: Improve Renderer docs slightly.
Mattias Põldaru [Mon, 24 Sep 2012 08:11:56 +0000 (11:11 +0300)]
[l10n] Updated Estonian translation