News:

There is now a ChangeLog page on the wiki
New developments are added at the bottom of the page.

Main Menu

Downloading a playing a podcast

Started by Darcy, July 03, 2016, 03:53:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Darcy

I'm posting this request here as it doesn't seem to fit anywhere else.

I'm new to VC and am slowing building my capabilities.  For my next activity, I'm at a loss of where to start.  It seems simple.  I want to play the latest new podcast from CBC.  The URL is:

http://podcast.cbc.ca/mp3/hourlynews.mp3

Many thanks.

jitterjames

What do you normally use to play podcasts or other media like music?

Darcy

Currently I have a sonos system and stream it.  I use VC to control my sonos.  What I would like is to say "Latest CBC  news" and VC fetches the mp3 and then plays it on my sonos.

I was able to have VC scrape the Reuters News website and TTS the headlines to my sonos.  Actually I found the code in the forum and updated it.  Works well, but I would like the CBC version.

jitterjames

OK.  The fact that you wanted to play this on Sonos is kind of an important piece of information!

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.2.1-->
<command id="825" name="Play latest CBC  news" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Sonos.SetURI</cmdType>
    <params>
      <param>http://podcast.cbc.ca/mp3/hourlynews.mp3</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Play latest C.B.C.  news</phrase>
</command>

Darcy