changeset 4018:918ccb2644fb

update_song_tuple() added to InputPlugin for future tag writing ability
author Eugene Zagidullin <e.asphyx@gmail.com>
date Mon, 26 Nov 2007 22:33:20 +0300
parents 0b7e7da470a9
children 29650db2d5f2
files src/audacious/plugin.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/plugin.h	Sun Nov 25 14:43:22 2007 -0800
+++ b/src/audacious/plugin.h	Mon Nov 26 22:33:20 2007 +0300
@@ -1071,7 +1071,7 @@
 
     /* Added in Audacious 1.1.0 */
     Tuple *(*get_song_tuple) (gchar * filename);
-    void (*set_song_tuple) (Tuple * tuple);
+    void (*set_song_tuple) (Tuple * tuple); /* stillborn, obsoleted by update_song_tuple, which must be used for tag writing */
     void (*set_status_buffering) (gboolean status);
 
     /* Added in Audacious 1.3.0 */
@@ -1085,6 +1085,8 @@
     /* Added in Audacious 1.4.1 */
     gboolean have_subtune;
 
+    /* Added in Audacious 1.5.0 */
+    gboolean (*update_song_tuple)(Tuple *tuple, VFSFile *fd);
 };
 
 struct _GeneralPlugin {