Swap the sink and source ProtocolInfo.
[profile/ivi/rygel.git] / ChangeLog
1 2008-07-04  Zeeshan Ali Khattak  <zeenix@gmail.com>
2
3         * src/gupnp-connection-manager.vala:
4
5         Swap the sink and source ProtocolInfo.
6
7 2008-07-04  Zeeshan Ali Khattak  <zeenix@gmail.com>
8
9         * data/xml/Makefile.am:
10         * data/xml/description.xml:
11         * src/gupnp-media-server.vala:
12
13         Enable the ConnectionManager service.
14
15 2008-07-04  Zeeshan Ali Khattak  <zeenix@gmail.com>
16
17         * src/Makefile.am:
18         * src/gupnp-connection-manager.vala:
19
20         Copy the ConnectionManager code from gupnp-media-renderer.
21
22 2008-07-04  Zeeshan Ali Khattak  <zeenix@gmail.com>
23
24         * README:
25
26         Put some description in README file.
27
28 2008-07-03  Zeeshan Ali Khattak  <zeenix@gmail.com>
29
30         * src/gupnp-content-directory.vala:
31
32         Return an error on getting invalid arguments for 'Browse'.
33
34 2008-07-03  Zeeshan Ali Khattak  <zeenix@gmail.com>
35
36         * src/gupnp-content-directory.vala:
37
38         Argument 'value' of query_variable signal should now be declared 'ref'.
39
40 2008-07-03  Zeeshan Ali Khattak  <zeenix@gmail.com>
41
42         * src/gupnp-media-tracker.vala:
43
44         Provide the 'creator' tag in DIDL xml for all items. The same value is
45         provided in 'author' and 'artist' tags for music and video items
46         respectively.
47
48 2008-07-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
49
50         * data/xml/ContentDirectory.xml:
51
52         Hide the optional "GetSortExtensionCapabilities" action as well.
53
54 2008-07-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
55
56         * src/gupnp-content-directory.vala:
57
58         - Initialize "SystemUpdateID" variable and implement related query and
59           action.
60         - Implement "SearchCapabilities" and "SortCapabilities" related
61           queries and actions.
62         - Implement "FeatureList" related queries and actions.
63
64 2008-07-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
65
66         * data/xml/ContentDirectory.xml:
67
68         - List the required actions/variable before the optional.
69         - Comment out the optional actions and variables.
70
71 2008-07-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
72
73         * data/xml/Makefile.am:
74         * data/xml/description-xbox360.xml:
75         * data/xml/description.xml:
76
77         Disable the distribution and advertisement of the yet unimplemented
78         ConnectionManager service.
79
80 2008-07-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
81
82         * src/gupnp-media-tracker.vala:
83
84         A temporary hack to make Vala compiler free string in structs. We need
85         this untill GB#526552 is fixed.
86
87 2008-07-01  Zeeshan Ali Khattak  <zeenix@gmail.com>
88
89         * src/gupnp-media-tracker.vala:
90
91         - Refactor: separate functions for adding music, image and video items
92           to DIDL.
93         - Put the actual "album" in the DIDL when available.
94         - Put "dc:date" in the DIDL when available.
95         - No need to check for null on values returned from tracker.
96
97 2008-07-01  Zeeshan Ali Khattak  <zeenix@gmail.com>
98
99         * src/gupnp-media-tracker.vala:
100
101         - Include the author, creator or artist in the DIDL when available.
102         - Include "originalTrackNumber" in the DIDL for Music track objects.
103         - Indentation fix.
104
105 2008-06-30  Zeeshan Ali Khattak  <zeenix@gmail.com>
106
107         * configure.ac:
108
109         Export the "abs_top_builddir" explicitly. Some installations need it.
110
111 2008-06-30  Zeeshan Ali Khattak  <zeenix@gmail.com>
112
113         * src/gupnp-media-tracker.vala:
114
115         - Include the title instead of filename in the DIDL when it's available.
116         - tracker gives us empty string rather than null for each unavailable
117           metadata.
118
119 2008-06-26  Zeeshan Ali Khattak  <zeenix@gmail.com>
120
121         * src/gupnp-media-server.vala:
122
123         Correct the logic in MediaServer.set_friendly_name_and_udn (). The
124         values for UDN and FriendlyName were not set in the description doc if
125         not already present in the corresponding gconf keys.
126
127 2008-06-24  Zeeshan Ali Khattak  <zeenix@gmail.com>
128
129         * src/gupnp-content-directory.vala:
130         * src/gupnp-media-receiver-registrar.vala:
131         * src/gupnp-media-server.vala:
132         * src/gupnp-media-tracker.vala:
133
134         Remove the now redundant 'using GLib' from all sources.
135
136 2008-06-24  Zeeshan Ali Khattak  <zeenix@gmail.com>
137
138         * src/gupnp-content-directory.vala:
139         * src/gupnp-media-receiver-registrar.vala:
140
141         Start using the new Vala syntax for connecting signals with details.
142
143 2008-06-23  Zeeshan Ali Khattak  <zeenix@gmail.com>
144
145         * src/gupnp-media-tracker.vala:
146
147         A small fix to setisfy the latest Vala compiler.
148
149 2008-06-16  Zeeshan Ali Khattak  <zeenix@gmail.com>
150
151         * src/gupnp-media-tracker.vala:
152
153         Make all constants all CAPS.
154
155 2008-06-15  Zeeshan Ali Khattak  <zeenix@gmail.com>
156
157         * configure.ac:
158
159         Check for gupnp-media-server.vala file rather than now removed main.c
160         file.
161
162 2008-06-15  Zeeshan Ali Khattak  <zeenix@gmail.com>
163
164         * src/Makefile.am:
165
166         Add the vala stamp file to CLEANFILES.
167
168 2008-06-15  Zeeshan Ali Khattak  <zeenix@gmail.com>
169
170         * src/Makefile.am:
171         * src/gupnp-media-server.vala:
172         * src/main.c:
173
174         Re-write the main module in Vala. The main module's code now resides
175         in MediaServer class as static methods. This marks the completion of
176         re-write of code in Vala. Yay!
177
178 2008-06-15  Zeeshan Ali Khattak  <zeenix@gmail.com>
179
180         * src/Makefile.am:
181         * src/cstuff.c:
182         * src/cstuff.h:
183         * src/cstuff.vapi:
184
185         Put all low-level stuff into a separate module. This module will be
186         the only one kept in C and all the code that currently can't be
187         written (easily) in Vala, will go there.
188
189 2008-06-13  Zeeshan Ali Khattak  <zeenix@gmail.com>
190
191         * configure.ac:
192         * src/Makefile.am:
193
194         Check for gconf-2.0 Vala bindings and add it to the Vala compiler
195         flags.
196
197 2008-06-13  Zeeshan Ali Khattak  <zeenix@gmail.com>
198
199         * configure.ac:
200
201         Introduce a separate configure option for a strict C compiler.
202
203 2008-06-13  Zeeshan Ali Khattak  <zeenix@gmail.com>
204
205         * src/Makefile.am:
206         * src/gupnp-media-server.c:
207         * src/gupnp-media-server.h:
208         * src/gupnp-media-server.vala:
209
210         Re-write the MediaServer class in Vala.
211
212 2008-06-12  Zeeshan Ali Khattak  <zeenix@gmail.com>
213
214         * src/gupnp-media-receiver-registrar.vala:
215
216         Add the copyright header.
217
218 2008-06-12  Zeeshan Ali Khattak  <zeenix@gmail.com>
219
220         * src/gupnp-media-tracker.vala:
221
222         - Use the nice and clean DBus API that Vala provides us.
223         - Enable the commented out code of get_container_children_count() now
224           that it's working against the latest Vala (svn trunk). MediaTracker
225           is fully functional again, yay!
226         - Correct a warning message (copy&paste mistake).
227
228 2008-06-12  Zeeshan Ali Khattak  <zeenix@gmail.com>
229
230         * src/gupnp-media-tracker.vala:
231
232         Correct the types of two parameters of MediaTracker.browse().
233
234 2008-06-12  Zeeshan Ali Khattak  <zeenix@gmail.com>
235
236         * src/Makefile.am:
237         * src/gupnp-content-directory.c:
238         * src/gupnp-content-directory.h:
239         * src/gupnp-content-directory.vala:
240
241         Re-write ContentDirectory implementation in Vala.
242
243 2008-06-11  Zeeshan Ali Khattak  <zeenix@gmail.com>
244
245         * configure.ac:
246
247         Require Vala >= 0.3.4.
248
249 2008-06-11  Zeeshan Ali Khattak  <zeenix@gmail.com>
250
251         * configure.ac:
252         * src/Makefile.am:
253         * src/gupnp-content-directory.c:
254         * src/gupnp-media-tracker.c:
255         * src/gupnp-media-tracker.h:
256         * src/gupnp-media-tracker.vala:
257
258         Re-write MediaTracker in Vala. Doesn't really work. Thanks to
259         dbus-glib bindings for Vala and tracker API.
260
261 2008-06-07  Zeeshan Ali Khattak  <zeenix@gmail.com>
262
263         * src/Makefile.am:
264         * src/gupnp-media-receiver-registrar.c:
265         * src/gupnp-media-receiver-registrar.h:
266         * src/gupnp-media-receiver-registrar.vala:
267
268         Re-write X_MS_MediaReceiverRegistrar implementation in Vala.
269
270 2008-06-07  Zeeshan Ali Khattak  <zeenix@gmail.com>
271
272         * configure.ac:
273
274         Check for Vala and GUPnP bindings.
275
276 2008-05-14  Zeeshan Ali Khattak  <zeenix@gmail.com>
277
278         * src/Makefile.am:
279         * src/gupnp-content-directory.c:
280         * src/gupnp-content-directory.h:
281         * src/gupnp-media-receiver-registrar.c:
282         * src/gupnp-media-receiver-registrar.h:
283         * src/gupnp-media-server.c:
284
285         Put the services implementations into separate objects.
286
287 2008-05-08  Zeeshan Ali Khattak  <zeenix@gmail.com>
288
289         * src/gupnp-media-tracker.c:
290
291         - Report the correct UPnP class of the items.
292         - Xbox wants Images container to have ID of '16'.
293         - Provide 'res@resultion' in DIDL XML for audio and video items.
294
295 2008-05-08  Zeeshan Ali Khattak  <zeenix@gmail.com>
296
297         * src/gupnp-media-tracker.c:
298
299         Quick security fix: only host the user's home dir. This should be OK
300         with most tracker setups since by default tracker only indexes user's
301         home dir.
302
303 2008-05-08  Zeeshan Ali Khattak  <zeenix@gmail.com>
304
305         * src/gupnp-media-tracker.c:
306
307         - Introduce a structure to hold container info: ID, title and
308           associated tracker category.
309         - Don't escape '/' in the path before putting it in HTTP URI.
310
311 2008-05-08  Zeeshan Ali Khattak  <zeenix@gmail.com>
312
313         * src/gupnp-media-server.c:
314
315         Xbox 360 uses 'ContainerID' instead of 'ObjectID' for cotainers.
316
317 2008-05-07  Zeeshan Ali Khattak  <zeenix@gmail.com>
318
319         * data/xml/Makefile.am:
320
321         Add the newly added xbox 360 specific xml files to build.
322
323 2008-05-07  Zeeshan Ali Khattak  <zeenix@gmail.com>
324
325         * data/xml/description-xbox360.xml:
326         * src/main.c:
327
328         Use a separate description document for Xbox 360 to keep the code
329         simple.
330
331 2008-05-07  Zeeshan Ali Khattak  <zeenix@gmail.com>
332
333         * src/gupnp-media-server.c:
334
335         Retrieve the services in version agnostic way.
336
337 2008-05-06  Zeeshan Ali Khattak  <zeenix@gmail.com>
338
339         * data/xml/X_MS_MediaReceiverRegistrar1.xml:
340         * data/xml/description.xml:
341         * src/gupnp-media-server.c:
342         * src/main.c:
343
344         Add basic support for Xbox.
345
346 2008-05-05  Zeeshan Ali Khattak  <zeenix@gmail.com>
347
348         * data/xml/description.xml:
349
350         Steal some more DLNA bits from rhythmbox GUPnP plugin.
351
352 2008-05-03  Zeeshan Ali Khattak  <zeenix@gmail.com>
353
354         * src/gupnp-media-tracker.c:
355
356         Adapt to latest didl writer API. We put a fake 'MP3' for all items in
357         the DLNA's PN field for each item. This should fix the playback of mp3
358         contents on DLNA-compliant MRs and CPs without breaking the playback of
359         non-mp3 contents on non-DLNA compliant MRs/CPs.
360
361 2008-05-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
362
363         * src/gupnp-media-tracker.c:
364
365         In Browse() implementation,
366         - respect 'StartingIndex' and 'RequestedCount' params.
367         - Never return more than 128 items in a single reply.
368
369 2008-05-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
370
371         * src/gupnp-media-tracker.c:
372
373         - Use tracker to get the number of items in a category.
374         - offset param to Files.GetByServiceType method is zero-based.
375
376 2008-05-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
377
378         * src/gupnp-media-tracker.c:
379
380         - Host the root directory rather than user's home directory since the
381           tracker URI's are absolute file paths and it could be tracking other
382           directories as well.
383         - Escape the path before making a URI from it.
384         - Remove an unneeded param from a function.
385
386 2008-05-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
387
388         * src/gupnp-media-tracker.c:
389
390         Start using tracker for fetching the list of media files.
391
392 2008-04-29  Zeeshan Ali Khattak  <zeenix@gmail.com>
393
394         * src/gupnp-media-tracker.c:
395
396         Fix a small typo.
397
398 2008-04-29  Zeeshan Ali Khattak  <zeenix@gmail.com>
399
400         * configure.ac:
401         * src/Makefile.am:
402         * src/gupnp-media-tracker.c:
403
404         Start using tracker for fetching the metadata.
405
406 2008-04-28  Zeeshan Ali Khattak  <zeenix@gmail.com>
407
408         * src/Makefile.am:
409         * src/gupnp-media-server.c:
410         * src/gupnp-media-tracker.c:
411         * src/gupnp-media-tracker.h:
412
413         Add skeleton for tracker-based media provider.
414
415 2008-04-23  Zeeshan Ali Khattak  <zeenix@gmail.com>
416
417         * TODO:
418         * doc/design.txt:
419
420         Remove first goal from TODO and update the design/plan.
421
422 2008-04-23  Zeeshan Ali Khattak  <zeenix@gmail.com>
423
424         * src/main.c:
425
426         - Fetch the UDN and friendlyname from gconf and set them to default
427           values if gconf keys aren't already set.
428         - No need to load the modified description document anymore.
429
430 2008-04-22  Zeeshan Ali Khattak  <zeenix@gmail.com>
431
432         * src/main.c:
433
434         Let the context choose the hostname/IP and port for us if not
435         specified in gconf.
436
437 2008-04-21  Zeeshan Ali Khattak  <zeenix@gmail.com>
438
439         * src/gupnp-media-server.c:
440
441         - Implement 'BrowseMetadata'.
442         - Mime-type of mp3 files should be 'audio/mpeg' rather than
443         'audio/mp3'.
444         - Host user's home directory as '/media' and update paths accordingly.
445
446 2008-04-21  Zeeshan Ali Khattak  <zeenix@gmail.com>
447
448         * configure.ac:
449         * data/Makefile.am:
450         * data/xml/Makefile.am:
451         * src/Makefile.am:
452
453         Update/fix the build system for our dummy MS.
454
455 2008-04-21  Zeeshan Ali Khattak  <zeenix@gmail.com>
456
457         * src/gupnp-media-server.c:
458         * src/gupnp-media-server.h:
459         * src/main.c:
460
461         Implement a dummy MS.
462
463 2008-04-21  Zeeshan Ali Khattak  <zeenix@gmail.com>
464
465         * src/gupnp-media-server.c:
466         * src/gupnp-media-server.h:
467
468         Update the copyright/licence header.
469
470 2008-04-21  Zeeshan Ali Khattak  <zeenix@gmail.com>
471
472         * data/xml/ConnectionManager.xml:
473         * data/xml/ContentDirectory.xml:
474         * data/xml/description.xml:
475
476         - Advertise version 2 of MS and AV services.
477         - Some minor updates.
478
479 2008-04-13  Zeeshan Ali Khattak  <zeenix@gmail.com>
480
481         * doc/design.txt:
482
483         Simpler design:
484         - Rename MediaDb to MediaProvider.
485         - Replace MediaDbGroup and MediaDbPlugin by a single MediaDb.
486
487         * TODO:
488
489         Add TODO file and put the general plan in there.
490
491 2008-04-13  Zeeshan Ali Khattak  <zeenix@gmail.com>
492
493         * doc/design.txt:
494
495         Add some more objects and description to design doc.
496