Disable Auto Open File?


Fripso

Recommended Posts

Dear people of the BitTorrent realm,

I have a question.

I am working on a piece of music production software (in Max). It uses Sync to grab mp3 and wave files from a remote server/peer and load them into memory for further use.

 

Basically what it does is take the .bts file and open it, Sync starts downloading and once the mp3 file appears, the patch will automatically take that file and load it into memory. (Meanwhile, sneaky sneaky in the background, it will do the same thing for a lossless .wav copy of the track and replace the mp3 with it once it has finished syncing)

Now for my problem: Every time Sync has finished downloading a file, it automatically opens. For the mp3, it will load and play the track in iTunes. Then, once the .wav becomes available, it will open and play that one as well. This is really annoying.

Is there a way to tell Sync to only download the file (and not open it in the default application) when I open the .bts placeholder? In other words 'Sync to this device' from the right click context menu, but then as a default setting or a command I can send to Sync. 

Hopes this make sense and there is anyone who can help me out with this one.

Thanks,

 

friso

Link to comment
Share on other sites

Thanks for your help.

Are you sure? Because my patch only gives my OS the command to open the BTS file. That is the only command going out of the Max patch.

Also, it doesn't even know the file path to the mp3 file, it just checks the folder for new files and, if they have .mp3 or .wav extensions, it loads them into the internal audiobuffer.

So it seems to me that Sync actually is giving the command to open it. Correct me if I'm wrong, and any help on solving this issue much appreciated  :D 

 

Edited by Fripso
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.