Alec the Geek

Reflections on software and related things from an older geek

Handy Hack: Pass podcasts from Liferea to Rhythmbox

Posted by Alec The Geek on 18 July 2010

I’ve started using a plain RSS reader (Liferea) to subscribe to podcasts. It’s nice to have my feeds in one interface. I’ve written s small script to hand the RSS enclosures to Rhythmbox (just supply the name of the script when prompted by Liferea)

#!/bin/sh

for i in "$@" ; do
	if test -f $i ; then
		/usr/bin/rhythmbox-client  --play-uri=file://$(cd $(dirname $i) ;  ls -1 $(pwd)/$(basename $i))
	else
		/usr/bin/rhythmbox-client  --play-uri=$i
	fi
done

Suggestions for improvement welcome

About these ads

3 Responses to “Handy Hack: Pass podcasts from Liferea to Rhythmbox”

  1. Nice way of integration. Do you mind if I repost this in the Liferea blog?

Sorry, the comment form is closed at this time.

 
Follow

Get every new post delivered to your Inbox.

Join 272 other followers

%d bloggers like this: