profile/ivi/rygel.git
16 years agoUse MediaManager rather than MediaTracker.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:49:57 +0000 (15:49 +0000)]
Use MediaManager rather than MediaTracker.

This also means that system_update_id doesn't need to be handled by
ContentDirectory anymore.

svn path=/trunk/; revision=229

16 years agoIntroduce MediaManager.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:49:51 +0000 (15:49 +0000)]
Introduce MediaManager.

It implements MediaProvider interface and will be responsible to manage all
MediaProviders. Currently it uses MediaTracker directly since it currently
doesn't have a plugin system.

svn path=/trunk/; revision=228

16 years agoEach MediaProvider prefixes each objectid with "root-id:".
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:49:43 +0000 (15:49 +0000)]
Each MediaProvider prefixes each objectid with "root-id:".

This will allow the ContentDirectory to redirect the Browse requests to the
appropriate MediaProvider in a simple/efficient way.

svn path=/trunk/; revision=227

16 years agoIntroduce MediaProvider interface that MediaTracker implements.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:49:37 +0000 (15:49 +0000)]
Introduce MediaProvider interface that MediaTracker implements.

svn path=/trunk/; revision=226

16 years agoPut some more more comments and Refactor.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:49:30 +0000 (15:49 +0000)]
Put some more more comments and Refactor.

svn path=/trunk/; revision=225

16 years agoExtract the mime-type using GIO.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:49:24 +0000 (15:49 +0000)]
Extract the mime-type using GIO.

svn path=/trunk/; revision=224

16 years agoRequire gio-2.0 (>= 2.16) and include it in the build.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:49:18 +0000 (15:49 +0000)]
Require gio-2.0 (>= 2.16) and include it in the build.

svn path=/trunk/; revision=223

16 years agoImplement extraction of audio and video specific metadata.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:49:11 +0000 (15:49 +0000)]
Implement extraction of audio and video specific metadata.

svn path=/trunk/; revision=222

16 years agoReduce the gstreamer dependency to 0.10.18.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:49:05 +0000 (15:49 +0000)]
Reduce the gstreamer dependency to 0.10.18.

svn path=/trunk/; revision=221

16 years agoGst.TagList.copy_value.value is 'out' rather than 'ref'.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:49:00 +0000 (15:49 +0000)]
Gst.TagList.copy_value.value is 'out' rather than 'ref'.

svn path=/trunk/; revision=220

16 years agoRefactor: A separate function for extraction of 'duration'.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:48:55 +0000 (15:48 +0000)]
Refactor: A separate function for extraction of 'duration'.

svn path=/trunk/; revision=219

16 years agoOnly react to PAUSED state-change if the previous state was READY.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:48:49 +0000 (15:48 +0000)]
Only react to PAUSED state-change if the previous state was READY.

svn path=/trunk/; revision=218

16 years agoUse 'this' keyword wherever possible. This makes code much more cleaner.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:48:43 +0000 (15:48 +0000)]
Use 'this' keyword wherever possible. This makes code much more cleaner.

svn path=/trunk/; revision=217

16 years agoAdd a gstreamer-based metadata extractor.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:48:37 +0000 (15:48 +0000)]
Add a gstreamer-based metadata extractor.

svn path=/trunk/; revision=216

16 years agoAdd dependency to gstreamer >= 0.10.19.
Zeeshan Ali (Khattak) [Tue, 5 Aug 2008 15:48:30 +0000 (15:48 +0000)]
Add dependency to gstreamer >= 0.10.19.

svn path=/trunk/; revision=215

16 years agoNo need to list all supported mimetypes in SourceProtocolInfo.
Zeeshan Ali (Khattak) [Sat, 19 Jul 2008 21:09:11 +0000 (21:09 +0000)]
No need to list all supported mimetypes in SourceProtocolInfo.

svn path=/trunk/; revision=214

16 years agoDeclared all built sources in BUILT_SOURCES.
Zeeshan Ali (Khattak) [Fri, 4 Jul 2008 14:27:50 +0000 (14:27 +0000)]
Declared all built sources in BUILT_SOURCES.

svn path=/trunk/; revision=213

16 years agoFix a typo.
Zeeshan Ali (Khattak) [Fri, 4 Jul 2008 14:27:38 +0000 (14:27 +0000)]
Fix a typo.

svn path=/trunk/; revision=212

16 years agoPrepare NEWS file for initial (0.1) release.
Zeeshan Ali (Khattak) [Fri, 4 Jul 2008 14:27:29 +0000 (14:27 +0000)]
Prepare NEWS file for initial (0.1) release.

svn path=/trunk/; revision=211

16 years agoUpdate design doc and TODO files.
Zeeshan Ali (Khattak) [Fri, 4 Jul 2008 14:27:23 +0000 (14:27 +0000)]
Update design doc and TODO files.

svn path=/trunk/; revision=210

16 years agoPut my name/copyright in the header.
Zeeshan Ali (Khattak) [Thu, 3 Jul 2008 21:53:37 +0000 (21:53 +0000)]
Put my name/copyright in the header.

svn path=/trunk/; revision=209

16 years agoInitialize the variables in the constructor.
Zeeshan Ali (Khattak) [Thu, 3 Jul 2008 21:53:26 +0000 (21:53 +0000)]
Initialize the variables in the constructor.

svn path=/trunk/; revision=208

16 years agoRemove the unused commented-out code.
Zeeshan Ali (Khattak) [Thu, 3 Jul 2008 21:53:19 +0000 (21:53 +0000)]
Remove the unused commented-out code.

svn path=/trunk/; revision=207

16 years agoUse Vala's syntax for connecting signals with details.
Zeeshan Ali (Khattak) [Thu, 3 Jul 2008 21:53:12 +0000 (21:53 +0000)]
Use Vala's syntax for connecting signals with details.

svn path=/trunk/; revision=206

16 years agoSwap the sink and source ProtocolInfo.
Zeeshan Ali (Khattak) [Thu, 3 Jul 2008 21:52:55 +0000 (21:52 +0000)]
Swap the sink and source ProtocolInfo.

svn path=/trunk/; revision=205

16 years agoEnable the ConnectionManager service.
Zeeshan Ali (Khattak) [Thu, 3 Jul 2008 21:52:48 +0000 (21:52 +0000)]
Enable the ConnectionManager service.

svn path=/trunk/; revision=204

16 years agoCopy the ConnectionManager code from gupnp-media-renderer.
Zeeshan Ali (Khattak) [Thu, 3 Jul 2008 21:52:36 +0000 (21:52 +0000)]
Copy the ConnectionManager code from gupnp-media-renderer.

svn path=/trunk/; revision=203

16 years agoPut some description in README file.
Zeeshan Ali (Khattak) [Thu, 3 Jul 2008 21:52:25 +0000 (21:52 +0000)]
Put some description in README file.

svn path=/trunk/; revision=202

16 years agoReturn an error on getting invalid arguments for 'Browse'.
Zeeshan Ali (Khattak) [Thu, 3 Jul 2008 21:52:19 +0000 (21:52 +0000)]
Return an error on getting invalid arguments for 'Browse'.

svn path=/trunk/; revision=201

16 years agoArgument 'value' of query_variable signal should now be declared 'ref'.
Zeeshan Ali (Khattak) [Thu, 3 Jul 2008 13:25:54 +0000 (13:25 +0000)]
Argument 'value' of query_variable signal should now be declared 'ref'.

svn path=/trunk/; revision=200

16 years agoProvide the 'creator' tag in DIDL xml for all items.
Zeeshan Ali (Khattak) [Thu, 3 Jul 2008 13:08:35 +0000 (13:08 +0000)]
Provide the 'creator' tag in DIDL xml for all items.

The same value is provided in 'author' and 'artist' tags for music and video
items respectively.

svn path=/trunk/; revision=199

16 years agoHide the optional "GetSortExtensionCapabilities" action as well.
Zeeshan Ali (Khattak) [Wed, 2 Jul 2008 15:36:43 +0000 (15:36 +0000)]
Hide the optional "GetSortExtensionCapabilities" action as well.

svn path=/trunk/; revision=198

16 years agoImplement "FeatureList" related queries and actions.
Zeeshan Ali (Khattak) [Wed, 2 Jul 2008 15:36:26 +0000 (15:36 +0000)]
Implement "FeatureList" related queries and actions.

svn path=/trunk/; revision=197

16 years agoImplement "SearchCapabilities" and "SortCapabilities" related queries and actions.
Zeeshan Ali (Khattak) [Wed, 2 Jul 2008 15:36:16 +0000 (15:36 +0000)]
Implement "SearchCapabilities" and "SortCapabilities" related queries and actions.

svn path=/trunk/; revision=196

16 years agoInitialize "SystemUpdateID" variable and implement related query and action.
Zeeshan Ali (Khattak) [Wed, 2 Jul 2008 15:36:07 +0000 (15:36 +0000)]
Initialize "SystemUpdateID" variable and implement related query and action.

svn path=/trunk/; revision=195

16 years agoComment out the optional actions and variables.
Zeeshan Ali (Khattak) [Wed, 2 Jul 2008 15:36:01 +0000 (15:36 +0000)]
Comment out the optional actions and variables.

svn path=/trunk/; revision=194

16 years agoList the required actions/variable before the optional.
Zeeshan Ali (Khattak) [Wed, 2 Jul 2008 15:35:54 +0000 (15:35 +0000)]
List the required actions/variable before the optional.

svn path=/trunk/; revision=193

16 years agoDisable the distribution and advertisement of the ConnectionManager service.
Zeeshan Ali (Khattak) [Wed, 2 Jul 2008 15:35:46 +0000 (15:35 +0000)]
Disable the distribution and advertisement of the ConnectionManager service.

svn path=/trunk/; revision=192

16 years agoA temporary hack to make Vala compiler free string in structs.
Zeeshan Ali (Khattak) [Tue, 1 Jul 2008 21:05:28 +0000 (21:05 +0000)]
A temporary hack to make Vala compiler free string in structs.

We need this untill GB#526552 is fixed.

svn path=/trunk/; revision=191

16 years agoNo need to check for null on values returned from tracker.
Zeeshan Ali (Khattak) [Tue, 1 Jul 2008 12:57:34 +0000 (12:57 +0000)]
No need to check for null on values returned from tracker.

svn path=/trunk/; revision=190

16 years agoPut "dc:date" in the DIDL when available.
Zeeshan Ali (Khattak) [Tue, 1 Jul 2008 12:57:24 +0000 (12:57 +0000)]
Put "dc:date" in the DIDL when available.

svn path=/trunk/; revision=189

16 years agoPut the actual "album" in the DIDL when available.
Zeeshan Ali (Khattak) [Tue, 1 Jul 2008 12:57:14 +0000 (12:57 +0000)]
Put the actual "album" in the DIDL when available.

svn path=/trunk/; revision=188

16 years agoRefactor: separate functions for adding music, image and video items to DIDL.
Zeeshan Ali (Khattak) [Tue, 1 Jul 2008 12:56:55 +0000 (12:56 +0000)]
Refactor: separate functions for adding music, image and video items to DIDL.

svn path=/trunk/; revision=187

16 years agoIndentation fix.
Zeeshan Ali (Khattak) [Tue, 1 Jul 2008 12:56:42 +0000 (12:56 +0000)]
Indentation fix.

svn path=/trunk/; revision=186

16 years agoInclude "originalTrackNumber" in the DIDL for Music track objects.
Zeeshan Ali (Khattak) [Tue, 1 Jul 2008 12:56:30 +0000 (12:56 +0000)]
Include "originalTrackNumber" in the DIDL for Music track objects.

svn path=/trunk/; revision=185

16 years agoInclude the author, creator or artist in the DIDL when available.
Zeeshan Ali (Khattak) [Tue, 1 Jul 2008 12:56:21 +0000 (12:56 +0000)]
Include the author, creator or artist in the DIDL when available.

svn path=/trunk/; revision=184

16 years agoExport the "abs_top_builddir" explicitly. Some installations need it.
Zeeshan Ali (Khattak) [Tue, 1 Jul 2008 12:56:04 +0000 (12:56 +0000)]
Export the "abs_top_builddir" explicitly. Some installations need it.

svn path=/trunk/; revision=183

16 years agotracker gives us empty string rather than null for each unavailable metadata.
Zeeshan Ali (Khattak) [Tue, 1 Jul 2008 12:55:47 +0000 (12:55 +0000)]
tracker gives us empty string rather than null for each unavailable metadata.

svn path=/trunk/; revision=182

16 years agoInclude the title instead of filename in the DIDL when it's available.
Zeeshan Ali (Khattak) [Tue, 1 Jul 2008 12:55:35 +0000 (12:55 +0000)]
Include the title instead of filename in the DIDL when it's available.

svn path=/trunk/; revision=181

16 years agoCorrect the logic in MediaServer.set_friendly_name_and_udn ().
Zeeshan Ali (Khattak) [Thu, 26 Jun 2008 20:38:55 +0000 (20:38 +0000)]
Correct the logic in MediaServer.set_friendly_name_and_udn ().

The values for UDN and FriendlyName were not set in the description doc if not
already present in the corresponding gconf keys.

svn path=/trunk/; revision=180

16 years agoRemove the now redundant 'using GLib' from all sources.
Zeeshan Ali (Khattak) [Mon, 23 Jun 2008 21:08:05 +0000 (21:08 +0000)]
Remove the now redundant 'using GLib' from all sources.

svn path=/trunk/; revision=179

16 years agoStart using the new Vala syntax for connecting signals with details.
Zeeshan Ali (Khattak) [Mon, 23 Jun 2008 21:07:54 +0000 (21:07 +0000)]
Start using the new Vala syntax for connecting signals with details.

svn path=/trunk/; revision=178

16 years agoA small fix to setisfy the latest Vala compiler.
Zeeshan Ali (Khattak) [Mon, 23 Jun 2008 21:07:44 +0000 (21:07 +0000)]
A small fix to setisfy the latest Vala compiler.

svn path=/trunk/; revision=177

16 years agoMake all constants all CAPS.
Zeeshan Ali (Khattak) [Mon, 16 Jun 2008 20:49:08 +0000 (20:49 +0000)]
Make all constants all CAPS.

svn path=/trunk/; revision=176

16 years agoCheck for gupnp-media-server.vala file rather than now removed main.c file.
Zeeshan Ali (Khattak) [Sun, 15 Jun 2008 20:58:25 +0000 (20:58 +0000)]
Check for gupnp-media-server.vala file rather than now removed main.c file.

svn path=/trunk/; revision=175

16 years agoAdd the vala stamp file to CLEANFILES.
Zeeshan Ali (Khattak) [Sun, 15 Jun 2008 13:33:06 +0000 (13:33 +0000)]
Add the vala stamp file to CLEANFILES.

svn path=/trunk/; revision=174

16 years agoRe-write the main module in Vala.
Zeeshan Ali (Khattak) [Sun, 15 Jun 2008 13:32:59 +0000 (13:32 +0000)]
Re-write the main module in Vala.

The main module's code now resides in MediaServer class as static methods. This
marks the completion of re-write of code in Vala. Yay!

svn path=/trunk/; revision=173

16 years agoPut all low-level stuff into a separate module.
Zeeshan Ali (Khattak) [Sun, 15 Jun 2008 13:32:46 +0000 (13:32 +0000)]
Put all low-level stuff into a separate module.

This module will be the only one kept in C and all the code that currently
can't be written (easily) in Vala, will go there.

svn path=/trunk/; revision=172

16 years agoCheck for gconf-2.0 Vala bindings and add it to the Vala compiler flags.
Zeeshan Ali (Khattak) [Sun, 15 Jun 2008 13:32:37 +0000 (13:32 +0000)]
Check for gconf-2.0 Vala bindings and add it to the Vala compiler flags.

svn path=/trunk/; revision=171

16 years agoIntroduce a separate configure option for a strict C compiler.
Zeeshan Ali (Khattak) [Fri, 13 Jun 2008 16:17:25 +0000 (16:17 +0000)]
Introduce a separate configure option for a strict C compiler.

svn path=/trunk/; revision=170

16 years agoRe-write the MediaServer class in Vala.
Zeeshan Ali (Khattak) [Fri, 13 Jun 2008 16:17:15 +0000 (16:17 +0000)]
Re-write the MediaServer class in Vala.

svn path=/trunk/; revision=169

16 years agoAdd the copyright header.
Zeeshan Ali (Khattak) [Thu, 12 Jun 2008 14:56:04 +0000 (14:56 +0000)]
Add the copyright header.

svn path=/trunk/; revision=168

16 years agoCorrect a warning message (copy&paste mistake).
Zeeshan Ali (Khattak) [Thu, 12 Jun 2008 14:50:20 +0000 (14:50 +0000)]
Correct a warning message (copy&paste mistake).

svn path=/trunk/; revision=167

16 years agoEnable the commented out code of get_container_children_count().
Zeeshan Ali (Khattak) [Thu, 12 Jun 2008 14:49:51 +0000 (14:49 +0000)]
Enable the commented out code of get_container_children_count().

This code now works against the latest Vala (svn trunk). MediaTracker is fully
functional again, yay!

svn path=/trunk/; revision=166

16 years agoUse the nice and clean DBus API that Vala provides us.
Zeeshan Ali (Khattak) [Thu, 12 Jun 2008 13:02:20 +0000 (13:02 +0000)]
Use the nice and clean DBus API that Vala provides us.

svn path=/trunk/; revision=165

16 years agoCorrect the types of two parameters of MediaTracker.browse().
Zeeshan Ali (Khattak) [Thu, 12 Jun 2008 13:02:12 +0000 (13:02 +0000)]
Correct the types of two parameters of MediaTracker.browse().

svn path=/trunk/; revision=164

16 years agoRe-write ContentDirectory implementation in Vala.
Zeeshan Ali (Khattak) [Thu, 12 Jun 2008 13:02:05 +0000 (13:02 +0000)]
Re-write ContentDirectory implementation in Vala.

svn path=/trunk/; revision=163

16 years agoRequire Vala >= 0.3.4.
Zeeshan Ali (Khattak) [Thu, 12 Jun 2008 13:01:58 +0000 (13:01 +0000)]
Require Vala >= 0.3.4.

svn path=/trunk/; revision=162

16 years agoRe-write MediaTracker in Vala.
Zeeshan Ali (Khattak) [Thu, 12 Jun 2008 13:01:38 +0000 (13:01 +0000)]
Re-write MediaTracker in Vala.

Doesn't really work. Thanks to dbus-glib bindings for Vala and tracker API.

svn path=/trunk/; revision=161

16 years agoRe-write X_MS_MediaReceiverRegistrar implementation in Vala.
Zeeshan Ali (Khattak) [Thu, 12 Jun 2008 13:01:18 +0000 (13:01 +0000)]
Re-write X_MS_MediaReceiverRegistrar implementation in Vala.

svn path=/trunk/; revision=160

16 years agoCheck for Vala and GUPnP bindings.
Zeeshan Ali (Khattak) [Thu, 12 Jun 2008 13:01:09 +0000 (13:01 +0000)]
Check for Vala and GUPnP bindings.

svn path=/trunk/; revision=159

16 years agoPut the services implementations into separate objects.
Zeeshan Ali (Khattak) [Tue, 13 May 2008 21:17:49 +0000 (21:17 +0000)]
Put the services implementations into separate objects.

svn path=/trunk/; revision=158

16 years agoProvide 'res@resultion' in DIDL XML for audio and video items.
Zeeshan Ali (Khattak) [Tue, 13 May 2008 21:17:38 +0000 (21:17 +0000)]
Provide 'res@resultion' in DIDL XML for audio and video items.

svn path=/trunk/; revision=157

16 years agoXbox wants Images container to have ID of '16'.
Zeeshan Ali (Khattak) [Tue, 13 May 2008 21:17:31 +0000 (21:17 +0000)]
Xbox wants Images container to have ID of '16'.

svn path=/trunk/; revision=156

16 years agoReport the correct UPnP class of the items.
Zeeshan Ali (Khattak) [Tue, 13 May 2008 21:17:10 +0000 (21:17 +0000)]
Report the correct UPnP class of the items.

svn path=/trunk/; revision=155

16 years agoQuick security fix: only host the user's home dir.
Zeeshan Ali (Khattak) [Thu, 8 May 2008 14:41:08 +0000 (14:41 +0000)]
Quick security fix: only host the user's home dir.

This should be OK with most tracker setups since by default tracker only
indexes user's home dir.

svn path=/trunk/; revision=154

16 years agoDon't escape '/' in the path before putting it in HTTP URI.
Zeeshan Ali (Khattak) [Thu, 8 May 2008 13:10:16 +0000 (13:10 +0000)]
Don't escape '/' in the path before putting it in HTTP URI.

svn path=/trunk/; revision=153

16 years agoIntroduce a structure to hold container info: ID, title and tracker category.
Zeeshan Ali (Khattak) [Thu, 8 May 2008 13:10:00 +0000 (13:10 +0000)]
Introduce a structure to hold container info: ID, title and tracker category.

svn path=/trunk/; revision=152

16 years agoXbox 360 uses 'ContainerID' instead of 'ObjectID' for cotainers.
Zeeshan Ali (Khattak) [Wed, 7 May 2008 21:21:17 +0000 (21:21 +0000)]
Xbox 360 uses 'ContainerID' instead of 'ObjectID' for cotainers.

svn path=/trunk/; revision=151

16 years agoAdd the newly added xbox 360 specific xml files to build.
Zeeshan Ali (Khattak) [Wed, 7 May 2008 21:21:09 +0000 (21:21 +0000)]
Add the newly added xbox 360 specific xml files to build.

svn path=/trunk/; revision=150

16 years agoUse a separate description document for Xbox 360 to keep the code simple.
Zeeshan Ali (Khattak) [Wed, 7 May 2008 21:21:00 +0000 (21:21 +0000)]
Use a separate description document for Xbox 360 to keep the code simple.

svn path=/trunk/; revision=149

16 years agoRetrieve the services in version agnostic way.
Zeeshan Ali (Khattak) [Wed, 7 May 2008 21:20:49 +0000 (21:20 +0000)]
Retrieve the services in version agnostic way.

svn path=/trunk/; revision=148

16 years agoAdd basic support for Xbox.
Zeeshan Ali (Khattak) [Wed, 7 May 2008 21:20:42 +0000 (21:20 +0000)]
Add basic support for Xbox.

svn path=/trunk/; revision=147

16 years agoSteal some more DLNA bits from rhythmbox GUPnP plugin.
Zeeshan Ali (Khattak) [Tue, 6 May 2008 08:17:04 +0000 (08:17 +0000)]
Steal some more DLNA bits from rhythmbox GUPnP plugin.

svn path=/trunk/; revision=146

16 years agoAdapt to latest didl writer API.
Zeeshan Ali (Khattak) [Sat, 3 May 2008 10:58:59 +0000 (10:58 +0000)]
Adapt to latest didl writer API.

We put a fake 'MP3' for all items in the DLNA's PN field for each item.
This should fix the playback of mp3 contents on DLNA-compliant MRs and CPs
without breaking the playback of non-mp3 contents on non-DLNA compliant MRs/CPs.

svn path=/trunk/; revision=145

16 years agoIn Browse() implementation, never return more than 128 items in a single reply.
Zeeshan Ali (Khattak) [Fri, 2 May 2008 20:14:30 +0000 (20:14 +0000)]
In Browse() implementation, never return more than 128 items in a single reply.

svn path=/trunk/; revision=144

16 years agoIn Browse() implementation, respect 'StartingIndex' and 'RequestedCount' params.
Zeeshan Ali (Khattak) [Fri, 2 May 2008 20:14:22 +0000 (20:14 +0000)]
In Browse() implementation, respect 'StartingIndex' and 'RequestedCount' params.

svn path=/trunk/; revision=143

16 years agooffset param to Files.GetByServiceType method is zero-based.
Zeeshan Ali (Khattak) [Fri, 2 May 2008 20:14:13 +0000 (20:14 +0000)]
offset param to Files.GetByServiceType method is zero-based.

svn path=/trunk/; revision=142

16 years agoUse tracker to get the number of items in a category.
Zeeshan Ali (Khattak) [Fri, 2 May 2008 20:14:05 +0000 (20:14 +0000)]
Use tracker to get the number of items in a category.

svn path=/trunk/; revision=141

16 years agoRemove an unneeded param from a function.
Zeeshan Ali (Khattak) [Fri, 2 May 2008 20:13:58 +0000 (20:13 +0000)]
Remove an unneeded param from a function.

svn path=/trunk/; revision=140

16 years agoEscape the path before making a URI from it.
Zeeshan Ali (Khattak) [Fri, 2 May 2008 20:13:51 +0000 (20:13 +0000)]
Escape the path before making a URI from it.

svn path=/trunk/; revision=139

16 years agoHost the root directory rather than user's home directory.
Zeeshan Ali (Khattak) [Fri, 2 May 2008 20:13:41 +0000 (20:13 +0000)]
Host the root directory rather than user's home directory.

This is done because tracker URI's are absolute file paths and it could be
tracking other directories as well.

svn path=/trunk/; revision=138

16 years agoStart using tracker for fetching the list of media files.
Zeeshan Ali (Khattak) [Fri, 2 May 2008 20:13:34 +0000 (20:13 +0000)]
Start using tracker for fetching the list of media files.

svn path=/trunk/; revision=137

16 years agoFix a small typo.
Zeeshan Ali (Khattak) [Fri, 2 May 2008 20:13:25 +0000 (20:13 +0000)]
Fix a small typo.

svn path=/trunk/; revision=136

16 years agoStart using tracker for fetching the metadata.
Zeeshan Ali (Khattak) [Mon, 28 Apr 2008 21:17:25 +0000 (21:17 +0000)]
Start using tracker for fetching the metadata.

svn path=/trunk/; revision=135

16 years agoAdd skeleton for tracker-based media provider.
Zeeshan Ali (Khattak) [Mon, 28 Apr 2008 21:17:14 +0000 (21:17 +0000)]
Add skeleton for tracker-based media provider.

svn path=/trunk/; revision=134

16 years agoRemove first goal from TODO and update the design/plan.
Zeeshan Ali (Khattak) [Mon, 28 Apr 2008 21:17:02 +0000 (21:17 +0000)]
Remove first goal from TODO and update the design/plan.

svn path=/trunk/; revision=133

16 years agoNo need to load the modified description document anymore.
Zeeshan Ali (Khattak) [Wed, 23 Apr 2008 13:53:53 +0000 (13:53 +0000)]
No need to load the modified description document anymore.

svn path=/trunk/; revision=132

16 years agoFetch the UDN and friendlyName from gconf.
Zeeshan Ali (Khattak) [Wed, 23 Apr 2008 13:53:47 +0000 (13:53 +0000)]
Fetch the UDN and friendlyName from gconf.

Fetch the UDN and friendlyName from gconf and set them to default
values if gconf keys aren't already set.

svn path=/trunk/; revision=131

16 years agoLet the context choose the hostname/IP and port for us if not in gconf.
Zeeshan Ali (Khattak) [Wed, 23 Apr 2008 13:53:40 +0000 (13:53 +0000)]
Let the context choose the hostname/IP and port for us if not in gconf.

svn path=/trunk/; revision=130