First I create a new playlist (called "New Playlist") and add a track to it. Then I can modify that track (in this case the comment field).
Then I can use the built-in IPodExporter class to easily copy a track to the users c:\ drive!
Could it be much easier? :)
try
{
Playlist newPlaylist = iPod.Playlists.Add("New Playlist");
newPlaylist.AddTrack(iPod.Tracks[0]);
}
catch (BaseSharePodException ex)
{
MessageBox.Show(ex.Message);
}
iPod.Tracks[0].Comment = "Modified by SharePodLib";
iPod.SaveChanges();
IPodFileExporter exporter = new IPodFileExporter(iPod, "c:\\", "[Artist] - [Album] - [Title]");
exporter.SetTracksToCopy(iPod.Tracks[0]);
exporter.PerformCopy();
2 comments:
Hi, don't think this is the correct place to post it but anyways. I run Vista 64-bit, and I can't copy files on to it.
System.ApplicationException: SharePod_Input.dll, in_mp3.dll and mp4v2.dll files must be in the same folder as SharePod.exe to copy files to your iPod
at SharePod.IPodFileImporter.PerformCopy()
at SharePod.Dialogs.TransferToIPodWindow.Window_Shown(Object sender, EventArgs e)
Cheers,
Rob
thank you for sharepod!! i LOVE it ... have raved about it to so many people they think i am a hired promoter. just want to say thank u.
Post a Comment