How can I retrieve only the first item from a RSS playlist source?

I'm trying something like:

single(list.hd(playlist("http://feeds.wnyc.org/radiolab";)))

But list.hd is expecting an actual list not a source.

At line 8, char 35-151:
  this value has type
    source(_)
  but it should be a subtype of
    [_]

Is there a way to convert a playlist to a list object so I can then use
list.hd?
Or is there another mechanism to retrieve only the first item from a
playlist source?

Thanks in advance.
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to