1.4.6 List of Files in Playlists

Enter the command to list all files in all existing playlists or all files in geven playlist. Defined by the PlayListId, FileId, Priority, FileName, Duration and Shuffle parameters.

Request

<msg Id="CTI_NSPK_GET_ALL_PLAYLISTS_FILES_REQ">
<CTI_IE_REFERENCE Ref="0x420"/>
</msg>

<msg Id="CTI_NSPK_GET_PLAYLISTS_FILES_REQ">
<CTI_IE_REFERENCE Ref="0x430"/>
<CTI_NSPK_IE_PLAYLIST_ID PlayListId="0x1"/>
</msg>

Response

<msg Id="CTI_NSPK_GET_ALL_PLAYLISTS_FILES_CONF">
<CTI_IE_REFERENCE Ref="0x420"/>
<CTI_NSPK_IE_PLAYLIST_FILE PlayListId="0x1" FileId="0x1" Priority="1" FileName="C:\Documents and Settings\All Users\Data aplikaci­\2N TELEKOMUNIKACE\2N NetSpeaker\Server\Media\Test.mp3" Duration="54085" Shuffle="0x0"/>
<CTI_NSPK_IE_PLAYLIST_FILE PlayListId="0x2" FileId="0x1" Priority="1" FileName="C:\Documents and Settings\All Users\Data aplikaci­\2N TELEKOMUNIKACE\2N NetSpeaker\Server\Media\Test2.mp3" Duration="54085" Shuffle="0x0"/> </msg>

<msg Id="CTI_NSPK_GET_ALL_PLAYLISTS_FILES_CONF">
<CTI_IE_REFERENCE Ref="0x430"/>
<CTI_NSPK_IE_PLAYLIST_FILE PlayListId="0x1" FileId="0x1" Priority="1" FileName="C:\Documents and Settings\All Users\Data aplikaci­\2N TELEKOMUNIKACE\2N NetSpeaker\Server\Media\Test.mp3" Duration="54085" Shuffle="0x0"/>
</msg>

IE

<documentation IE="CTI_NSPK_IE_PLAYLIST_FILE">
<member Type="INT" Name="PlayListId" Brief="Primary key session (reference to NSPK_SEST_S_PLAY_LIST)"/>
<member Type="INT" Name="FileId" Brief="Primary key play list file"/>
<member Type="INT" Name="Priority" Brief="Priority (sort order of files to play)"/>
<member Type="CHAR" Name="FileName" Brief="File name"/>
<member Type="INT" Name="Duration" Brief="File length in [ms] - for SET operations READ ONLY"/>
<member Type="U32" Name="Shuffle" Brief="Bit field, storing if file was played for given shuffle id - for SET operations READ ONLY"/>
</documentation>

<documentation IE="CTI_NSPK_IE_PLAYLIST_FILE_ID">
<member Type="INT" Name="PlayListId" Brief="Primary key session (reference to NSPK_SEST_S_PLAY_LIST)"/>
<member Type="INT" Name="FileId" Brief="Primary key play list file"/>
</documentation>