Page 1 of 1
Script - Send to Portable Device
Posted: Mon Oct 11, 2010 9:00 am
by JohnPaulJones
Hi All,
I am trying to find out how to send a play list to a device when it is plugged in. I am looking to do this using code if possible - any ideas?
Thanks,
John
Re: Script - Send to Portable Device
Posted: Mon Oct 11, 2010 5:23 pm
by rovingcowboy
you are wanting to make a new plug in ? or are you just looking to find it already done in mediamonkey?
if the latter then just plug in the device and then right click on its image in the monkeys tree and select options and set up the options for that by using the right panel or rename one of those for unknown device to the name you want for your device and make the options settings on it. there is a place to put the playlists on there and have monkey send or make them on the device. you just need to know how your device wants the playlists made on it. some like \playlist name
some like playlist name and some like playlist name\ just need to read your book on your device to find out what it wants the file stored like on it.

Re: Script - Send to Portable Device
Posted: Tue Oct 12, 2010 6:36 am
by JohnPaulJones
Trying to make a new plugin.
I have used the following code to fire off the app, but I can't get the list of the attached devices.
Code: Select all
SongsDB.SDBApplicationClass SDB = new SongsDB.SDBApplicationClass();
SDB.ShutdownAfterDisconnect = true;
I am then trying to get the list of devices by doing the following - but it does not work - any one have any clues?
Code: Select all
SongsDB.SDBDeviceList refd = SDB.Device.get_ActiveDeviceList("1");