Hi,
I've been using Rune audio for a few weeks now and I'm very happy with it.
However I tried to play podcasts recently and realized there didn't seem to be any obvious way to do it.
Have I overlooked something ?
Thanks in advance for your help.
by Pir » 04 Dec 2016, 15:19
by hondagx35 » 04 Dec 2016, 19:44
by Pir » 08 Dec 2016, 09:25
by Pir » 10 Dec 2016, 14:49
by hondagx35 » 10 Dec 2016, 15:01
#!/bin/bash
#output folder /var/lib/mpd/playlists
PLFOLDER="/var/lib/mpd/playlists"
#output type (pls or m3u)
PLTYPE="m3u"
cd /root/rss2pls/
#download rss feeds
while read p; do
echo "${p%;*}"
echo "${p##*;}"
wget "${p##*;}" -O "${p%;*}".rss
done <rssfeeds.txt
#convert rss feeds to playlist
shopt -s nullglob
for f in *.rss
do
filename=$(basename "$f")
#extension="${filename##*.}"
filename="${filename%.*}"
echo "Converting rss file - $f"
xsltproc -o "$PLFOLDER"/"$filename"."$PLTYPE" "$PLTYPE".xsl "$f"
done
by Pir » 11 Dec 2016, 20:09
support RuneAudio