Be Among the 20% of the Best!

Sandisk Sansa Clip+ + podcasts + gPodder

| comments

Hello everybody!

Update on 2013-05-18: I have updated the script to work with gPodder 3! Please refer to this post for more information.

Update on 2013-03-02: It turned out that the new gPodder 3.0+ doesn’t support the cmd_download_complete option that is used in this article. It’s been replaced with extensions: I haven’t looked at it yet, so for now you’ll need gPodder 2.* for this script to work.

I’ve been using a Sandisk Sansa Clip+ 4GB player for a few months now. It’s an excellent player for podcasts. It is definitely a bang for the buck. A big advantage is that it saves the position of each podcast when you switch to another one.

The player has a menu item called Podcasts, where it places all recognized podcasts from the internal memory. When I first uploaded podcasts to the device, I wasn’t very happy because podcasts’ tags are filled differently. The player builds the list based on the Artist field, and the second level is the Title tag. I wanted to use the menu correctly, so I had to create a script to fix the tags.

Git repository with the script is available here: You can clone it or just download the script by pressing the Download button on that page. So, you’ve downloaded and unpacked it. Let’s assume you’ve placed it to your ~/bin/ directory. How to run it?

You need to install Python 3 and a package called stagger ( first.

Luckily, gPodder supports running a custom script after downloading a podcast. We’ll use the feature. Actually, the script can’t be run outside of gPodder. In gPodder go to Preferences, then push the “Edit config” button. There is a field named “cmd_download_complete”, which specifies a command being run after downloading a file. Insert the path and filename of the script to that field. Here is a screenshot:

In my case, the script is sitting in the directory bin/fixtags/ in my home directory. Save the config. Now the script should work.

NB! The script processes the podcasts it knows only! That is, the ones I added support for. If you listen to other podcasts, you will have to update the script.

That’s all. Feel free to ask any specializing questions.

linux, podcasts

Don't hesitate to leave a comment below. NB! If you don't see a comment form under the post, it's most likely that an extension (such as Ghostery, NoScript, or AdBlock) of your browser blocks the scripts from, and you can unblock that.

« Bash: how to fix ";5D" issue The Blog is Back! »