2012/6/30 Brandon Olivares <[email protected]>:
> Hello,
Hi!
> Thank you. In this case, how would I retrieve more than the first line? Say,
> for instance, if I want to set multiple pieces of metadata.
You should be able to edit the mockup to do more stuff. For instance
Script "/path/to/script" returns:
1: "Title"
2: "Album"
3: "Artist"
(numbers are line numbers)
Then you can do:
def fetch_live_title(_) =
lines = get_process_lines("/path/to/script")
title = list.nth(lines, 0)
album = list.nth(lines, 1)
artist = list.nth(lines, 2)
[ ("title", title ), ("artist", artist), ("album", album) ]
end
Romain
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users