profile/ivi/rygel.git
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

15 years agoimport plugins into branch
Jens Georg [Tue, 21 Apr 2009 22:31:59 +0000 (00:31 +0200)]
import plugins into branch

15 years agoPut all plugins options on the same page
Zeeshan Ali (Khattak) [Sat, 2 May 2009 21:19:51 +0000 (00:19 +0300)]
Put all plugins options on the same page

15 years agoConfiguration is grouped sections
Zeeshan Ali (Khattak) [Sat, 2 May 2009 21:18:22 +0000 (00:18 +0300)]
Configuration is grouped sections

Configuration is now grouped in sections rather than pages.

15 years agoDon't expose UDN in the config UI
Zeeshan Ali (Khattak) [Sat, 2 May 2009 20:20:54 +0000 (23:20 +0300)]
Don't expose UDN in the config UI

15 years agoNew better layout for general tab.
Zeeshan Ali (Khattak) [Sat, 2 May 2009 20:06:58 +0000 (23:06 +0300)]
New better layout for general tab.

Changes by Karl Lattimer.

15 years agoDialog should not be resizable.
Zeeshan Ali (Khattak) [Sat, 2 May 2009 19:56:01 +0000 (22:56 +0300)]
Dialog should not be resizable.

15 years agoProvide a pkg-config file
Zeeshan Ali (Khattak) [Thu, 30 Apr 2009 14:49:01 +0000 (17:49 +0300)]
Provide a pkg-config file

Now it is completely possible to write rygel plugins (easily) outside the
rygel source tree.

15 years agoList all required packages in deps file
Zeeshan Ali (Khattak) [Thu, 30 Apr 2009 14:09:13 +0000 (17:09 +0300)]
List all required packages in deps file

15 years agoInstall the vapi and dep files
Zeeshan Ali (Khattak) [Thu, 30 Apr 2009 14:05:39 +0000 (17:05 +0300)]
Install the vapi and dep files

15 years agoDistribute the deps file
Zeeshan Ali (Khattak) [Thu, 30 Apr 2009 14:05:04 +0000 (17:05 +0300)]
Distribute the deps file

15 years agoInstall the rygel header(s)
Zeeshan Ali (Khattak) [Thu, 30 Apr 2009 13:52:33 +0000 (16:52 +0300)]
Install the rygel header(s)

15 years agoRemove all xbox-related stuff
Zeeshan Ali (Khattak) [Wed, 29 Apr 2009 20:00:11 +0000 (23:00 +0300)]
Remove all xbox-related stuff

It doesn't work anyway and we better concentrate on implementing standard
stuff that it at least worthy of being called "UPnP".

15 years agoAdd a button to enable/disable media server.
Zeeshan Ali (Khattak) [Wed, 29 Apr 2009 15:49:23 +0000 (18:49 +0300)]
Add a button to enable/disable media server.

15 years agoDisable widgets when they don't make sense
Zeeshan Ali (Khattak) [Wed, 29 Apr 2009 15:24:03 +0000 (18:24 +0300)]
Disable widgets when they don't make sense

15 years agoGlade3 wants to re-arrange some widgets, let it!
Zeeshan Ali (Khattak) [Wed, 29 Apr 2009 14:59:46 +0000 (17:59 +0300)]
Glade3 wants to re-arrange some widgets, let it!

I thought this bug was fixed, maybe a regression?

15 years agoBring back the tooltips
Zeeshan Ali (Khattak) [Wed, 29 Apr 2009 14:57:30 +0000 (17:57 +0300)]
Bring back the tooltips

15 years agoGeneral options are loaded/saved on demand
Zeeshan Ali (Khattak) [Tue, 28 Apr 2009 22:33:31 +0000 (01:33 +0300)]
General options are loaded/saved on demand

15 years agoConfig UI loads/saves the transcoding options
Zeeshan Ali (Khattak) [Tue, 28 Apr 2009 20:59:13 +0000 (23:59 +0300)]
Config UI loads/saves the transcoding options