profile/ivi/rygel.git
15 years agoDistribute built sources as well
Zeeshan Ali (Khattak) [Tue, 26 May 2009 12:21:13 +0000 (15:21 +0300)]
Distribute built sources as well

15 years agoFix a typo in mediathek plugin Mafefile.am
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*.

15 years agoRequire vala 0.7.3
Zeeshan Ali (Khattak) [Mon, 25 May 2009 21:57:35 +0000 (00:57 +0300)]
Require vala 0.7.3

15 years agoAdd Jens Georg to AUTHORS
Zeeshan Ali (Khattak) [Mon, 25 May 2009 21:22:49 +0000 (00:22 +0300)]
Add Jens Georg to AUTHORS

15 years agoOnly load DVB plugin if service is available
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.

15 years agoOnly load Tracker plugin if service is available
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. :)

15 years agoProvide GConf schemas
Zeeshan Ali (Khattak) [Mon, 25 May 2009 14:43:34 +0000 (17:43 +0300)]
Provide GConf schemas

15 years agoAdd Folder plugin to user preferences UI
Zeeshan Ali (Khattak) [Sun, 24 May 2009 23:16:37 +0000 (02:16 +0300)]
Add Folder plugin to user preferences UI

15 years agoRemove test plugin from config UI
Zeeshan Ali (Khattak) [Sun, 24 May 2009 21:17:02 +0000 (00:17 +0300)]
Remove test plugin from config UI

15 years agogit-version-gen: generate versions with . instead of -
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.

15 years agoDon't keep the UDN in user config anymore
Zeeshan Ali (Khattak) [Sun, 24 May 2009 20:24:52 +0000 (23:24 +0300)]
Don't keep the UDN in user config anymore

15 years agoGenerate UDN when creating description first time
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.

15 years agoRe-use existing description
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.

15 years agoCatch error from ExternalContainer.fetch_media_objects
Zeeshan Ali (Khattak) [Fri, 22 May 2009 15:19:12 +0000 (18:19 +0300)]
Catch error from ExternalContainer.fetch_media_objects

15 years agoFix a small typo
Zeeshan Ali (Khattak) [Fri, 22 May 2009 15:15:43 +0000 (18:15 +0300)]
Fix a small typo

15 years agoUpdate the API usage according to latest spec.
Zeeshan Ali (Khattak) [Tue, 19 May 2009 15:19:17 +0000 (18:19 +0300)]
Update the API usage according to latest spec.

15 years agoAct on org.Rygel.MediaContainer1.Updated() signal
Zeeshan Ali (Khattak) [Thu, 14 May 2009 22:25:33 +0000 (01:25 +0300)]
Act on org.Rygel.MediaContainer1.Updated() signal

15 years agoUse GetAll to get all item props at once
Zeeshan Ali (Khattak) [Wed, 13 May 2009 14:01:33 +0000 (17:01 +0300)]
Use GetAll to get all item props at once

15 years agoTake care of activatable services as well
Zeeshan Ali (Khattak) [Wed, 13 May 2009 13:32:44 +0000 (16:32 +0300)]
Take care of activatable services as well

15 years agoMove the constants into class definitions
Zeeshan Ali (Khattak) [Wed, 13 May 2009 13:08:53 +0000 (16:08 +0300)]
Move the constants into class definitions

15 years agoPut PluginFactory in a separate file
Zeeshan Ali (Khattak) [Wed, 13 May 2009 13:06:56 +0000 (16:06 +0300)]
Put PluginFactory in a separate file

15 years agoAdd a debug statement
Zeeshan Ali (Khattak) [Wed, 13 May 2009 12:10:22 +0000 (15:10 +0300)]
Add a debug statement

15 years agoWatch for and use new external plugins
Zeeshan Ali (Khattak) [Wed, 13 May 2009 12:09:37 +0000 (15:09 +0300)]
Watch for and use new external plugins

15 years agoUse of 'this' to make things explicit
Zeeshan Ali (Khattak) [Tue, 12 May 2009 17:06:29 +0000 (20:06 +0300)]
Use of 'this' to make things explicit

15 years agoExternalPlugin doesn't need DBus object proxy anymore
Zeeshan Ali (Khattak) [Wed, 13 May 2009 11:35:04 +0000 (14:35 +0300)]
ExternalPlugin doesn't need DBus object proxy anymore

15 years agoLet PluginFactory handle the NameOwnerChange signal
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.

15 years agoProvide hashing and equality check functions
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.

15 years agoAdd API to get/list 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

15 years agoPluginLoader keeps a hashtable of plugins
Zeeshan Ali (Khattak) [Tue, 12 May 2009 17:10:00 +0000 (20:10 +0300)]
PluginLoader keeps a hashtable of plugins

15 years agoCall Dbus.ListNames asynchronously
Zeeshan Ali (Khattak) [Tue, 12 May 2009 15:45:04 +0000 (18:45 +0300)]
Call Dbus.ListNames asynchronously

15 years agoNew class: ExternalPluginFactory
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.

15 years agoSubstitute the correct keyword in URIs
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!

15 years agoCan't use 'foreach' on strv from dynamic dbus calls
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.

15 years agoAdd the forgotten Makefile.am
Zeeshan Ali (Khattak) [Mon, 11 May 2009 21:16:18 +0000 (00:16 +0300)]
Add the forgotten Makefile.am

15 years agoPlugin is made (un)available when it's backend goes down/up
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

15 years agoKeyword substitution for ExternalContainer title
Zeeshan Ali (Khattak) [Mon, 11 May 2009 15:57:27 +0000 (18:57 +0300)]
Keyword substitution for ExternalContainer title

15 years agoKeyword substitution goes to ExternalContainer
Zeeshan Ali (Khattak) [Mon, 11 May 2009 15:55:44 +0000 (18:55 +0300)]
Keyword substitution goes to ExternalContainer

15 years agoKeyword substitution for ExternalItem title
Zeeshan Ali (Khattak) [Mon, 11 May 2009 15:45:29 +0000 (18:45 +0300)]
Keyword substitution for ExternalItem title

15 years agoNo need to pass service_name to ExternalItem
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.

15 years agoSubstitute "://@HOSTNAME@" with hostname
Zeeshan Ali (Khattak) [Mon, 11 May 2009 15:16:42 +0000 (18:16 +0300)]
Substitute "://@HOSTNAME@" with hostname

15 years agoExternalItem constructor gets ExternalContainer
Zeeshan Ali (Khattak) [Mon, 11 May 2009 15:13:56 +0000 (18:13 +0300)]
ExternalItem constructor gets ExternalContainer

ExternalItem constructor is passed ExternalContainer.

15 years agoShorter alias of @HOSTNAME@ for config UI: %h
Zeeshan Ali (Khattak) [Mon, 11 May 2009 14:34:57 +0000 (17:34 +0300)]
Shorter alias of @HOSTNAME@ for config UI: %h

15 years agoAdd magic keyword for hostname substitution
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@

15 years agoAllow the old (shorter) keywords in config ui
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@.

15 years agoUse the new keywords
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.

15 years agoDifferentiate between modules and plugins
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.

15 years agoUpdate docs for PluginLoader
Zeeshan Ali (Khattak) [Sun, 10 May 2009 19:16:59 +0000 (22:16 +0300)]
Update docs for PluginLoader

15 years agoAttach the availability of MediaServer and Plugin
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.

15 years agoAdd "available" prop to Plugin
Zeeshan Ali (Khattak) [Sun, 10 May 2009 01:11:30 +0000 (04:11 +0300)]
Add "available" prop to Plugin

15 years agoHonor the default title provided by plugins
Zeeshan Ali (Khattak) [Fri, 8 May 2009 15:19:02 +0000 (18:19 +0300)]
Honor the default title provided by plugins

15 years agoConfiguration.get_title takes default value arg
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.

15 years agoAutomatic substitution of user info in title
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.

15 years agoA workaround for unknown array length
Zeeshan Ali (Khattak) [Fri, 8 May 2009 14:47:26 +0000 (17:47 +0300)]
A workaround for unknown array length

15 years agoPlugin can provide title as well as name
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.

15 years agoLoad the external services dynamically
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.

15 years agoUse the ObjectPath type instead of 'string'
Zeeshan Ali (Khattak) [Thu, 7 May 2009 13:27:47 +0000 (16:27 +0300)]
Use the ObjectPath type instead of 'string'

15 years agoRename 'service_path' to 'service_name'
Zeeshan Ali (Khattak) [Thu, 7 May 2009 12:29:23 +0000 (15:29 +0300)]
Rename 'service_path' to 'service_name'

15 years agoRemove an extra arg from a method
Zeeshan Ali (Khattak) [Wed, 6 May 2009 21:55:16 +0000 (00:55 +0300)]
Remove an extra arg from a method

15 years agoFirst implementation of External plugin
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.

15 years agoRemove an unneeded constant
Zeeshan Ali (Khattak) [Tue, 5 May 2009 12:19:46 +0000 (15:19 +0300)]
Remove an unneeded constant

15 years agoPassive loading of plugins
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.

15 years agoPluginLoader is now in public API
Zeeshan Ali (Khattak) [Mon, 4 May 2009 16:18:53 +0000 (19:18 +0300)]
PluginLoader is now in public API

15 years agoFetch files from enumerator, asynchronously
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.

15 years agoenumerate children asynchronously
Zeeshan Ali (Khattak) [Mon, 4 May 2009 13:36:31 +0000 (16:36 +0300)]
enumerate children asynchronously

First step towards async plugin loading.

15 years agoMinor indentation fix
Zeeshan Ali (Khattak) [Mon, 4 May 2009 13:16:36 +0000 (16:16 +0300)]
Minor indentation fix

15 years agoCorrect license header for cstuff.vapi
Rob Taylor [Wed, 6 May 2009 11:12:15 +0000 (12:12 +0100)]
Correct license header for cstuff.vapi

15 years agoChange Mediathek plugin headers to LGPL
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.

15 years agoProtocol to uknown URI is same as it's scheme
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.

15 years agoMediathek plugin should be disabled by default
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. :)

15 years agoUse "owned" keyword instead of "#"
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.

15 years agoMerge commit 'origin/git-version'
Zeeshan Ali (Khattak) [Mon, 4 May 2009 21:03:48 +0000 (00:03 +0300)]
Merge commit 'origin/git-version'

15 years agoMore style consistency fixes for Folder plugin
Zeeshan Ali (Khattak) [Sun, 3 May 2009 19:53:24 +0000 (22:53 +0300)]
More style consistency fixes for Folder plugin

15 years agoUse basename as container's title
Zeeshan Ali (Khattak) [Sun, 3 May 2009 19:24:55 +0000 (22:24 +0300)]
Use basename as container's title

15 years agoFix more stlye issues
Jens Georg [Sun, 3 May 2009 18:39:55 +0000 (20:39 +0200)]
Fix more stlye issues

15 years agoMore style fixes
Jens Georg [Sun, 3 May 2009 18:12:05 +0000 (20:12 +0200)]
More style fixes

15 years agoMove class guessing to factory method
Jens Georg [Sat, 2 May 2009 23:54:19 +0000 (01:54 +0200)]
Move class guessing to factory method

15 years agoPlugin->style
Jens Georg [Sat, 2 May 2009 23:32:47 +0000 (01:32 +0200)]
Plugin->style

15 years agoVideoItem -> style
Jens Georg [Sat, 2 May 2009 23:31:14 +0000 (01:31 +0200)]
VideoItem -> style

15 years agoRssContainer -> style
Jens Georg [Sat, 2 May 2009 23:27:16 +0000 (01:27 +0200)]
RssContainer -> style

15 years agoRootContainer -> fix style
Jens Georg [Sat, 2 May 2009 23:23:33 +0000 (01:23 +0200)]
RootContainer -> fix style

15 years agoFix ASX class for style
Jens Georg [Sat, 2 May 2009 23:19:52 +0000 (01:19 +0200)]
Fix ASX class for style

15 years agoadd missing file to BUILD_SOURCES
Jens Georg [Sat, 2 May 2009 23:16:06 +0000 (01:16 +0200)]
add missing file to BUILD_SOURCES

15 years agoFinish style guide cleanup
Jens Georg [Sat, 2 May 2009 23:05:42 +0000 (01:05 +0200)]
Finish style guide cleanup

15 years agoMake FolderContentDir adhere Styleguide
Jens Georg [Sat, 2 May 2009 23:04:17 +0000 (01:04 +0200)]
Make FolderContentDir adhere Styleguide

15 years agoMake MediaItem adhere style guide
Jens Georg [Sat, 2 May 2009 23:02:56 +0000 (01:02 +0200)]
Make MediaItem adhere style guide

15 years agoMake FolderContainer adhere style guide
Jens Georg [Sat, 2 May 2009 22:58:02 +0000 (00:58 +0200)]
Make FolderContainer adhere style guide

15 years agoDirectorySearchResult adheres the style guide
Jens Georg [Sat, 2 May 2009 22:49:43 +0000 (00:49 +0200)]
DirectorySearchResult adheres the style guide

15 years agofix handling of nonexistant gconf key
Jens Georg [Sat, 2 May 2009 14:46:54 +0000 (16:46 +0200)]
fix handling of nonexistant gconf key

15 years agoFix crash if no gconf key; Use XDG dirs then
Jens Georg [Sat, 2 May 2009 14:37:07 +0000 (16:37 +0200)]
Fix crash if no gconf key; Use XDG dirs then

15 years agoMake it work with arbitrary gio sources
Jens Georg [Fri, 1 May 2009 00:39:52 +0000 (02:39 +0200)]
Make it work with arbitrary gio sources

15 years agomake it work with gvfs (non-local directories)
Jens Georg [Fri, 1 May 2009 00:09:39 +0000 (02:09 +0200)]
make it work with gvfs (non-local directories)

15 years agoMake folder plugin recursive
Jens Georg [Thu, 30 Apr 2009 23:27:48 +0000 (01:27 +0200)]
Make folder plugin recursive

15 years agoadd folder media object
Jens Georg [Thu, 30 Apr 2009 22:52:17 +0000 (00:52 +0200)]
add folder media object

15 years agomove directorysearch into own file
Jens Georg [Thu, 30 Apr 2009 22:40:32 +0000 (00:40 +0200)]
move directorysearch into own file

15 years agoload children on demand only
Jens Georg [Thu, 30 Apr 2009 22:33:04 +0000 (00:33 +0200)]
load children on demand only

15 years agoonce again, add mms straming protocol
Jens Georg [Wed, 29 Apr 2009 21:57:02 +0000 (23:57 +0200)]
once again, add mms straming protocol

15 years agoFix segfault on folder plugin
Jens Georg [Wed, 29 Apr 2009 21:55:11 +0000 (23:55 +0200)]
Fix segfault on folder plugin

15 years agoAdd simple gconf configuration
Jens Georg [Wed, 29 Apr 2009 21:17:47 +0000 (23:17 +0200)]
Add simple gconf configuration

15 years agoupdate copyright
Jens Georg [Tue, 21 Apr 2009 22:34:59 +0000 (00:34 +0200)]
update copyright

15 years agoadd copyright header
Jens Georg [Tue, 21 Apr 2009 22:34:08 +0000 (00:34 +0200)]
add copyright header