From 0724ac264cb5d00cb006a1d25fe8c55a85a00638 Mon Sep 17 00:00:00 2001 From: Silverwizard Date: Sun, 17 Jan 2016 21:30:51 -0500 Subject: [PATCH] Added README and main oneliner that does what I want --- README.md | 12 ++++++++++-- pod2mpd.bk | 7 +++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100755 pod2mpd.bk diff --git a/README.md b/README.md index bbfa254..8036a6e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ -# pod2mpd -Add a whole podcast to an MPD server via mpc +pod2mpd +------ + +# Requirements +[mpc](http://www.musicpd.org/clients/mpc/) +Any shell + +#Useage + +Simply run "pod2mpd [link to RSS feed]" this will add a link to all of the items in the RSS feed to the MPD playlist. diff --git a/pod2mpd.bk b/pod2mpd.bk new file mode 100755 index 0000000..89cf080 --- /dev/null +++ b/pod2mpd.bk @@ -0,0 +1,7 @@ +#!/bin/sh +if [ "$#" -eq 1 ]; then + curl $1|grep "&2 + exit 1 +fi