2010-09-05, 16:31
I thought I'd share this with with other Podcast enthusiasts.
I use GPodder for my podcatching requirements. I have set it up as follows.
1/ set up GPodder
Install Gpodder on your XBMC machine
or via package manager in Ubuntu if you are running a window manager
If you have a window manager installed on your XBMC machine, use that LOGGED IN AS YOUR XBMC USER to fire up the GPodder GUI app
If you don't (i.e you are running a really minimal installation like me; use SSH to forward X11 to your client machine e.g.
and then start gpodder on the remote machine
Select at least one podcast to subscribe to and then retrieve it and close down the app.
This creates the necessary folder and entries for GPodder to get started with your user.
You can use the Gui interface add further subscriptions etc to your xbmc server. You will find a new folder called 'gpodder-downloads' in your xbmc user home folder.
2/ Link XBMC to Gpodder
Simply add the new gpodder-downloads directory as a source in your music section (and/or video) of XBMC. The .m3u file you'll see is a link to the current podcast, or you traverse down the folder list to see any previous entries
3/ Auto update your podcasts
Here's the best bit. Gpodder comes with a CLI program named 'gpo'. SSH into your box as your xbmc user or open a terminal on the device itself. Type
to get a list of available commands
The ones we are interested in are the update and download commands.
You now create a crontab for your xbmc user. There are plenty of guides on creating crontabs so I don't intend repeating them, save to say you need to create a file called /etc/cron.allow (you'll need to use sudo for this e.g.)
and enter a single line with the name of your xbmc user in it.
Then use
(nb no sudo), to edit the cron table for your xbmc user. My entry looks like the following
change the refrence to you xbmc user home directory as necessary.
Now create the log file directory (assuming you are in your xbmc user home directory)
Bingo - you now have an auto updating podcatcher. The additional benefit is that you control contents via the Gpodder Gui or via the command line. Now, if someone can just show me how to write an addon, I'd really like to front end this so that gpodder can be controlled from XBMC. Perfect.
I use GPodder for my podcatching requirements. I have set it up as follows.
1/ set up GPodder
Install Gpodder on your XBMC machine
Code:
sudo apt-get install gpodder
If you have a window manager installed on your XBMC machine, use that LOGGED IN AS YOUR XBMC USER to fire up the GPodder GUI app
If you don't (i.e you are running a really minimal installation like me; use SSH to forward X11 to your client machine e.g.
Code:
ssh -X -l xbmc xbmc
and then start gpodder on the remote machine
Code:
gpodder
This creates the necessary folder and entries for GPodder to get started with your user.
You can use the Gui interface add further subscriptions etc to your xbmc server. You will find a new folder called 'gpodder-downloads' in your xbmc user home folder.
2/ Link XBMC to Gpodder
Simply add the new gpodder-downloads directory as a source in your music section (and/or video) of XBMC. The .m3u file you'll see is a link to the current podcast, or you traverse down the folder list to see any previous entries
3/ Auto update your podcasts
Here's the best bit. Gpodder comes with a CLI program named 'gpo'. SSH into your box as your xbmc user or open a terminal on the device itself. Type
Code:
gpo
The ones we are interested in are the update and download commands.
You now create a crontab for your xbmc user. There are plenty of guides on creating crontabs so I don't intend repeating them, save to say you need to create a file called /etc/cron.allow (you'll need to use sudo for this e.g.)
Code:
sudo nano /etc/cron.allow
and enter a single line with the name of your xbmc user in it.
Then use
Code:
crontab -e
(nb no sudo), to edit the cron table for your xbmc user. My entry looks like the following
Code:
MAILTO=ashley@<mymaildomain>
#run at half past every hour
30 */1 * * * /usr/bin/gpo update; /usr/bin/gpo download >>/home/xbmc/cronlog/xbmc.cron.log
Now create the log file directory (assuming you are in your xbmc user home directory)
Code:
mkdir cronlog
Bingo - you now have an auto updating podcatcher. The additional benefit is that you control contents via the Gpodder Gui or via the command line. Now, if someone can just show me how to write an addon, I'd really like to front end this so that gpodder can be controlled from XBMC. Perfect.