Package: podracer
Version: 1.3-1
Severity: normal
Tags: patch
If an RSS feed in the subscriptions file is redirected to an other
location, podracer does not follow this redirection and thus fails to
fetch the actual RSS XML file.
Example URL: http://leo.am/podcasts/twit
The problem can be fixed by supplying the "-L" option to "curl" when
the RSS files are fetched. See the patch below.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (800, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.26.vaio20041227
Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=ISO-8859-1)
Versions of packages podracer depends on:
ii bittorrent 3.4.2-6 Scatter-gather network file transf
ii curl 7.15.1-1 Get a file from an HTTP, HTTPS, FT
ii python 2.3.5-5 An interactive high-level object-o
ii screen 4.0.2-4.1 a terminal multiplexor with VT100/
ii timeout 1.11-6.2 Run a command with a time limit.
podracer recommends no packages.
-- no debconf information
diff -uNr podracer-1.3-orig/podracer podracer-1.3/podracer
--- podracer-1.3-orig/podracer 2006-02-15 18:29:27.000000000 +0100
+++ podracer-1.3/podracer 2006-02-15 18:30:02.000000000 +0100
@@ -133,7 +133,7 @@
while read podcast feeddir
do
test -z "$feeddir" -o -d "$poddir/$feeddir" || mkdir -p
"$poddir/$feeddir"
- file=$(curl -A "$longname" -s $podcast | tr '\r' '\n' | tr \' \" | sed
-n 's/.*url="\([^"]*\)".*/\1/p' | sed 's/&/&/g')
+ file=$(curl -L -A "$longname" -s $podcast | tr '\r' '\n' | tr \' \" |
sed -n 's/.*url="\([^"]*\)".*/\1/p' | sed 's/&/&/g')
for url in $file
do