parent
4aeba46bde
commit
0724ac264c
@ -1,2 +1,10 @@ |
|||||||
# pod2mpd |
pod2mpd |
||||||
Add a whole podcast to an MPD server via mpc |
------ |
||||||
|
|
||||||
|
# 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…
Reference in new issue