Monday, September 17, 2007

SharePod on Digg 2

Friday was a big day, the SharePod article on digg was the most popular in the last 24 hours(!), and http://www.sturm.net.nz served 5Gb of traffic that day :)

Thursday, September 13, 2007

SharePod is on Digg.com (again!)

SharePod is on another digg.com post!

The article is about the Top 10 freeware applications that everyone should know about. A friend pointed it out to me a couple of hours ago, and in that short space of time the post has had another 1000 diggs :) Its not the first time it has featured on digg.com, but this is the most popular post so far.

So, please go and digg the story, see if it can make it to the front page!

Friday, August 3, 2007

More code samples...

How about this one?

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();

Tuesday, July 31, 2007

SharePod SDK Code Samples

I've been getting lots of questions about how to use the SharePod SDK and to provide more code samples... so thats what I'm going to do. They will be added to the SharePod SDK page and to the SDK download.

This shows how easy it is (under 10 lines including some error checking!) to get a list of tracks on your iPod:

IPod iPod = null;
try
{
IPod iPod = SharePod.GetConnectediPod();
}
catch (BaseSharePodException ex)
{
MessageBox.Show(ex.Message);
return;
}
foreach (Track track in iPod.Tracks)
{
Debug.WriteLine(String.Format("{0} - {1} - {2}",
track.Title, track.Artist, track.Album);
}

Monday, July 30, 2007

SharePod 3.4

Features:
  • Multi-column sorting
  • Better support for old iPods
  • Hopefully fixed occasional drag-drop not working bug