Added README and main oneliner that does what I want

master
Silverwizard 8 years ago
parent 4aeba46bde
commit 0724ac264c
  1. 12
      README.md
  2. 7
      pod2mpd.bk

@ -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.

@ -0,0 +1,7 @@
#!/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
Loading…
Cancel
Save