Again some improvements:
1. The script now detects if iTunes is installed or not. If its not installed the script will still work, but all the iTunes functionallity is escaped then.
2. Files are downloaded into a subdirectory of the targetdirectory with the same name as the channel. If the subdirectory does not exist, the script will create it.
3. I’ve re-introduced the memory file which i used with iPHPodder. The scripts stores the names of the downloaded files in here to prevent them from being downloaded again. So even if you throw away your downloaded files, they will not be downloaded again!
To prevent this file from growing to big, the filenames which are in this file for longer then a year will be deleted from the list.
Ok, like to know if the script runs ok or not, so please let me know by a comment or email.
Download your iPodder for windows version here
This is a big step forward. The memory is what i missed in your preveous releases. Just tested this
release and it works GREAT! Great job Pieter.
Hi Pieter,
I’m testing right now on Win2K Pro. Some suggestions:
- in the install.txt, add the information that the folder that’s mentioned in feeds.txt needs to be already created. I got an error when pointing the script to a subfolder of My Documents that didn’t exist.
- also, you might want to tell users not to put a trailing backslash at the end of the folder in feeds.txt. I don’t know if it makes any difference?
- while typing this, a few popups of your script appeared on my task bar. I never knew what they were saying, because they were gone before I could click on their task bar entries to bring them to the front.
- nothing more, nice job, keep it up!
Pieter,
First of all congrats on the great script.
I did however find a strange thing. Adam’s September 1st source code is not automatically downloaded. It might be something to do with the date or it might be my computer.
Do you see the same thing happening at your end?
Regards,
Bastiaan
Pieter, I regret that I know nothing about programming, but you are doing a great job.
I’m testing on WinXP Pro.
I forgot to ask my question: If I rename the title of my iPodder playlists in iTunes the next time I run iPodder, iPodder creates new playlists, so you double them. Is it a lot of work to change that or am I able to name the playlists somewhere in the script?
Bastiaan: Adam’s sept 1st DSS got downloaded just fine over here. It’s at the bottom of my iTunes list, though, because of the order of the alphabet. Maybe that’s the case with you?
Allright, found a bug (I think).
When the i-podder starts working on Dave Slusher’s feed, Windows Script Host immediately starts giving this error:
Script: {filepath to the .js file}
Line: 16
Character: 2
Error: object required
Code: 800A01A8
Source: Runtime-error Microsoft JScript
It’s specifically an error at Dave’s feed (http://www.evilgeniuschronicles.org/cgi-bin/blosxom.cgi/index.rss), which has one error at this moment: http://rss.scripting.com/?url=http%3A%2F%2Fwww.evilgeniuschronicles.org%2Fcgi-bin%2Fblosxom.cgi%2Findex.rss
But I don’t think that error has got something to do with this.
Oh, excuse me. Directly after Dave Slushers feed, I put http://www.scripting.com as the next feed, which is obviously wrong. I removed it from the feeds.txt and that helped. So it was all my bad.
Instead of the previous bug report, I would like to suggest checking if something is an RSS feed and if not: report to the user and proceed with the next feed.
Hi, it’s me again.
I’ve created a scheduler for your script. Maybe you could have a look?
It’s here: http://blog.breuls.org/2004/09/02.html#a79
This is fills a huge void, thanks very much for putting it together. I made one small change, I revised line 67 to:
if (enclosures.item( i ).getAttribute(’type’) == ‘audio/mpeg’ || enclosures.item( i ).getAttribute(’type’) == ‘audio/mp4′)
This allows the AAC files from IT Conversations to be downloaded.
Thanks again!
Spiffy! iPeter’s Blog is a new blog by a guy who developed a script for Windows users of iTunes to automagically pull in MP3s from various music blogs via their RSS feeds. Kudos to the Inquirer for the link.
Note to Self: Set this up as soon as yo…
Hi Pieter,
I try to use Ipodder but I have a Windows Script Host error:
Script: C:\Programm Files\iTunes]ipodder\i-podder.js
Regel: 151
Teken: 1
Fout: can’t find file
Code: 800A0035
Source: Runtime-fout Microsoft Jscript.
What did I wrong? Can you help me please? Thanks,
Erwin
probably a stupid question but a lot of this stuff is new to me. My Ipodder script opens as a notepad file. If I open it with the “open with command” options it works perfectly. I can use the windows scheduler but it will just open the text file and not run the script.
Moet er nog aan wennen maar sinds ik mijn Ipod heb betrap ik mezelf erop dat ik ook meer en meer naar audio blogs luister.