Hi Robert:

On 7/23/05, Robert Citek <[EMAIL PROTECTED]> wrote:
> 
> How does one listen to a podcast under Linux?
> 
> On the mailing list for our neighborhood association someone posted
> the link to a podcast for Mayor Slays office:
> 
>    http://www.mayorslay.com/podcasts/podcasts.xml

> How does one do the same under Linux?  What program does one use?
> Are there any programs on Knoppix that can play a podcast?

This is actual an interesting problem. I did some looking in to it and
found these resources.

This is probably the easiest solution but I did not try it:
iPodder is a Python utility available for Linux, Windows and Mac OS X
http://ipodder.sourceforge.net/index.php


The other solution is a Bourne shell script that uses wget and Mplayer
from here:

http://lists.freebsd.org/pipermail/freebsd-ports/2005-June/024382.html

it uses this:
#!/bin/sh
#Put your favourite podcast links into pod.conf
rm -f playlist.pod
while read podcast
        do
        file=$(wget -q $podcast -O - | tr '\r' '\n' | tr \' \" | sed -n
's/.*url="\([^"]*\)".*/\1/p')
        for url in $file
                do
                echo $url >> playlist.pod
                done
        done < pod.conf
mplayer -playlist playlist.pod

I tried to get it to work but I can't figure out what to feed it. I
also don't understand the use of charcater transpose (tr). I wonder
why they use that?  Anyway it is interesting to fiddle with.

_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/

Reply via email to