Peter Breuls's Weblog
Discoveries of a Dutch Developer
Last update11-9-2004; 8:57:16
(all times are CET)
iPodder for Radio UserLand
Current version: iPodder.root v0.2. See the blog for the most up to date information.
Adam Curry's idea to have audio enclosures automatically transferred to your iPod or any other MP3 device has triggered some developers to create tools that do this. Most of these tools are called iPodder, after the example script by that name that Adam had created.
I have been listening to Adam's stories, and reading his blog, and checking out the tools that are created, and I thought of this: my aggregator, Radio UserLand, already downloads enclosures, so why create another downloading aggregator? Why don't use Radio, and extend it so I have my existing aggregator transferring the files to my MP3 device? That shouldn't be too hard, since Radio has a complete scripting environment in it.
So, that's what I did. I started a new tool, called it iPodder, and built into it the Synchronize script. That script is based on the threadscript that can be found in Dave Winers myPictures Tool, which checks a folder for image files.My script also checks a folder, but instead of scanning for images, it looks for .mp3 files. And instead of running continuously, it only runs when you tell it to.That's because your MP3 device just isn't constantly hooked up to your computer.
Allright, so how do I use this?
First, you need to be a Radio user. If you don't have Radio installed, install it, or just don't use this script. Use one of the other iPodders instead, they are all good scripts.
Second, download the tool. Save the tool in the Tools folder in your Radio UserLand installation. Within a few minutes, the iPodder will show up on the Tools page. When it does, you can find the iPodder functionality in the Radio application. Bring that to the front, and choose the Tools menu option. Then point your mouse to 'IPodder'. You will see three options:
Now you're set. Before you start using the iPodder, let me explain a small detail. For ease of programming and because this is the first prototype-like version of the Radio UserLand iPodder, the script only checks today's and yesterday's enclosures. So if you haven't downloaded any .mp3 files on the current date or the day before, nothing will happen. Of course this will change in a later version. (Version 0.1 only checked today's files, future versions will work differently, see this post.)
And now, the actual thing
To start transferring files, make sure your device is connected correctly and click Synchronize in the IPodder file menu. A popup message will tell you it has started, and the About Radio UserLand window will tell you about the files that are being transferred. When eveything is done, another popup will tell you so.
So, that's it. My first shot at creating something that might be useful for the iPod platform. I would really like it if people test it and give me feedback, so I can improve it. Also, this script won't work on an iPod, I think. I don't own one, so I don't really know. Feedback on that would also be more than welcome.
And, if it works correctly: great! Have fun!