profile/ivi/rygel.git
15 years agocore: *MediaServer* -> *RootDevice*
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.

15 years agoPrepare release notes for 0.3. RYGEL_0_3
Zeeshan Ali (Khattak) [Fri, 29 May 2009 10:50:49 +0000 (13:50 +0300)]
Prepare release notes for 0.3.

15 years agoDon't put empty string to 'folders' config
Zeeshan Ali (Khattak) [Thu, 28 May 2009 14:21:03 +0000 (17:21 +0300)]
Don't put empty string to 'folders' config

15 years agoClear the existing service list first
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.

15 years agoTake user transcoding configuration into account
Zeeshan Ali (Khattak) [Thu, 28 May 2009 13:39:03 +0000 (16:39 +0300)]
Take user transcoding configuration into account

15 years agoRygel.Configuration is now a singleton
Zeeshan Ali (Khattak) [Thu, 28 May 2009 12:59:53 +0000 (15:59 +0300)]
Rygel.Configuration is now a singleton

15 years agoRygel.Configuration should inherit GLib.Object
Zeeshan Ali (Khattak) [Thu, 28 May 2009 12:59:29 +0000 (15:59 +0300)]
Rygel.Configuration should inherit GLib.Object

15 years agoUse GLib.warning() for displaying warnings
Zeeshan Ali (Khattak) [Thu, 28 May 2009 11:40:46 +0000 (14:40 +0300)]
Use GLib.warning() for displaying warnings

15 years agoMediathek plugin should be enabled in the config
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.

15 years agoMinor indentation fix
Zeeshan Ali (Khattak) [Thu, 28 May 2009 11:18:59 +0000 (14:18 +0300)]
Minor indentation fix

15 years agoUse Configuration class instead of raw gconf
Jens Georg [Wed, 27 May 2009 22:24:20 +0000 (00:24 +0200)]
Use Configuration class instead of raw gconf

15 years agoRemove MediaItem subclass
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

15 years agoSimply use basename everywhere
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

15 years agoFix missing return value
Jens Georg [Wed, 27 May 2009 21:31:33 +0000 (23:31 +0200)]
Fix missing return value

15 years agoFix exception handling
Jens Georg [Wed, 27 May 2009 21:13:33 +0000 (23:13 +0200)]
Fix exception handling

15 years agoAdd get_int_list method to Configuration class
Jens Georg [Wed, 27 May 2009 21:07:54 +0000 (23:07 +0200)]
Add get_int_list method to Configuration class

15 years agoUse 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 ()

15 years agoFix schema file
Jens Georg [Wed, 27 May 2009 20:24:44 +0000 (22:24 +0200)]
Fix schema file

 - Missing </schema> tag
 - Wrong plugin name used

15 years agoRename gconf key from folder to folders
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

15 years agoAdd Readme for Mediathek plugin configuration
Jens Georg [Tue, 26 May 2009 20:20:55 +0000 (22:20 +0200)]
Add Readme for Mediathek plugin configuration

15 years agoUpdate schemafile for Folder and Mediathek
Jens Georg [Tue, 26 May 2009 20:20:31 +0000 (22:20 +0200)]
Update schemafile for Folder and Mediathek

15 years agoAlign the label to corresponding textview
Zeeshan Ali (Khattak) [Wed, 27 May 2009 17:01:25 +0000 (20:01 +0300)]
Align the label to corresponding textview

15 years agoOK button is the default button
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:21:28 +0000 (19:21 +0300)]
OK button is the default button

15 years agoPut plugins pref table in an alignment
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:13:14 +0000 (19:13 +0300)]
Put plugins pref table in an alignment

15 years agoProvide mnemonics
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:06:55 +0000 (19:06 +0300)]
Provide mnemonics

15 years agoEqually align the text labels
Zeeshan Ali (Khattak) [Wed, 27 May 2009 15:33:49 +0000 (18:33 +0300)]
Equally align the text labels

15 years agoHandle 'Folders' textview
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

15 years agoMethods to get/set list of strings configuration
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

15 years agoAdd widgets to UI for specifying folders to export
Zeeshan Ali (Khattak) [Wed, 27 May 2009 12:51:10 +0000 (15:51 +0300)]
Add widgets to UI for specifying folders to export

15 years agoDBus MediaServer spec update
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"

15 years agoBetter handling of Module.symbol() failure
Zeeshan Ali (Khattak) [Wed, 27 May 2009 11:09:40 +0000 (14:09 +0300)]
Better handling of Module.symbol() failure

15 years agoShow exact error on module load failure
Zeeshan Ali (Khattak) [Wed, 27 May 2009 10:53:40 +0000 (13:53 +0300)]
Show exact error on module load failure

15 years agoModule load failure message should be a warning
Zeeshan Ali (Khattak) [Wed, 27 May 2009 10:47:41 +0000 (13:47 +0300)]
Module load failure message should be a warning

15 years agoProper use of 'top_srcdir' and 'abs_top_builddir'
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.

15 years agoMore verbose output on module loading failure
Zeeshan Ali (Khattak) [Tue, 26 May 2009 17:57:19 +0000 (20:57 +0300)]
More verbose output on module loading failure

15 years agoNo need to disable UI tools
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.

15 years agoBump-up gupnp-av requiment to latest: 0.4
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.

15 years agoDistribute .version file
Zeeshan Ali (Khattak) [Tue, 26 May 2009 13:53:59 +0000 (16:53 +0300)]
Distribute .version file

15 years agoValue of VAPIDIR defaults to ${datadir}/vala/vapi
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.

15 years agoDon't check for vala unless instructed to do so
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!

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