And this code works for me; 

`lines = get_process_lines("youtube-dl --get-title --get-filename -- 
'https://www.youtube.com/watch?v=rmCA3qQkqso'")
log("lines = #{lines}")
line = list.hd(default="",lines)
log("line = #{line}")

`
```
2019/03/13 18:23:13 [lang:3] lines = ["Michael Jackson - Billie Jean (30th 
Anniversary Celebration) (Remastered Widescreen)", "Michael Jackson - Billie 
Jean (30th Anniversary Celebration) (Remastered Widescreen)-rmCA3qQkqso.mp4"]
2019/03/13 18:23:13 [lang:3] line = Michael Jackson - Billie Jean (30th 
Anniversary Celebration) (Remastered Widescreen)

```

-- 
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/726#issuecomment-472669925
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to