playQueueApi.htm 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>JSAPI2::PlayQueue Api</title>
  5. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  6. <script type="text/javascript" src="api2.js"></script>
  7. </head>
  8. <body style="FONT-FAMILY: MS Shell Dlg 2;">
  9. <h2>PlayQueue API</h2>
  10. <h3>Methods:</h3>
  11. <input type="button" value="Play" onclick="pqPlayClicked();">
  12. <br>
  13. &nbsp;&nbsp;&nbsp;&nbsp;URL:&nbsp;<input type="text" id="pq_t_PlayURL_in" value="c:\Documents and Settings\smontgo444\My Documents\My Music\Winamp\01 - Hello City.mp3">
  14. <br>
  15. &nbsp;&nbsp;&nbsp;&nbsp;title:&nbsp;<input type="text" id="pq_t_PlayTitle_in">
  16. <br>
  17. &nbsp;&nbsp;&nbsp;&nbsp;length:&nbsp;<input type="text" id="pq_t_PlayLength_in">
  18. <br>
  19. <br>
  20. <input type="button" value="Enqueue" onclick="pqEnqueueClicked();">
  21. <br>
  22. &nbsp;&nbsp;&nbsp;&nbsp;URL:&nbsp;<input type="text" id="pq_t_EnqueueURL_in" value="c:\Documents and Settings\smontgo444\My Documents\My Music\Winamp\01 - Hello City.mp3">
  23. <br>
  24. &nbsp;&nbsp;&nbsp;&nbsp;title:&nbsp;<input type="text" id="pq_t_EnqueueTitle_in">
  25. <br>
  26. &nbsp;&nbsp;&nbsp;&nbsp;length:&nbsp;<input type="text" id="pq_t_EnqueueLength_in">
  27. <br>
  28. <br>
  29. <input type="button" value="Insert" onclick="pqInsertClicked();">
  30. <br>
  31. &nbsp;&nbsp;&nbsp;&nbsp;position:&nbsp;<input type="text" id="pq_t_InsertPosition_in" value="0">
  32. <br>
  33. &nbsp;&nbsp;&nbsp;&nbsp;URL:&nbsp;<input type="text" id="pq_t_InsertURL_in" value="c:\Documents and Settings\smontgo444\My Documents\My Music\Winamp\08 - The King Of Bedside Manor.mp3">
  34. <br>
  35. &nbsp;&nbsp;&nbsp;&nbsp;title:&nbsp;<input type="text" id="pq_t_InsertTitle_in">
  36. <br>
  37. &nbsp;&nbsp;&nbsp;&nbsp;length:&nbsp;<input type="text" id="pq_t_InsertLength_in">
  38. <br>
  39. <br>
  40. <input type="button" value="Clear Queue" onclick="pqClearQClicked();">
  41. <br>
  42. <br>
  43. <input type="button" value="Get Metadata" onclick="pqGetMetadataClicked();">
  44. <input type="text" readonly size="40" id="pq_t_MTag_Response">
  45. <br>
  46. &nbsp;&nbsp;&nbsp;&nbsp;position:&nbsp;<input type="text" value="0" id="pq_t_MetadataPosition_in">
  47. <br>
  48. &nbsp;&nbsp;&nbsp;&nbsp;Metadata Tag:&nbsp;<input type="text" value="artist" id="pq_t_MTag_in">
  49. <br>
  50. <br>
  51. <input type="button" value="Get Title" onclick="pqGetTitleClicked();">
  52. <input type="text" readonly size="20" id="pq_t_Title">
  53. <br>
  54. &nbsp;&nbsp;&nbsp;&nbsp;position:&nbsp;<input type="text" value="0" id="pq_t_TitlePosition_in">
  55. <br>
  56. <br>
  57. <input type="button" value="Get URL" onclick="pqGetURLClicked();">
  58. <input type="text" readonly size="20" id="pq_t_URL">
  59. <br>
  60. &nbsp;&nbsp;&nbsp;&nbsp;position:&nbsp;<input type="text" value="0" id="pq_t_URLPosition_in">
  61. <br>
  62. <br>
  63. <h2>Properties</h2>
  64. <input type="button" value="Get length" onclick="pqGetLengthClicked();">
  65. <input type="text" readonly size="20" id="pq_t_Length">
  66. <br>
  67. <br>
  68. <input type="button" value="Get cursor" onclick="pqGetCursorClicked();">
  69. <input type="text" readonly size="20" id="pq_t_Cursor">
  70. <br>
  71. <input type="button" value="Set cursor" onclick="pqSetCursorClicked();">
  72. <input type="text" size="20" id="pq_t_Cursor_in">
  73. </body>
  74. </html>