Advertisement
azgul

Player.Open

Oct 13th, 2011
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. {
  2. "description":"Start playback of either the playlist with the given ID, a slideshow with the pictures from the given directory or a single file or an item from the database.",
  3. "params":[
  4. {
  5. "name":"item",
  6. "type":[
  7. {
  8. "additionalProperties":false,
  9. "properties":{
  10. "playlistid":{
  11. "$ref":"Playlist.Id",
  12. "required":true
  13. },
  14. "position":{
  15. "$ref":"Playlist.Position",
  16. "default":0
  17. }
  18. },
  19. "type":"object"
  20. },
  21. {
  22. "$ref":"Playlist.Item"
  23. },
  24. {
  25. "additionalProperties":false,
  26. "properties":{
  27. "path":{
  28. "required":true,
  29. "type":"string"
  30. },
  31. "random":{
  32. "default":true,
  33. "type":"boolean"
  34. },
  35. "recursive":{
  36. "default":true,
  37. "type":"boolean"
  38. }
  39. },
  40. "type":"object"
  41. }
  42. ]
  43. }
  44. ],
  45. "returns":{
  46. "type":"string"
  47. },
  48. "type":"method"
  49. }
  50.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement