'Drop' command
CLI
drop [(url)|(mpath)] (duration) (frame) (animate) (animate duration) (play mode)
JSON
{"cmd":"drop","type":"url","src":["(url1)|(mpath1)","(url2)|(mpath2)"],"duration":"(duration)","frame":"(frame)","animate":"(animate)","anidur
ation":"(animate duration)","bgcolor":"(background color)","pmode":"(play mode)"}
Example
drop http://cdn.ypcall.com/miki/yp/djdemo/sugar.mp4 30 main
drop http://cdn.ypcall.com/miki/yp/djdemo/sugar.mp4 30 main fade 2 loop
{"cmd":"drop","type":"url","src":["http://cdn.ypcall.com/miki/yp/djdemo/sugar.mp4"],"duration":"0","frame":"t2","animate":"fade","aniduration":"
2","bgcolor":"white","pmode":"loop"}
Note
- duration: unit is ‘seconds’, ‘0’ means play till end
- frame: can be main, t1, t2, t3 or t4
- CLI mode: use “,” to separate multiple URLs
- animate: can be delay, fade, slide, left, right
- animate duration: unit is ‘seconds’
- pmode: can be loop or random