On Fri, Aug 27, 2010 at 10:44 AM, Kai Wolf <[email protected]> wrote: > Hello everybody, > > I started some time ago writing a plugin for rhythmbox that keeps my > playlists and ratings for songs synced over all my workstations. > I stopped when I faced the problem that there apparently are no signals > shot for events like creating/deleting a playlist or rating a song.
Were you unable to find this information in the API documentation, or have you not looked at the API documentation? You can use the playlist manager 'playlist-added' signal (http://library.gnome.org/devel/rhythmbox/unstable/RBPlaylistManager.html#RBPlaylistManager-playlist-added) and the 'deleted' signal on the source itself (http://library.gnome.org/devel/rhythmbox/unstable/RBSource.html#RBSource-deleted) to watch for playlists being added and removed. The RhythmDB entry-changed signal (http://library.gnome.org/devel/rhythmbox/unstable/RhythmDB.html#RhythmDB-entry-changed) is emitted for each database entry change, including song ratings. _______________________________________________ rhythmbox-devel mailing list [email protected] http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
