Salut Vincent, 2011/1/17 Vincent Cassé <[email protected]>: > server.register("update_metadata_direct_artist", > fun (artist)->begin > direct = rewrite_metadata([("artist",'$(artist)')],direct) > "metadata updated" > end)
Here you create a source, do not attach it anywhere, so it's forgotten at the end of the command execution. What you need to do instead is setup a server.insert_metadata() node in your streaming setup, and use the corresponding server command to insert metadata. You can also use directly insert_metadata() to get your hands on the insertion function (and perhaps create a command from it). Hope this helps, -- David ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
