Zeeshan Ali (Khattak) [Sun, 31 May 2009 18:56:59 +0000 (21:56 +0300)]
core: *MediaServer* -> *RootDevice*
Rygel won't just be a MediaServer anymore soon, hence the renaming.
Zeeshan Ali (Khattak) [Fri, 29 May 2009 10:50:49 +0000 (13:50 +0300)]
Prepare release notes for 0.3.
Zeeshan Ali (Khattak) [Thu, 28 May 2009 14:21:03 +0000 (17:21 +0300)]
Don't put empty string to 'folders' config
Zeeshan Ali (Khattak) [Thu, 28 May 2009 13:54:52 +0000 (16:54 +0300)]
Clear the existing service list first
Services were getting accumulated in the description files each time
rygel was started. This change is to fix that.
Zeeshan Ali (Khattak) [Thu, 28 May 2009 13:39:03 +0000 (16:39 +0300)]
Take user transcoding configuration into account
Zeeshan Ali (Khattak) [Thu, 28 May 2009 12:59:53 +0000 (15:59 +0300)]
Rygel.Configuration is now a singleton
Zeeshan Ali (Khattak) [Thu, 28 May 2009 12:59:29 +0000 (15:59 +0300)]
Rygel.Configuration should inherit GLib.Object
Zeeshan Ali (Khattak) [Thu, 28 May 2009 11:40:46 +0000 (14:40 +0300)]
Use GLib.warning() for displaying warnings
Zeeshan Ali (Khattak) [Thu, 28 May 2009 11:29:14 +0000 (14:29 +0300)]
Mediathek plugin should be enabled in the config
If the user built it, she knows that she needs it.
Zeeshan Ali (Khattak) [Thu, 28 May 2009 11:18:59 +0000 (14:18 +0300)]
Minor indentation fix
Jens Georg [Wed, 27 May 2009 22:24:20 +0000 (00:24 +0200)]
Use Configuration class instead of raw gconf
Jens Georg [Sun, 10 May 2009 15:30:20 +0000 (17:30 +0200)]
Remove MediaItem subclass
A special media item is no longer needed since commit
5da6e0be3c9d1162b9a39802157b1fd4facce86c
Jens Georg [Tue, 5 May 2009 20:09:33 +0000 (22:09 +0200)]
Simply use basename everywhere
There's no need to calculate the relative path to the parent
folder; that's exactly what basename does
Jens Georg [Wed, 27 May 2009 21:31:33 +0000 (23:31 +0200)]
Fix missing return value
Jens Georg [Wed, 27 May 2009 21:13:33 +0000 (23:13 +0200)]
Fix exception handling
Jens Georg [Wed, 27 May 2009 21:07:54 +0000 (23:07 +0200)]
Add get_int_list method to Configuration class
Jens Georg [Wed, 27 May 2009 20:38:04 +0000 (22:38 +0200)]
Use configuration class
Use rygel's configuration class to access configuration.
Pay attention to the return value of get_user_special_dir ()
Jens Georg [Wed, 27 May 2009 20:24:44 +0000 (22:24 +0200)]
Fix schema file
- Missing </schema> tag
- Wrong plugin name used
Jens Georg [Wed, 27 May 2009 13:05:50 +0000 (15:05 +0200)]
Rename gconf key from folder to folders
Folder was a legacy from when the plugin was meant
to only export a single folder; this is not true anymore
and the key has been renamed to reflect this
Jens Georg [Tue, 26 May 2009 20:20:55 +0000 (22:20 +0200)]
Add Readme for Mediathek plugin configuration
Jens Georg [Tue, 26 May 2009 20:20:31 +0000 (22:20 +0200)]
Update schemafile for Folder and Mediathek
Zeeshan Ali (Khattak) [Wed, 27 May 2009 17:01:25 +0000 (20:01 +0300)]
Align the label to corresponding textview
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:21:28 +0000 (19:21 +0300)]
OK button is the default button
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:13:14 +0000 (19:13 +0300)]
Put plugins pref table in an alignment
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:06:55 +0000 (19:06 +0300)]
Provide mnemonics
Zeeshan Ali (Khattak) [Wed, 27 May 2009 15:33:49 +0000 (18:33 +0300)]
Equally align the text labels
Zeeshan Ali (Khattak) [Wed, 27 May 2009 14:56:51 +0000 (17:56 +0300)]
Handle 'Folders' textview
Get/Set folders from/to configuration to/from 'Folders' textview
Zeeshan Ali (Khattak) [Wed, 27 May 2009 14:54:02 +0000 (17:54 +0300)]
Methods to get/set list of strings configuration
Provide convenience methods to get/set list of strings from configuration
Zeeshan Ali (Khattak) [Wed, 27 May 2009 12:51:10 +0000 (15:51 +0300)]
Add widgets to UI for specifying folders to export
Zeeshan Ali (Khattak) [Wed, 27 May 2009 11:22:14 +0000 (14:22 +0300)]
DBus MediaServer spec update
Namespace renamed from "org.Rygel" to "org.gnome.UPnP"
Zeeshan Ali (Khattak) [Wed, 27 May 2009 11:09:40 +0000 (14:09 +0300)]
Better handling of Module.symbol() failure
Zeeshan Ali (Khattak) [Wed, 27 May 2009 10:53:40 +0000 (13:53 +0300)]
Show exact error on module load failure
Zeeshan Ali (Khattak) [Wed, 27 May 2009 10:47:41 +0000 (13:47 +0300)]
Module load failure message should be a warning
Zeeshan Ali (Khattak) [Tue, 26 May 2009 18:21:28 +0000 (21:21 +0300)]
Proper use of 'top_srcdir' and 'abs_top_builddir'
Use $(top_srcdir)/src/rygel as header and vapi search dir and
$(abs_top_builddir)/src/rygel as library path. Why? I have no idea, just
that this makes `make distcheck` succeed.
Zeeshan Ali (Khattak) [Tue, 26 May 2009 17:57:19 +0000 (20:57 +0300)]
More verbose output on module loading failure
Zeeshan Ali (Khattak) [Tue, 26 May 2009 14:53:43 +0000 (17:53 +0300)]
No need to disable UI tools
If user doesn't enable vala checks, don't assume gtk+ isn't available.
Zeeshan Ali (Khattak) [Tue, 26 May 2009 14:01:17 +0000 (17:01 +0300)]
Bump-up gupnp-av requiment to latest: 0.4
We are implicitly doing that anyway so just to make it explicit.
Zeeshan Ali (Khattak) [Tue, 26 May 2009 13:53:59 +0000 (16:53 +0300)]
Distribute .version file
Zeeshan Ali (Khattak) [Tue, 26 May 2009 13:09:10 +0000 (16:09 +0300)]
Value of VAPIDIR defaults to ${datadir}/vala/vapi
Assume VAPIDIR to be ${datadir}/vala/vapi if vala is not enabled.
Zeeshan Ali (Khattak) [Tue, 26 May 2009 12:21:43 +0000 (15:21 +0300)]
Don't check for vala unless instructed to do so
With this change people building from distribution tarball will not
(hopefully) need vala. Yay!
Zeeshan Ali (Khattak) [Tue, 26 May 2009 12:21:13 +0000 (15:21 +0300)]
Distribute built sources as well
Zeeshan Ali (Khattak) [Tue, 26 May 2009 12:19:14 +0000 (15:19 +0300)]
Fix a typo in mediathek plugin Mafefile.am
Rename *media-mediathek* to *mediathek*.
Zeeshan Ali (Khattak) [Mon, 25 May 2009 21:57:35 +0000 (00:57 +0300)]
Require vala 0.7.3
Zeeshan Ali (Khattak) [Mon, 25 May 2009 21:22:49 +0000 (00:22 +0300)]
Add Jens Georg to AUTHORS
Zeeshan Ali (Khattak) [Mon, 25 May 2009 20:28:48 +0000 (23:28 +0300)]
Only load DVB plugin if service is available
Try to launch the DVB Daemon service by name and if we fail, don't load
the DVB plugin.
Zeeshan Ali (Khattak) [Mon, 25 May 2009 16:08:23 +0000 (19:08 +0300)]
Only load Tracker plugin if service is available
Try to launch the tracker service by name and if we fail, don't load
the Tracker plugin. This should setisfy some tracker-haters. :)
Zeeshan Ali (Khattak) [Mon, 25 May 2009 14:43:34 +0000 (17:43 +0300)]
Provide GConf schemas
Zeeshan Ali (Khattak) [Sun, 24 May 2009 23:16:37 +0000 (02:16 +0300)]
Add Folder plugin to user preferences UI
Zeeshan Ali (Khattak) [Sun, 24 May 2009 21:17:02 +0000 (00:17 +0300)]
Remove test plugin from config UI
Marc-André Lureau [Mon, 11 May 2009 13:35:10 +0000 (16:35 +0300)]
git-version-gen: generate versions with . instead of -
Dude, you generate wrong versions! It looks so bad in my awesome
jhbuild.
Zeeshan Ali (Khattak) [Sun, 24 May 2009 20:24:52 +0000 (23:24 +0300)]
Don't keep the UDN in user config anymore
Zeeshan Ali (Khattak) [Sun, 24 May 2009 20:09:56 +0000 (23:09 +0300)]
Generate UDN when creating description first time
We still want to generate UDN the first time user runs rygel but now we
check if UDN already exists in the description rather than in config.
Zeeshan Ali (Khattak) [Fri, 22 May 2009 23:34:57 +0000 (02:34 +0300)]
Re-use existing description
No need to always build the description from template. This will allow
us to keep some modification to the description limited to first time
user runs rygel.
Zeeshan Ali (Khattak) [Fri, 22 May 2009 15:19:12 +0000 (18:19 +0300)]
Catch error from ExternalContainer.fetch_media_objects
Zeeshan Ali (Khattak) [Fri, 22 May 2009 15:15:43 +0000 (18:15 +0300)]
Fix a small typo
Zeeshan Ali (Khattak) [Tue, 19 May 2009 15:19:17 +0000 (18:19 +0300)]
Update the API usage according to latest spec.
Zeeshan Ali (Khattak) [Thu, 14 May 2009 22:25:33 +0000 (01:25 +0300)]
Act on org.Rygel.MediaContainer1.Updated() signal
Zeeshan Ali (Khattak) [Wed, 13 May 2009 14:01:33 +0000 (17:01 +0300)]
Use GetAll to get all item props at once
Zeeshan Ali (Khattak) [Wed, 13 May 2009 13:32:44 +0000 (16:32 +0300)]
Take care of activatable services as well
Zeeshan Ali (Khattak) [Wed, 13 May 2009 13:08:53 +0000 (16:08 +0300)]
Move the constants into class definitions
Zeeshan Ali (Khattak) [Wed, 13 May 2009 13:06:56 +0000 (16:06 +0300)]
Put PluginFactory in a separate file
Zeeshan Ali (Khattak) [Wed, 13 May 2009 12:10:22 +0000 (15:10 +0300)]
Add a debug statement
Zeeshan Ali (Khattak) [Wed, 13 May 2009 12:09:37 +0000 (15:09 +0300)]
Watch for and use new external plugins
Zeeshan Ali (Khattak) [Tue, 12 May 2009 17:06:29 +0000 (20:06 +0300)]
Use of 'this' to make things explicit
Zeeshan Ali (Khattak) [Wed, 13 May 2009 11:35:04 +0000 (14:35 +0300)]
ExternalPlugin doesn't need DBus object proxy anymore
Zeeshan Ali (Khattak) [Tue, 12 May 2009 17:46:36 +0000 (20:46 +0300)]
Let PluginFactory handle the NameOwnerChange signal
Let PluginFactory handle the org.freedesktop.DBus.NameOwnerChange signal.
Zeeshan Ali (Khattak) [Tue, 12 May 2009 17:43:50 +0000 (20:43 +0300)]
Provide hashing and equality check functions
Provide hashing and equality check functions to HashMap of plugins.
Zeeshan Ali (Khattak) [Tue, 12 May 2009 17:17:55 +0000 (20:17 +0300)]
Add API to get/list plugins
PluginLoader provides API to:
- get a plugin by name
- get a list of all plugins
Zeeshan Ali (Khattak) [Tue, 12 May 2009 17:10:00 +0000 (20:10 +0300)]
PluginLoader keeps a hashtable of plugins
Zeeshan Ali (Khattak) [Tue, 12 May 2009 15:45:04 +0000 (18:45 +0300)]
Call Dbus.ListNames asynchronously
Zeeshan Ali (Khattak) [Tue, 12 May 2009 15:32:36 +0000 (18:32 +0300)]
New class: ExternalPluginFactory
This class will be responsible for management of external plugins.
Zeeshan Ali (Khattak) [Mon, 11 May 2009 22:30:03 +0000 (01:30 +0300)]
Substitute the correct keyword in URIs
After this change, pulse-audio streams can be browsed and streamed on DLNA
clients (tested on PS3). yay!
Zeeshan Ali (Khattak) [Mon, 11 May 2009 22:27:23 +0000 (01:27 +0300)]
Can't use 'foreach' on strv from dynamic dbus calls
Sizes of arrays returned by dynamic dbus calls are uknown, hence we
can't iterate over them using 'foreach' loop.
Zeeshan Ali (Khattak) [Mon, 11 May 2009 21:16:18 +0000 (00:16 +0300)]
Add the forgotten Makefile.am
Zeeshan Ali (Khattak) [Mon, 11 May 2009 16:51:54 +0000 (19:51 +0300)]
Plugin is made (un)available when it's backend goes down/up
Zeeshan Ali (Khattak) [Mon, 11 May 2009 15:57:27 +0000 (18:57 +0300)]
Keyword substitution for ExternalContainer title
Zeeshan Ali (Khattak) [Mon, 11 May 2009 15:55:44 +0000 (18:55 +0300)]
Keyword substitution goes to ExternalContainer
Zeeshan Ali (Khattak) [Mon, 11 May 2009 15:45:29 +0000 (18:45 +0300)]
Keyword substitution for ExternalItem title
Zeeshan Ali (Khattak) [Mon, 11 May 2009 15:26:24 +0000 (18:26 +0300)]
No need to pass service_name to ExternalItem
Just make the service_name in ExternContainer public so child items can
access it directly.
Zeeshan Ali (Khattak) [Mon, 11 May 2009 15:16:42 +0000 (18:16 +0300)]
Substitute "://@HOSTNAME@" with hostname
Zeeshan Ali (Khattak) [Mon, 11 May 2009 15:13:56 +0000 (18:13 +0300)]
ExternalItem constructor gets ExternalContainer
ExternalItem constructor is passed ExternalContainer.
Zeeshan Ali (Khattak) [Mon, 11 May 2009 14:34:57 +0000 (17:34 +0300)]
Shorter alias of @HOSTNAME@ for config UI: %h
Zeeshan Ali (Khattak) [Mon, 11 May 2009 14:33:04 +0000 (17:33 +0300)]
Add magic keyword for hostname substitution
Add magic keyword for hostname substitution in the plugin title:
@HOSTNAME@
Zeeshan Ali (Khattak) [Mon, 11 May 2009 14:27:53 +0000 (17:27 +0300)]
Allow the old (shorter) keywords in config ui
IMO, it is better to ask the user to type '%u' instead of @USERNAME@.
Zeeshan Ali (Khattak) [Mon, 11 May 2009 14:23:18 +0000 (17:23 +0300)]
Use the new keywords
Use the new keywords for username and realname subsitution: @USERNAME@ and
@REALNAME@ instead of '%u' and '%n' respectively.
Zeeshan Ali (Khattak) [Sun, 10 May 2009 19:32:25 +0000 (22:32 +0300)]
Differentiate between modules and plugins
Now that modules can load (multiple) plugins dynamically, we really need
to start differentiating between modules and plugins. Most of this
differentiation needs to be only exposed to PluginLoader, rest of the code
just deals with plugins mostly. Another implication is the change in module
interface: function that each module needs to provide is "module_init" rather
than "load_plugin" now.
Zeeshan Ali (Khattak) [Sun, 10 May 2009 19:16:59 +0000 (22:16 +0300)]
Update docs for PluginLoader
Zeeshan Ali (Khattak) [Sun, 10 May 2009 01:12:27 +0000 (04:12 +0300)]
Attach the availability of MediaServer and Plugin
Attach the availability of the Plugin to it's associated MediaServer.
Zeeshan Ali (Khattak) [Sun, 10 May 2009 01:11:30 +0000 (04:11 +0300)]
Add "available" prop to Plugin
Zeeshan Ali (Khattak) [Fri, 8 May 2009 15:19:02 +0000 (18:19 +0300)]
Honor the default title provided by plugins
Zeeshan Ali (Khattak) [Fri, 8 May 2009 15:17:00 +0000 (18:17 +0300)]
Configuration.get_title takes default value arg
Instead of assuming the name of the section to be the default value for
title, it now expects an extra argument for that.
Zeeshan Ali (Khattak) [Fri, 8 May 2009 14:56:55 +0000 (17:56 +0300)]
Automatic substitution of user info in title
Rygel now automatically replaces "%u" and "%n" in the plugins title with
username and real name, respectively.
Zeeshan Ali (Khattak) [Fri, 8 May 2009 14:47:26 +0000 (17:47 +0300)]
A workaround for unknown array length
Zeeshan Ali (Khattak) [Fri, 8 May 2009 13:41:27 +0000 (16:41 +0300)]
Plugin can provide title as well as name
Name will be more like an identifier of the plugin from now on.
Zeeshan Ali (Khattak) [Thu, 7 May 2009 16:42:20 +0000 (19:42 +0300)]
Load the external services dynamically
We now talk to all the services on the bus that has the prefix
"org.Rygel.MediaServer1." in their names. This currently doesn't work
since Rygel is incapable of handling spaces in names. Should be easy to
fix.
Zeeshan Ali (Khattak) [Thu, 7 May 2009 13:27:47 +0000 (16:27 +0300)]
Use the ObjectPath type instead of 'string'
Zeeshan Ali (Khattak) [Thu, 7 May 2009 12:29:23 +0000 (15:29 +0300)]
Rename 'service_path' to 'service_name'
Zeeshan Ali (Khattak) [Wed, 6 May 2009 21:55:16 +0000 (00:55 +0300)]
Remove an extra arg from a method
Zeeshan Ali (Khattak) [Wed, 6 May 2009 21:40:42 +0000 (00:40 +0300)]
First implementation of External plugin
This is the implementation of external MediaServer spec Lennart wrote:
http://live.gnome.org/Rygel/MediaServerSpec. It builds but it's totally
untested and also currently specific to the PulseAudio implementation.
Zeeshan Ali (Khattak) [Tue, 5 May 2009 12:19:46 +0000 (15:19 +0300)]
Remove an unneeded constant