I have the following code which should in theory send the new song to my ipod. The new SongList is created and works correctly, and the synchronisation kicks off - both the bottom bar in Media Monkey and the ipod show that a file (the correct one) is being synchronised.
The sync never finnishes trying to copy the file over - is there something I am missing in the creation of the new song, or am I missing something out on the StartSynch call? The code runs without error but no updated songs?! If I drag and drop the same song using media monkeys interface there is not a problem. If I create the song from a song already on the ipod the synch works correcly, so it looks to me that the issue is in copying the actual file to the ipod?
Song Creation is:
Code: Select all
SongsDB.SDBApplicationClass SDB = new SongsDB.SDBApplicationClass();
SDB.ShutdownAfterDisconnect = true;
SongsDB.SDBSongIterator songs = (SongsDB.SDBSongIterator)SDB.Database.QuerySongs("ID=4");
newSongList = SDB.NewSongList;
while (!songs.EOF)
{
SongsDB.SDBSongData song = songs.Item;
newSongList.Add(song);
songs.Next();
}
SDB.Device.StartSynch(deviceHandle, newSongList);