'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

  1. duration: unit is ‘seconds’, ‘0’ means play till end
  2. frame: can be main, t1, t2, t3 or t4
  3. CLI mode: use “,” to separate multiple URLs
  4. animate: can be delay, fade, slide, left, right
  5. animate duration: unit is ‘seconds’
  6. pmode: can be loop or random

results matching ""

    No results matching ""