protocol.IsTrackInLibraryRequest2
This request allows you to check whether or not a track of a particular type (e.g Tidal) exists in the library based upon the supplied metadata.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
cid | no | 1 | text | client id. used to track origin of any particular message |
trnm | no | 1 | text | track name |
arnm | no | 1 | text | artist name |
alnm | no | 1 | text | album name |
type | no | 1 | integer | track type code |
Example xml:
<sireq> <cid>client123</cid> <fn> <isTrackInLibrary2> <trnm>Track Name</trnm> <arnm>Artist Name</arnm> <alnm>Album Name</alnm> <type>1</type> </isTrackInLibrary2> </fn> </sireq>