Thanks Romain! Works great. On Fri, Oct 18, 2013 at 11:40 PM, Romain Beauxis <[email protected]> wrote: > Hi Tony, > > 2013/10/18 Tony Miller <[email protected]>: >> I have some issue with Traktor adding extra metadata (track title). I >> set metadata in this fashion. >> >> live_dj = >> input.harbor("datafruits",port=9000,auth=dj_auth,on_disconnect=on_disconnect) >> >> def new_meta(m) = >> title = m["title"] >> [("title","#{!title_prefix} -- #{title}")] >> end >> live_dj = map_metadata(new_meta, live_dj) >> >> >> Is there some way to eliminate the extra metadata? > > By default, map_metadata updates the metadata with the values > returned. If you set update=false in its parameters, then it will > remove all metadata not in he returned values. > > R. > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users
-- -Tony Miller github.com/mcfiredrill @freedrull freedrool.us ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
