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
Zeeshan Ali (Khattak) [Mon, 4 May 2009 16:22:57 +0000 (19:22 +0300)]
Passive loading of plugins
Dynamic modules can now register their plugins on the fly.
Zeeshan Ali (Khattak) [Mon, 4 May 2009 16:18:53 +0000 (19:18 +0300)]
PluginLoader is now in public API
Zeeshan Ali (Khattak) [Mon, 4 May 2009 14:14:10 +0000 (17:14 +0300)]
Fetch files from enumerator, asynchronously
This is the second (and hopefully) last step towards async plugin loading.
Zeeshan Ali (Khattak) [Mon, 4 May 2009 13:36:31 +0000 (16:36 +0300)]
enumerate children asynchronously
First step towards async plugin loading.
Zeeshan Ali (Khattak) [Mon, 4 May 2009 13:16:36 +0000 (16:16 +0300)]
Minor indentation fix
Rob Taylor [Wed, 6 May 2009 11:12:15 +0000 (12:12 +0100)]
Correct license header for cstuff.vapi
Rob Taylor [Wed, 6 May 2009 11:32:30 +0000 (12:32 +0100)]
Change Mediathek plugin headers to LGPL
After discussing with Jens, it seems a mistake was made in which headers were copied.
Correcting as requested.
Zeeshan Ali (Khattak) [Wed, 6 May 2009 12:39:45 +0000 (15:39 +0300)]
Protocol to uknown URI is same as it's scheme
If the protocol of a URI is uknown to us, assume it to be the same as the
scheme of the URI.
Zeeshan Ali (Khattak) [Tue, 5 May 2009 11:16:28 +0000 (14:16 +0300)]
Mediathek plugin should be disabled by default
Not everyone understands German. :)
Zeeshan Ali (Khattak) [Mon, 4 May 2009 13:19:23 +0000 (16:19 +0300)]
Use "owned" keyword instead of "#"
Newer valac was complains about use of "#" as it's deprecated.
Zeeshan Ali (Khattak) [Mon, 4 May 2009 21:03:48 +0000 (00:03 +0300)]
Merge commit 'origin/git-version'
Zeeshan Ali (Khattak) [Sun, 3 May 2009 19:53:24 +0000 (22:53 +0300)]
More style consistency fixes for Folder plugin
Zeeshan Ali (Khattak) [Sun, 3 May 2009 19:24:55 +0000 (22:24 +0300)]
Use basename as container's title
Jens Georg [Sun, 3 May 2009 18:39:55 +0000 (20:39 +0200)]
Fix more stlye issues
Jens Georg [Sun, 3 May 2009 18:12:05 +0000 (20:12 +0200)]
More style fixes
Jens Georg [Sat, 2 May 2009 23:54:19 +0000 (01:54 +0200)]
Move class guessing to factory method
Jens Georg [Sat, 2 May 2009 23:32:47 +0000 (01:32 +0200)]
Plugin->style
Jens Georg [Sat, 2 May 2009 23:31:14 +0000 (01:31 +0200)]
VideoItem -> style
Jens Georg [Sat, 2 May 2009 23:27:16 +0000 (01:27 +0200)]
RssContainer -> style
Jens Georg [Sat, 2 May 2009 23:23:33 +0000 (01:23 +0200)]
RootContainer -> fix style
Jens Georg [Sat, 2 May 2009 23:19:52 +0000 (01:19 +0200)]
Fix ASX class for style
Jens Georg [Sat, 2 May 2009 23:16:06 +0000 (01:16 +0200)]
add missing file to BUILD_SOURCES
Jens Georg [Sat, 2 May 2009 23:05:42 +0000 (01:05 +0200)]
Finish style guide cleanup
Jens Georg [Sat, 2 May 2009 23:04:17 +0000 (01:04 +0200)]
Make FolderContentDir adhere Styleguide
Jens Georg [Sat, 2 May 2009 23:02:56 +0000 (01:02 +0200)]
Make MediaItem adhere style guide
Jens Georg [Sat, 2 May 2009 22:58:02 +0000 (00:58 +0200)]
Make FolderContainer adhere style guide
Jens Georg [Sat, 2 May 2009 22:49:43 +0000 (00:49 +0200)]
DirectorySearchResult adheres the style guide
Jens Georg [Sat, 2 May 2009 14:46:54 +0000 (16:46 +0200)]
fix handling of nonexistant gconf key
Jens Georg [Sat, 2 May 2009 14:37:07 +0000 (16:37 +0200)]
Fix crash if no gconf key; Use XDG dirs then
Jens Georg [Fri, 1 May 2009 00:39:52 +0000 (02:39 +0200)]
Make it work with arbitrary gio sources
Jens Georg [Fri, 1 May 2009 00:09:39 +0000 (02:09 +0200)]
make it work with gvfs (non-local directories)
Jens Georg [Thu, 30 Apr 2009 23:27:48 +0000 (01:27 +0200)]
Make folder plugin recursive
Jens Georg [Thu, 30 Apr 2009 22:52:17 +0000 (00:52 +0200)]
add folder media object
Jens Georg [Thu, 30 Apr 2009 22:40:32 +0000 (00:40 +0200)]
move directorysearch into own file