2006-10-02 Jonathan Matthew <jonathan@kaolin.wh9.net>
commit51ecdce69889670d5d3e2fd2a0720a6558693ff6
authorjmatthew <jmatthew>
Mon, 2 Oct 2006 11:22:21 +0000 (2 11:22 +0000)
committerjmatthew <jmatthew>
Mon, 2 Oct 2006 11:22:21 +0000 (2 11:22 +0000)
tree3877a1eb9774072bbbf928b823778d30e610c18e
parent52e8ae1fe9b597cd28bc99142604e893453c3a23
2006-10-02  Jonathan Matthew  <jonathan@kaolin.wh9.net>

patch mostly by: Ed Catmur  <ed@catmur.co.uk>

* bindings/python/rhythmdb.defs:
* lib/rb-marshal.list:
* rhythmdb/rhythmdb.c: (rhythmdb_class_init),
(rhythmdb_emit_entry_deleted),
(rhythmdb_entry_extra_metadata_accumulator),
(rhythmdb_entry_request_extra_metadata),
(rhythmdb_emit_entry_extra_metadata_notify),
(unset_and_free_g_value), (rhythmdb_entry_gather_metadata):
* rhythmdb/rhythmdb.h:
Add signals for dealing with transient metadata outside the set stored
in RhythmDBEntry:
- entry_extra_metadata_request returns a value for the requested
  metadata field
- entry_extra_metadata_notify notifies observers of a change to an
  extra metadata field
- entry_extra_metadata_gather returns the values of all extra metadata
  fields

* shell/rb-shell-player.c: (rb_shell_player_set_db_internal),
(rb_shell_player_extra_metadata_cb):
Sync the display on extra metadata changes and emit dbus signals when
we can marshal the value.

* shell/rb-shell.c: (rb_shell_get_song_properties):
Implement rb_shell_song_get_properties using
rhythmdb_entry_gather_metadata.

* plugins/rb-python-module.c: (pyg_value_g_value_as_pyobject),
(pyg_value_g_value_from_pyobject), (rb_python_module_init_python):
* configure.ac:
Add GValue marshaller for python (until bug 351072 is fixed)

From #345592.
ChangeLog
bindings/python/rhythmdb.defs
configure.ac
lib/rb-marshal.list
plugins/rb-python-module.c
rhythmdb/rhythmdb.c
rhythmdb/rhythmdb.h
shell/rb-shell-player.c
shell/rb-shell.c