pfff it seems so simple and obvious (after this explanation)!
i feel stupid. :-/
it's work
Have a nice week-end
Look at the last definition:
radio = map_metadata(fun(m)-[(title, get_process_output(basename
#{quote(m[filename])}))], playlist(/home/user/minimal.lst))
It redefines radio as
Re hello,
I'am back to you about map_metadata function who's work now perfectly
..almost perfectly.
I show you my .liq file
-
promotions = playlist(/home/user/promo.lst)
mix = playlist(/home/user/mix-minimal.lst)
mixnuit = playlist(/home/user/mix-minimal.lst)
normal =
Le Friday 28 March 2008 23:32:25 [EMAIL PROTECTED], vous avez écrit :
I show you my .liq file
-
promotions = playlist(/home/user/promo.lst)
mix = playlist(/home/user/mix-minimal.lst)
mixnuit = playlist(/home/user/mix-minimal.lst)
normal =
Le Friday 21 March 2008 22:28:18 [EMAIL PROTECTED], vous avez écrit :
hello, i'm back (x_o)
Hi !
map_metadata not work for me.
maybe I missuse it.
---
radio = map_metadata(fun(m)-[(title,
get_process_output(basename#{quote(m[\filename\])}))],
Hi,
On Sat, Mar 22, 2008 at 1:01 PM, Romain Beauxis [EMAIL PROTECTED] wrote:
Heh, seems you missed a space !
Yes there should be a space after basename. You can also use a
simpler version with an up-to-date liquidsoap:
radio = map_metadata(fun(m)-[(title, basename(m[filename])],
hello, i'm back (x_o)
map_metadata not work for me.
maybe I missuse it.
---
radio = map_metadata(fun(m)-[(title,
get_process_output(basename#{quote(m[\filename\])}))],
playlist(/home/user/www/Radio/minimal))
---
I get this error in log (mp3 track still played):
---
[stderr:3] /bin/sh:
David Baelde wrote:
Oops, just found a bug in my solution. There should be a quotation to
avoid shell interpretation:
... get_process_output(basename #{quote(m[\filename\])}) ...
(This is the same as get_process_output(basename
^quote(m[filename]) which might be simpler to read in that
Le Tuesday 18 March 2008 22:06:30 David Baelde, vous avez écrit :
annotate:title=\rien\,rien=\title\:~/media/audio/Sex_Mob/Artie_Shaw.ogg
and:
liquidsoap -r ~/media/audio/Sex_Mob/Artie_Shaw.ogg
I can see the new metadata field rien being added, but the field
title is not changed. This means
By the way, it might be helpful to remind that you can use liquidsoap
-r URI (where URI can be a local path, a remote URL, an
annotate:..:URI, etc) to check the validity and see the metadata
associated to the request:
Le Tuesday 18 March 2008 16:50:26 David Baelde, vous avez écrit :
By the way, it might be helpful to remind that you can use liquidsoap
-r URI (where URI can be a local path, a remote URL, an
annotate:..:URI, etc) to check the validity and see the metadata
associated to the request:
Hey, it's
Selon David Baelde david.baelde:
yep
There are several solutions. I'll describe them quickly.
Use annotate:title=force,artist=force:file instead of file. You
can use that syntax in your playlists. I'm not 100% sure that the
annotate metadata overrides the file metadata, though. Please tell
Oops, just found a bug in my solution. There should be a quotation to
avoid shell interpretation:
... get_process_output(basename #{quote(m[\filename\])}) ...
(This is the same as get_process_output(basename
^quote(m[filename]) which might be simpler to read in that case.)
--
David
12 matches
Mail list logo