A tool for quickly adding the backlog of a podcast to mpc.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
if [ "$#" -eq 1 ]; then
|
|
curl $1|grep "<enclosure url"|cut -d'"' -f2|mpc add
|
|
else
|
|
echo "Usage: $0 linktorss" >&2
|
|
exit 1
|
|
fi
|
|
|