profile/ivi/rygel.git
15 years agoProvide a const for generic UPnP audio item class.
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:21:24 +0000 (20:21 +0000)]
Provide a const for generic UPnP audio item class.

svn path=/trunk/; revision=333

15 years agoBasic skeleton for test plugin.
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:21:18 +0000 (20:21 +0000)]
Basic skeleton for test plugin.

A test plugin that is supposed to host test media, mainly meant for
testing the new Streaming API and hopefully the transcoding API
that will follow soon.

svn path=/trunk/; revision=332

15 years agoStreamer doesn't derive from GUPnP.Context anymore.
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:21:13 +0000 (20:21 +0000)]
Streamer doesn't derive from GUPnP.Context anymore.

Streamer doesn't derive from GUPnP.Context anymore but rather uses an
existing GUPnP.Conext object.

svn path=/trunk/; revision=331

15 years agoAdd Streamer and Stream classes.
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:21:08 +0000 (20:21 +0000)]
Add Streamer and Stream classes.

New classes for rygel and plugins to be able to stream data from sources
other than files on disk.

svn path=/trunk/; revision=330

15 years agoRefactor ContentDirectory.browse_cb ().
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:21:02 +0000 (20:21 +0000)]
Refactor ContentDirectory.browse_cb ().

svn path=/trunk/; revision=329

15 years agoIntroduce BrowseArgs.
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:20:57 +0000 (20:20 +0000)]
Introduce BrowseArgs.

Introduce a new class, whose instances holds the arguments (in and out) to
Browse action and pass these instance to all methods instead of passing
around the arguments themselves everywhere. Simplifies the code and lives
of content directory implementors.

svn path=/trunk/; revision=328

15 years agoMove most of the root container handling to base class.
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:20:52 +0000 (20:20 +0000)]
Move most of the root container handling to base class.

So that plugins need to a bit less work.

svn path=/trunk/; revision=327

15 years agoReflect the correct number of children in the root container.
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:20:46 +0000 (20:20 +0000)]
Reflect the correct number of children in the root container.

Do create the root container before creating it's child containers but
update the number of children when we know it.

svn path=/trunk/; revision=326

15 years agoSome minor beautification changes.
Zeeshan Ali (Khattak) [Mon, 1 Dec 2008 16:39:32 +0000 (16:39 +0000)]
Some minor beautification changes.

svn path=/trunk/; revision=325

15 years agoA small convenience constructor for root container.
Zeeshan Ali (Khattak) [Mon, 1 Dec 2008 16:39:27 +0000 (16:39 +0000)]
A small convenience constructor for root container.

svn path=/trunk/; revision=324

15 years agoGConf.Client.get_string returns null if key is not found.
Zeeshan Ali (Khattak) [Mon, 1 Dec 2008 16:39:22 +0000 (16:39 +0000)]
GConf.Client.get_string returns null if key is not found.

GConf.Client.get_string returns null if key is not found rather than
throwing an error.

svn path=/trunk/; revision=323

15 years agoRefactor MediaServerFactory.
Zeeshan Ali (Khattak) [Mon, 1 Dec 2008 16:39:18 +0000 (16:39 +0000)]
Refactor MediaServerFactory.

Put the saving of modified desc into a separate method.

svn path=/trunk/; revision=322

15 years agoRefactor MediaServerFactory.
Zeeshan Ali (Khattak) [Mon, 1 Dec 2008 16:39:12 +0000 (16:39 +0000)]
Refactor MediaServerFactory.

Put the creation of modified description xml into a separate method.

svn path=/trunk/; revision=321

15 years agoSet the default value to gconf rather than null.
Zeeshan Ali (Khattak) [Sat, 29 Nov 2008 23:19:50 +0000 (23:19 +0000)]
Set the default value to gconf rather than null.

svn path=/trunk/; revision=320

15 years agoInitialize the local variables.
Zeeshan Ali (Khattak) [Sat, 29 Nov 2008 23:19:45 +0000 (23:19 +0000)]
Initialize the local variables.

svn path=/trunk/; revision=319

15 years agoMake the module resident rather than keeping a ref to it.
Zeeshan Ali (Khattak) [Fri, 28 Nov 2008 12:59:41 +0000 (12:59 +0000)]
Make the module resident rather than keeping a ref to it.

Rygel was crashing on exit because of modules being unloaded while there
were still objects of classes provided by the module. I thought I had
solved the issue by keeping a ref to each module in the PluginLoader but
the problem with that approach is that it is not guaranteed the
PluginLoader will not be freed before all the objects of classes it
provides.

svn path=/trunk/; revision=318

15 years agoExport the tracker logo.
Zeeshan Ali (Khattak) [Thu, 27 Nov 2008 23:20:09 +0000 (23:20 +0000)]
Export the tracker logo.

Export the tracker logo to be used as the MediaServer icon.

svn path=/trunk/; revision=317

15 years agoAdd support for icons.
Zeeshan Ali (Khattak) [Thu, 27 Nov 2008 23:20:03 +0000 (23:20 +0000)]
Add support for icons.

Plugins can now provide icons to represent themselves. Yay!

svn path=/trunk/; revision=316

15 years agoInitialize the list before adding services to it.
Zeeshan Ali (Khattak) [Thu, 27 Nov 2008 16:49:25 +0000 (16:49 +0000)]
Initialize the list before adding services to it.

svn path=/trunk/; revision=315

15 years agoMinor refactor.
Zeeshan Ali (Khattak) [Thu, 27 Nov 2008 16:49:19 +0000 (16:49 +0000)]
Minor refactor.

svn path=/trunk/; revision=314

15 years agoDelete the now redundant directories.
Zeeshan Ali (Khattak) [Wed, 26 Nov 2008 20:53:04 +0000 (20:53 +0000)]
Delete the now redundant directories.

svn path=/trunk/; revision=313

15 years agoTry to quit the app gracefully on SIGTERM.
Zeeshan Ali (Khattak) [Wed, 26 Nov 2008 17:00:39 +0000 (17:00 +0000)]
Try to quit the app gracefully on SIGTERM.

svn path=/trunk/; revision=312

15 years agoAdd API to Main for exiting the app with an exit code.
Zeeshan Ali (Khattak) [Wed, 26 Nov 2008 17:00:33 +0000 (17:00 +0000)]
Add API to Main for exiting the app with an exit code.

svn path=/trunk/; revision=311

15 years agoTurn MainLoop into a prop of the Main class.
Zeeshan Ali (Khattak) [Wed, 26 Nov 2008 17:00:28 +0000 (17:00 +0000)]
Turn MainLoop into a prop of the Main class.

svn path=/trunk/; revision=310

15 years agoUse exceptions rather than returning nulls.
Zeeshan Ali (Khattak) [Wed, 26 Nov 2008 17:00:23 +0000 (17:00 +0000)]
Use exceptions rather than returning nulls.

svn path=/trunk/; revision=309

15 years agoMerge two functions together.
Zeeshan Ali (Khattak) [Wed, 26 Nov 2008 14:28:20 +0000 (14:28 +0000)]
Merge two functions together.

svn path=/trunk/; revision=308

15 years agoKeep the search and sort caps in a protected field.
Zeeshan Ali (Khattak) [Wed, 26 Nov 2008 14:28:15 +0000 (14:28 +0000)]
Keep the search and sort caps in a protected field.

svn path=/trunk/; revision=307

15 years agoMinor indentation fixes.
Zeeshan Ali (Khattak) [Wed, 26 Nov 2008 14:28:10 +0000 (14:28 +0000)]
Minor indentation fixes.

svn path=/trunk/; revision=306

15 years agoAllow service subclasses to override most of the funtionality.
Zeeshan Ali (Khattak) [Wed, 26 Nov 2008 14:28:06 +0000 (14:28 +0000)]
Allow service subclasses to override most of the funtionality.

Make some fields protected and some methods virtual.

svn path=/trunk/; revision=305

15 years agoAdd some basic doc comments for all classes.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:44:09 +0000 (14:44 +0000)]
Add some basic doc comments for all classes.

svn path=/trunk/; revision=304

15 years agoOops! Had forgotten to update my email in the vapi file.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:44:05 +0000 (14:44 +0000)]
Oops! Had forgotten to update my email in the vapi file.

svn path=/trunk/; revision=303

15 years agoRename 'media-server' dir to 'rygel'.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:59 +0000 (14:43 +0000)]
Rename 'media-server' dir to 'rygel'.

svn path=/trunk/; revision=302

15 years agoRename 'media-providers' directory to 'plugins.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:52 +0000 (14:43 +0000)]
Rename 'media-providers' directory to 'plugins.

svn path=/trunk/; revision=301

15 years agoFix the root gconf path to reflect the new project name.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:47 +0000 (14:43 +0000)]
Fix the root gconf path to reflect the new project name.

svn path=/trunk/; revision=300

15 years agoRename 'GCONF_PATH' to 'ROOT_GCONF_PATH'.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:42 +0000 (14:43 +0000)]
Rename 'GCONF_PATH' to 'ROOT_GCONF_PATH'.

svn path=/trunk/; revision=299

15 years agoRename 'UPNP_CLASS' in Service classes to 'UPNP_TYPE'.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:38 +0000 (14:43 +0000)]
Rename 'UPNP_CLASS' in Service classes to 'UPNP_TYPE'.

svn path=/trunk/; revision=298

15 years agoset dlna_operation and dlna_flags like rhythmbox-gupnp.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:32 +0000 (14:43 +0000)]
set dlna_operation and dlna_flags like rhythmbox-gupnp.

Patch from Florian Steinel <Florian.Steinel@googlemail.com>.

svn path=/trunk/; revision=297

15 years agoUse the new Tracker interface.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:28 +0000 (14:43 +0000)]
Use the new Tracker interface.

Tracker now has separate objects for separate API. Patch from
Florian Steinel <Florian.Steinel@googlemail.com>.

svn path=/trunk/; revision=296

15 years agoRemove some unnecessary null-checks.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:23 +0000 (14:43 +0000)]
Remove some unnecessary null-checks.

Thanks to Florian Steinel for pointing it out.

svn path=/trunk/; revision=295

15 years agoLink against libgee.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:18 +0000 (14:43 +0000)]
Link against libgee.

svn path=/trunk/; revision=294

15 years agoComplete Redesign: More power to the plugins.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:12 +0000 (14:43 +0000)]
Complete Redesign: More power to the plugins.

List of changes:
* Plugins now loaded into separate Media Servers.
* Plugins can now implement any kind of resources (only services atm).
* Service classes are now exposed to plugins so they can inherit from them.
* MediaTracker now inherits from ContentDirectory rather than ContentProvider.
* ContentProvider is removed.

svn path=/trunk/; revision=293

15 years agoBump-up required vala version to 0.5.2.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:07 +0000 (14:43 +0000)]
Bump-up required vala version to 0.5.2.

svn path=/trunk/; revision=292

15 years agoThe service classes should know their upnp classes themselves.
Zeeshan Ali (Khattak) [Tue, 25 Nov 2008 14:43:03 +0000 (14:43 +0000)]
The service classes should know their upnp classes themselves.

svn path=/trunk/; revision=291

15 years agoRemove the now unneeded methods from TrackerContainer.
Zeeshan Ali (Khattak) [Tue, 18 Nov 2008 21:00:18 +0000 (21:00 +0000)]
Remove the now unneeded methods from TrackerContainer.

Had forgotten to remove add_music_item_from_db and seconds_to_iso8601 methods.

svn path=/trunk/; revision=290

15 years agoVala syntax update:
Zeeshan Ali (Khattak) [Tue, 18 Nov 2008 21:00:10 +0000 (21:00 +0000)]
Vala syntax update:

- structs need to be initialized now.
- struct fields don't need to be initialized to null anymore.
- initialize all variables before using them.

svn path=/trunk/; revision=289

15 years agoOverride GLib.Object.constructed() instead of using 'construct' keyword.
Zeeshan Ali (Khattak) [Tue, 11 Nov 2008 18:24:44 +0000 (18:24 +0000)]
Override GLib.Object.constructed() instead of using 'construct' keyword.

svn path=/trunk/; revision=288

15 years agoAvoid using 'construct' now that we have flexible construction methods.
Zeeshan Ali (Khattak) [Tue, 11 Nov 2008 18:10:05 +0000 (18:10 +0000)]
Avoid using 'construct' now that we have flexible construction methods.

svn path=/trunk/; revision=287

15 years agoDon't keep GUPnP context and D-Bus proxy objects in TrackerItem.
Zeeshan Ali (Khattak) [Tue, 11 Nov 2008 17:42:02 +0000 (17:42 +0000)]
Don't keep GUPnP context and D-Bus proxy objects in TrackerItem.

It can access these from the parent container object.

svn path=/trunk/; revision=286

15 years agoDon't hide GUPnP context and D-Bus proxy objects.
Zeeshan Ali (Khattak) [Tue, 11 Nov 2008 17:42:00 +0000 (17:42 +0000)]
Don't hide GUPnP context and D-Bus proxy objects.

svn path=/trunk/; revision=285

15 years agoRename field/variable "tracker_category" to "category".
Zeeshan Ali (Khattak) [Tue, 11 Nov 2008 17:41:58 +0000 (17:41 +0000)]
Rename field/variable "tracker_category" to "category".

svn path=/trunk/; revision=284

15 years agoRefactor: Put common Tracker item code into a separate abstract class.
Zeeshan Ali (Khattak) [Tue, 11 Nov 2008 17:41:56 +0000 (17:41 +0000)]
Refactor: Put common Tracker item code into a separate abstract class.

All Tracker item classes now inherit from this class.

svn path=/trunk/; revision=283

15 years agoRefactor: Separate classes for each item type.
Zeeshan Ali (Khattak) [Tue, 11 Nov 2008 17:41:54 +0000 (17:41 +0000)]
Refactor: Separate classes for each item type.

These tracker-specific item classes are responsible for fetching their metadata
and serializing it.

svn path=/trunk/; revision=282

15 years agoDeclare private fields as private.
Zeeshan Ali (Khattak) [Tue, 11 Nov 2008 17:41:53 +0000 (17:41 +0000)]
Declare private fields as private.

svn path=/trunk/; revision=281

15 years agoRefactor: Add TrackerContainer.get_file_category().
Zeeshan Ali (Khattak) [Tue, 11 Nov 2008 17:41:51 +0000 (17:41 +0000)]
Refactor: Add TrackerContainer.get_file_category().

Now MediaTracker doesn't talk to tracker directly.

svn path=/trunk/; revision=280

15 years agoMore standard-compliant SCPDs.
Zeeshan Ali (Khattak) [Tue, 11 Nov 2008 17:41:49 +0000 (17:41 +0000)]
More standard-compliant SCPDs.

Based on a patch by Ross Burton <ross@opennedhand.com>.

svn path=/trunk/; revision=279

15 years agoCreate root container after it's children.
Zeeshan Ali (Khattak) [Tue, 11 Nov 2008 17:41:47 +0000 (17:41 +0000)]
Create root container after it's children.

This is to pass the correct number of children to the constructor of the
root container.

svn path=/trunk/; revision=278

15 years agoRefactor: A more intelligent TrackerContainer.
Zeeshan Ali (Khattak) [Mon, 10 Nov 2008 21:33:21 +0000 (21:33 +0000)]
Refactor: A more intelligent TrackerContainer.

As a result, MediaTracker class is now very slim.

svn path=/trunk/; revision=277

15 years agoReplace my non-working "@gstreamer.net" email with "@gnome.org" one.
Zeeshan Ali (Khattak) [Mon, 10 Nov 2008 21:33:19 +0000 (21:33 +0000)]
Replace my non-working "@gstreamer.net" email with "@gnome.org" one.

svn path=/trunk/; revision=276

15 years agoFile.query_info () doesn't return a weak anymore.
Zeeshan Ali (Khattak) [Mon, 10 Nov 2008 21:33:18 +0000 (21:33 +0000)]
File.query_info () doesn't return a weak anymore.

svn path=/trunk/; revision=275

15 years agoAdd MAINTAINERS file.
Zeeshan Ali (Khattak) [Sun, 26 Oct 2008 21:34:24 +0000 (21:34 +0000)]
Add MAINTAINERS file.

svn path=/trunk/; revision=274

15 years agoProject renamed to "Rygel" to be moved to GNOME SVN.
Zeeshan Ali (Khattak) [Sun, 26 Oct 2008 21:34:16 +0000 (21:34 +0000)]
Project renamed to "Rygel" to be moved to GNOME SVN.

svn path=/trunk/; revision=273

15 years agoRefactor: Put plugin stuff into a separate module.
Zeeshan Ali (Khattak) [Wed, 10 Sep 2008 21:21:35 +0000 (21:21 +0000)]
Refactor: Put plugin stuff into a separate module.

svn path=/trunk/; revision=272

15 years agoRefactor: Put TrackerContainer class into a separate module.
Zeeshan Ali (Khattak) [Wed, 10 Sep 2008 21:21:25 +0000 (21:21 +0000)]
Refactor: Put TrackerContainer class into a separate module.

svn path=/trunk/; revision=271

15 years agoRename Tracker.Container to GUPnP.TrackerContainer.
Zeeshan Ali (Khattak) [Wed, 10 Sep 2008 21:21:14 +0000 (21:21 +0000)]
Rename Tracker.Container to GUPnP.TrackerContainer.

svn path=/trunk/; revision=270

15 years agoCreate the root container in the contructor of the media providers.
Zeeshan Ali (Khattak) [Wed, 10 Sep 2008 21:21:05 +0000 (21:21 +0000)]
Create the root container in the contructor of the media providers.

svn path=/trunk/; revision=269

15 years agoRemove the redundant 'title' field from the Tracker.Container class.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:10:53 +0000 (21:10 +0000)]
Remove the redundant 'title' field from the Tracker.Container class.

svn path=/trunk/; revision=268

15 years agoStart utilizing the MediaContainer class in MediaTracker.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:10:46 +0000 (21:10 +0000)]
Start utilizing the MediaContainer class in MediaTracker.

svn path=/trunk/; revision=267

15 years agoAdd MediaItem to vapi file and build.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:10:38 +0000 (21:10 +0000)]
Add MediaItem to vapi file and build.

svn path=/trunk/; revision=266

15 years agoIntroduce a class for media items.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:10:31 +0000 (21:10 +0000)]
Introduce a class for media items.

svn path=/trunk/; revision=265

15 years agoStart utilizing the MediaContainer class in media providers.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:10:23 +0000 (21:10 +0000)]
Start utilizing the MediaContainer class in media providers.

svn path=/trunk/; revision=264

15 years agoAdd MediaObject and MediaContainer to vapi file and build.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:10:14 +0000 (21:10 +0000)]
Add MediaObject and MediaContainer to vapi file and build.

svn path=/trunk/; revision=263

15 years agoIntroduce a class for media containers.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:10:07 +0000 (21:10 +0000)]
Introduce a class for media containers.

svn path=/trunk/; revision=262

15 years agoIntroduce a new abstract class for media objects.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:09:59 +0000 (21:09 +0000)]
Introduce a new abstract class for media objects.

It will be the responsibility of derived classes to implement serializing to
DIDLLiteWriter.

svn path=/trunk/; revision=261

15 years agoAdd the root_id prefix to container's id at object creation time.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:09:52 +0000 (21:09 +0000)]
Add the root_id prefix to container's id at object creation time.

svn path=/trunk/; revision=260

15 years agoKeep the parent_id of the container in the Tracker.Container class.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:09:44 +0000 (21:09 +0000)]
Keep the parent_id of the container in the Tracker.Container class.

svn path=/trunk/; revision=259

15 years agoRemove MediaProvider.get_root_children_count().
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:09:36 +0000 (21:09 +0000)]
Remove MediaProvider.get_root_children_count().

Remove MediaProvider.get_root_children_count() and allow each provider to
add metadata of it's root container to DIDL instead.

svn path=/trunk/; revision=258

15 years agoRename MediaManger's get_root_container_metadata() to add_root_container_metadata().
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:09:27 +0000 (21:09 +0000)]
Rename MediaManger's get_root_container_metadata() to add_root_container_metadata().

svn path=/trunk/; revision=257

15 years agoPut the code and message from exception caught on the action error.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:09:20 +0000 (21:09 +0000)]
Put the code and message from exception caught on the action error.

svn path=/trunk/; revision=256

15 years agoAssign a specific code (701) to "No such object" error.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:09:13 +0000 (21:09 +0000)]
Assign a specific code (701) to "No such object" error.

svn path=/trunk/; revision=255

15 years agoRename MediaManager's browse_root_container() to add_root_children().
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:09:04 +0000 (21:09 +0000)]
Rename MediaManager's browse_root_container() to add_root_children().

svn path=/trunk/; revision=254

15 years agoRename MediaProvider's browse() to add_children_metadata().
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:08:56 +0000 (21:08 +0000)]
Rename MediaProvider's browse() to add_children_metadata().

svn path=/trunk/; revision=253

15 years agoRename MediaProvider's get_metadata() to add_metadata().
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:08:46 +0000 (21:08 +0000)]
Rename MediaProvider's get_metadata() to add_metadata().

svn path=/trunk/; revision=252

15 years agoMediaProviders now get a DIDLiteWriter to add metadata to and no longer return didl...
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:08:37 +0000 (21:08 +0000)]
MediaProviders now get a DIDLiteWriter to add metadata to and no longer return didl strings.

svn path=/trunk/; revision=251

15 years agoRemove an unneeded try&catch block.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:08:26 +0000 (21:08 +0000)]
Remove an unneeded try&catch block.

svn path=/trunk/; revision=250

15 years agoMediaProvider class now requires gupnp-av package.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:08:20 +0000 (21:08 +0000)]
MediaProvider class now requires gupnp-av package.

svn path=/trunk/; revision=249

15 years agoUse Exceptions rather than returning null.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:08:13 +0000 (21:08 +0000)]
Use Exceptions rather than returning null.

svn path=/trunk/; revision=248

15 years agoUse real name of the user rather than username in FriendlyName.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:07:55 +0000 (21:07 +0000)]
Use real name of the user rather than username in FriendlyName.

svn path=/trunk/; revision=247

15 years agoMake MediaProvider an abstract class rather than interface.
Zeeshan Ali (Khattak) [Fri, 29 Aug 2008 21:07:46 +0000 (21:07 +0000)]
Make MediaProvider an abstract class rather than interface.

We will have to do this at some point anyway to put common functionality into
this module but the real reason to do this right now is that support for
constuct-only props in interfaces was recenlty dropped in Vala (for good
reasons).

svn path=/trunk/; revision=246

16 years agoPut MediaProvider in GUPnP namespace.
Zeeshan Ali (Khattak) [Sat, 16 Aug 2008 22:02:55 +0000 (22:02 +0000)]
Put MediaProvider in GUPnP namespace.

svn path=/trunk/; revision=245

16 years agoMove the core Media Server code into a separate subdirectory.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:51:57 +0000 (15:51 +0000)]
Move the core Media Server code into a separate subdirectory.

svn path=/trunk/; revision=244

16 years agoRemove Makefile.in on 'make maintainer-clean'.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:51:38 +0000 (15:51 +0000)]
Remove Makefile.in on 'make maintainer-clean'.

svn path=/trunk/; revision=243

16 years agoReplace random ID generation function by a GQuark-based (persistant) one.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:51:31 +0000 (15:51 +0000)]
Replace random ID generation function by a GQuark-based (persistant) one.

svn path=/trunk/; revision=242

16 years agoBetter/recursive GIO-based plugin loading.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:51:26 +0000 (15:51 +0000)]
Better/recursive GIO-based plugin loading.

svn path=/trunk/; revision=241

16 years agoDisable generation of static libraries.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:51:20 +0000 (15:51 +0000)]
Disable generation of static libraries.

svn path=/trunk/; revision=240

16 years agoRe-introduce MediaTracker as a plugin.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:51:13 +0000 (15:51 +0000)]
Re-introduce MediaTracker as a plugin.

svn path=/trunk/; revision=239

16 years ago- Introduce a plugins system. Ross should be happy now. :)
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:51:03 +0000 (15:51 +0000)]
- Introduce a plugins system. Ross should be happy now. :)
- Remove MediaTracker module.

svn path=/trunk/; revision=238

16 years agoAdd get_root_children_count() to MediaProvider interface.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:50:56 +0000 (15:50 +0000)]
Add get_root_children_count() to MediaProvider interface.

svn path=/trunk/; revision=237

16 years agoAdd "title" prop to MediaProvider interface.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:50:50 +0000 (15:50 +0000)]
Add "title" prop to MediaProvider interface.

svn path=/trunk/; revision=236

16 years agoDon't add root ID prefix to root parent ID.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:50:42 +0000 (15:50 +0000)]
Don't add root ID prefix to root parent ID.

svn path=/trunk/; revision=235

16 years agoGet the root ID prefix from IDs rather than removing it.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:50:37 +0000 (15:50 +0000)]
Get the root ID prefix from IDs rather than removing it.

svn path=/trunk/; revision=234