AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
Hi there, I just started messing with API and cannot figure out
Code: Select all (#)
insertFile(path)even this:
Code: Select all (#)
const cursorTrack = host.createCursorTrack('Selected Track', 'Selected Track', 1, 1, true);
const cs = cursorTrack.createCursorDevice()
cs.exists().markInterested()
if(cs.exists().get()) {
cs.replaceDeviceInsertionPoint().browse();
console.log("exists")
}else{
cs.deviceChain().endOfDeviceChainInsertionPoint().browse();
console.log("does not exist")
}I'm not sure what is going on and I could not find any sources on github or via google that would illustrate that functionality. Anybody has a clue?
