Re: [Savonet-users] [savonet/liquidsoap] Remove character from Metatag (#615)

2018-08-28 Thread Gilou
You didn't include the metadata rewriting there? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Remove character from Metatag (#615)

2018-08-28 Thread preterive
no problem: https://pastebin.com/csKaWUUu -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Remove character from Metatag (#615)

2018-08-27 Thread Gilou
paste your full script so we can help... and opening another issue for this is quite rude in my opinion... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Remove character from Metatag (#615)

2018-08-27 Thread preterive
Line 24, char 6 before "end": Parse error! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Remove character from Metatag (#615)

2018-08-27 Thread preterive
Both examples don't work. i simple change s to source3. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Remove character from Metatag (#615)

2018-08-27 Thread preterive
Thanks, it don't work but now i edit them. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Remove character from Metatag (#615)

2018-08-27 Thread Romain Beauxis
You can try this: ``` def remove_colon(m) = def f(pair) = lbl = fst(pair) val = snd(pair) replace = fun (_) -> "" (lbl,string.replace(pattern=":",replace,lbl) end list.map(f,m) end s = map_metadata(remove_colon,s) ``` (Code untried) You could also be more specific by only

Re: [Savonet-users] [savonet/liquidsoap] Remove character from Metatag (#615)

2018-08-27 Thread preterive
I already test it: ``` At line 17, char 17-43: This term would evaluate to a (passive) source which would then be dropped. This is usually the sign of a misunderstanding: only active sources are animated on their own; dangling passive sources are just dead code. ``` could you give a more

Re: [Savonet-users] [savonet/liquidsoap] Remove character from Metatag (#615)

2018-08-27 Thread Romain Beauxis
Closed #615. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/savonet/liquidsoap/issues/615#event-1811085136-- Check out the

Re: [Savonet-users] [savonet/liquidsoap] Remove character from Metatag (#615)

2018-08-27 Thread Romain Beauxis
Hi, You should be able to achieve that by using the `map_metadata` operator. It is described here: http://www.liquidsoap.info/doc-1.3.3/metadata.html -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: