TYBA






protocol.InsertTracksRequest

InsertTracksRequest

This request allows you to add all tracks in the database to the supplied playlist.

ParameterOptionalMax AllowedDataTypeNotes
cidno1textclient id. used to track origin of any particular message
fpsno1listlist of relative or absolute file paths to add
fpnounboundedfile pathfile path as absolute URI or partial/relative path
plsyes1listlist of playlist ids
plidnounboundeddatabase idplaylist id
tokyes1api tokenclient token for privileged access. request from ideaworks

Example xml:


  <sireq>
      <cid>Mum</cid>
      <fn>
          <insertTracks>
              <fps>
                  <fp>file:///MuSe/Server/drop_box/test.mp3</fp>
                  <fp>drop_box/test.mp3</fp>
              </fps>
              <pls>
                  <plid>12121212121</plid>
                  <plid>65465456545464</plid>
              </pls>
              <tok>fggew32gfg24gf45f3g54</tok>
          </insertTracks>
      </fn>
  </sireq>

 

back to index