Blob Blame History Raw
diff -Nurb --strip-trailing-cr xmp-3.4.0-orig/src/plugin/audacious3.c xmp-3.4.0/src/plugin/audacious3.c
--- xmp-3.4.0-orig/src/plugin/audacious3.c	2012-05-29 08:44:56.000000000 +0200
+++ xmp-3.4.0/src/plugin/audacious3.c	2012-05-29 08:54:26.782843424 +0200
@@ -250,9 +250,9 @@
 	xmp_get_module_info(ctx, &mi);
 
 	tuple = tuple_new_from_filename(filename);
-	tuple_associate_string(tuple, FIELD_TITLE, NULL, mi.name);
-	tuple_associate_string(tuple, FIELD_CODEC, NULL, mi.type);
-	tuple_associate_int(tuple, FIELD_LENGTH, NULL, len);
+	tuple_set_str(tuple, FIELD_TITLE, NULL, mi.name);
+	tuple_set_str(tuple, FIELD_CODEC, NULL, mi.type);
+	tuple_set_int(tuple, FIELD_LENGTH, NULL, len);
 
 	xmp_release_module(ctx);
 	xmp_free_context(ctx);
@@ -351,9 +351,9 @@
 	xmp_get_module_info(ctx, &xmp_cfg.mod_info);
 
 	tuple = tuple_new_from_filename(filename);
-	tuple_associate_string(tuple, FIELD_TITLE, NULL, xmp_cfg.mod_info.name);
-	tuple_associate_string(tuple, FIELD_CODEC, NULL, xmp_cfg.mod_info.type);
-	tuple_associate_int(tuple, FIELD_LENGTH, NULL, lret);
+	tuple_set_str(tuple, FIELD_TITLE, NULL, xmp_cfg.mod_info.name);
+	tuple_set_str(tuple, FIELD_CODEC, NULL, xmp_cfg.mod_info.type);
+	tuple_set_int(tuple, FIELD_LENGTH, NULL, lret);
 	ipb->set_tuple(ipb, tuple);
 
 	ipb->set_params(ipb, xmp_cfg.mod_info.chn * 1000, opt->freq, channelcnt);