i use this for rewriting based on the presence of a custom variable:
src = rewrite_metadata(
[("artist",'$(if $(my_artist),"$(my_artist)","$(artist)")'),
("title", '$(if $(my_title),"$(my_title)","$(title)")')],
src)
/b u
Robert McAuley:
> Have you tried using if statements and rewrite_metadata? I have this line
> in my liq file which rewrites title metadata for a suffix, depending on a
> switch:
>
> src = rewrite_metadata([("title", '$(if $(use_suffix),"$(title)
> $(suffix)","$(title)")'), ("url", "http://mystation.com")], src)
>
> On Sun, Mar 27, 2016 at 1:35 AM, jean duffas <[email protected]> wrote:
>
> > Hello,
> >
> > I would like to drop-metadata from a stream when metadata is equal to a
> > certain value…
> > is there a solution for that?
> >
> > thank you :-)
> >
> > ------------------------------------------------------------------------------
> > Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
> > _______________________________________________
> > Savonet-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/savonet-users
> >
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users