Play podcasts ?

General discussion about RuneAudio. Do not post any support or feature requests here.

Play podcasts ?

Postby Pir » 04 Dec 2016, 15:19

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.
Pir
 
Posts: 4
Joined: 04 Dec 2016, 15:14

Re: Play podcasts ?

Postby hondagx35 » 04 Dec 2016, 19:44

Hi Pir,

playing single podcasts is possible with RuneAudio.

You have to enter the streaming URL for that single podcast as webradio.

Playing podcasts from a RSS feed is not possible at the moment.
I did some tests with "rss2m3u" and it works great.
We have to see if it is possible to implement this feature in the future.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Play podcasts ?

Postby Pir » 08 Dec 2016, 09:25

Hi Frank,

Thanks for the suggestion. I'm indeed looking for a solution for RSS feeds (my friend will be playing podcasts and doesn't want to have to extract urls manually every time).

What is you "workflow" with this bash script ? Can it be installed and run on the same machine running Rune Audio (a RPi in my case) ?

Thanks in advance,

Pir.
Pir
 
Posts: 4
Joined: 04 Dec 2016, 15:14

Re: Play podcasts ?

Postby Pir » 10 Dec 2016, 14:49

Hi,

I figured out how to ssh into my RPi, and downloaded the bash script from github.
It generates pls and m3u files all right, but I have no clue how to get Rune Audio to play them.
Adding them to /mnt/MPD/Webradio fails because Rune can apparently only read a single item in each list, and the playlists I get from the rss feeds have more than one.

I also saw that there was a /mnt/MPD/Podcast folder, but I don't know how to access it from RuneUI.

Finally I thought about storing the playlists on an attached USB drive, but USB drives are named in the /mnt/MPD/USB folder. Is there a way to access the only USB drive currently mounted (I'll only use one at a time) in Arch Linux ?

Thanks in advance for your help.
Pir
 
Posts: 4
Joined: 04 Dec 2016, 15:14

Re: Play podcasts ?

Postby hondagx35 » 10 Dec 2016, 15:01

Hi Pir,

the only way to play these podcast streams is to save them in the playlist folder.

Code: Select all
#!/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


Navigate to the queue and load the playlist you want listen to.

Not very elegant, but it works.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Play podcasts ?

Postby Pir » 11 Dec 2016, 20:09

Thank you for your help, that works.
Now I'm trying to update the feeds automatically on reboot with crontab, but that's another story...
Pir
 
Posts: 4
Joined: 04 Dec 2016, 15:14

support RuneAudio Donate with PayPal


Return to General discussion

Who is online

Users browsing this forum: No registered users and 4 guests