RSS

How To… Automatically Download Audio and Video Podcasts Via RSS With Windows Home Server

Mon, Feb 4, 2008 | Terry Walsh

Last week, a post over at the WGS forums discussed options for automatically download Audio and Video Podcasts with Windows Home Server via RSS Feeds, and move them to the correct shared folder on the home server. I invited one of regular forum contributors, DSSystems to pull together a walkthrough on achieving this, and I’m delighted to say, he’s done us proud.

So, without further ado… here’s How To… Automatically Download Audio and Video Podcasts Via RSS With Windows Home Server.

Introduction

In this walkthrough we’ll use the tech podcast DL.TVas the podcast we wish to regularly download and we’ll be subscribing to their WMV feed. The podcasts will be downloaded to Windows Home Server using the popular Community Feeds for Windows Home Server add-in (Also called Xbox 360 Community Feeds, confusingly, as the add-in was designed to display RSS feeds from your home server on an Xbox 360. However, it’s also great for setting up regular RSS feeds on your home server too.) Once we’ve set up the subscription we’ll then configure Windows Home Server to move the .WMV files from the Community Feeds default folder to a DL.TV folder in the Video shares folder with a batch file. The process is basically the same for any Podcast, whether Audio or Video-based. For completeness, we’ll then run through an audio podcast example.

Walkthrough 1: Video Podcast

Step One

Download the “Community Feeds for Windows Home Server” add-in from http://www.whsaddins.net/download/xbcfadd.msi and install it on your home server in the default location, which should be: C:\Program Files\Community Feeds

Step Two

Open the WHS console, click ‘Settings’ then the ‘Xbox 360 Feeds’ tab. From here choose the type of TV you’ll be using to watch the video feeds on. The selected option turns grey.

Community Feeds for Windows Home Server Add-In Settings

Select how frequently you want to check for updates and how many files you want to keep. I chose ‘1 day’ as DL.TV updates every couple of days and ‘2′ for the max number of files to keep, in order to save space. You may need to change these settings as you add new feeds.

Click OK to exit and save the settings.

Step Three

In the ‘Xbox 360 Feeds’ section of the console, click the ‘Add’ button.

This brings up a dialog box where you can enter the feed URL and what type of content you wish to download.

Add a New Content Feed

For this example, the URL is http://feeds.ziffdavis.com/ziffdavis/dltvwmvvideo?format=xml and I’ve selected ‘Download video content only’.

Click ‘Add’ and close the console.

Xbox 360 Feeds will check DL.TV for updates once every day.

Step Four

As we’re downloading a Video podcast, it would be great to have it automatically moved to our Videos Shared Folder. So, next we need to make a batch file that will create a folder called DL.TV in the Shared Videos folder and move all the .WMV files into it. Doing this is really simple. Either download and example here: Feeds.cmd or make it yourself:

Open ‘Notepad’ then copy and paste these two lines into a blank text file:

MD \\%COMPUTERNAME%\Videos\DLTV\copy "%PROGRAMFILES%\Community Feeds\Xbox 360 Feeds\dl.tv WMV video\*.wmv" file://%25computername%25/Videos/DLTV/Save the file as ‘Feeds.cmd'I’ve used the ‘C:\Program Files\Community Feeds\Xbox 360 Feeds\’ folder to keep everything neat and tidy.Creating the Feeds.cmd file in Notepad

Step Five

Now you need to add the ‘Feeds.cmd’ batch file as a scheduled task.

Go to ‘Control Panel’ then ‘Scheduled Tasks’ and click ‘Add Scheduled Task’ which starts the ‘Scheduled Task Wizard’

Click ‘Next’ then ‘Browse’ and point to the ‘Feeds.cmd’ saved in the ‘C:\Program Files\Community Feeds\Xbox 360 Feeds\’ folder.

Give the task a name - ‘Feeds’ - and tell it to perform this task ‘Daily’. Choose a time for the task to be completed and finish off by entering your Administrator password.

Adding a Scheduled Task

As you can see I set mine to start at 6:00am, just after my ‘backups’ finish.

Next Day

If all went well, you should have a DL.TV folder in your Shared Videos folder, with a .wmv file in it.

The Downloaded Video Podcast

Walkthrough 2: Audio Podcast

Step One

As an example of an Audio feed I’ll use ‘This Week In Tech’ with Leo Laporte. First, visit the podcast’s website at: http://twit.tv/twit

From the “Subscribe” drop down list choose RSS.

This Week in Tech

This will take you to the XML feed page.The XML FeedStep Two

Copy the URL and paste it into the ‘Add’ dialog box from Xbox 360 Feeds on your home server.

Adding the Feed URL

But this time choose ‘Download audio only content’  and hit the Add button. You should now have two feeds in the Xbox 360 Feeds section.

Two Feeds Listed in Xbox 360 Feeds

Step Three

We now need to edit our Feeds.cmd batch file.  

Open up Feeds.cmd in ‘Notepad’  and add these two lines at the bottom.

MD "\\%COMPUTERNAME%\Music\TWiT\"
copy "%PROGRAMFILES%\Community Feeds\Xbox 360 Feeds\this WEEK in TECH - MP3 Edition\*.mp3" \\%COMPUTERNAME%\Music\TWiT\

This will move the .MP3 files to a ‘TWiT’ folder in your shared Music folder at the same time as it moves the .WMV’s previously configured. That completes the walkthrough! Once again, a big thank you to DSSystems for taking the time to pull it together.

More Info: Discuss this Walkthrough at the WGS Media Streaming and Serving Forum

Similar Posts:

, , , , , , , , , , , , , , , , , , , , , , , , , , , ,

This post was written by:

Terry Walsh - who has written 651 posts on We Got Served.

Hi - I'm Terry and I'm the Owner of We Got Served. The site's been covering everything to do with Windows Home Server since February 2007. I live in Silverstone, UK with my wife and when I'm not working on We Got Served, I have a career as an Innovation Consultant to contend with.

Contact the author

5 Comments For This Post

  1. Carlton Bale Says:

    The only problem I see is that the batch file does not sync the directories. It will re-copy a file you’ve already watched and deleted from your shared folder. Or if you set Community Feeds to keep only 2 shows, this will only apply to the files in the Program Files directory, not the shared files in the Videos folder.

    I think a better option would be to write a command that syncs the two folders, or use a non-WHS program such as iTunes or Miro and save files directly to the shared video folder.

  2. HVACengi Says:

    Why don’t you use MS’s Sync Toy to handle copying the files? It would solve the problem that Carlton brings up. At the same time, the content downloaded would automatically be removed when the Community Feeds app clears out the older feed entries.

  3. Baskar Says:

    Only yesterday I uninstalled community feed thinking that it should be something for XBOX. I installed and played with this software one day and then uninstalled. I looks cool. The name is so confusing.

  4. Alex Says:

    Do these files get saved to the Server (as part of the sytems 20gb)? Where does Xbox 360 Feeds save these files? The tutorial seems to be showing the files as being copied the the network share not moved, is that the case? I would prefer to not have any thing saved to the Home Servers local drive but rather on the network. Also in the batch file I assume you repace the %COMPUTERNAME% with the name of my home server.

  5. Bill Says:

    I followed this until step five. If the .cmd file is supposed to be loaded to as a scheduled task on a client, I cant do this, the computer I am using has Vista Home Premium, sync (the control panel app with task funciton) is not enabled in this version. Is there any workaround? Also where is the DL’ed content stored on the WHS?

1 Trackbacks For This Post

  1. How To… Automatically Download Audio and Video Podcasts Via RSS With Windows Home Server | We Got Served « Noocyte’s Weblog Says:

    [...] Link to How To… Automatically Download Audio and Video Podcasts Via RSS With Windows Home Serv… [...]

Leave a Reply