Monthly Archives: October 2019

Filter Podcast Feeds

I’m an avid podcast listener and one of the most annoying things about podcasts is “rebroadcast” episodes and other atypical content slipped into the stream.

I’ve found myself hoping that one day my podcast app of choice (pocketcasts) would implement a filtering feature that would allow me to skip/auto-archive/hide episodes that match my specified keywords. But no.

Well, podcasts are distributed as simple RSS feeds. This means that if I could put a filtering agent in the middle of the RSS feed and my app, I can filter out episodes that I don’t want to listen to.

Well today I stumbled across https://siftrss.com/, which does exactly that.

So all I needed to do was:

  1. Find the RSS feed of a given podcast (I search the pocket casts directory with a Google Search like so: site:pca.st showname)
  2. Set up a filter for that feed on siftrss: I want to "include" items where the "title" "does not match regex" "/(Rebroadcast|Between the Scenes|ICYMI)/i"
  3. Generate the filtered feed (“Feed Me”)
  4. Use Pocket Casts to subscribe to the filtered feed (simply search in the discover section for the full URL of the filtered feed)

Finally!

Linux Drive Mounted as Read-Only

For if your Linux box has some drives that normally automatically mount fine, but suddenly one or more are in read-only mode.

This can happen because a common setting in fstab is “errors=remount-ro” which means that if there are any errors while mounting, remount it in read-only mode. Which is to help prevent data-loss.

To (try to) fix this, first, unmount the drive. Either with umount or by commenting out the appropriate line in fstab and rebooting, which I had to do because although I unmounted the drive, it claimed to still be in use.

Find your disk:

$ lsblk

Run some checks on the drive:

$ sudo fsck -f /dev/sdb1

and (if you have a lot of time)

$ sudo badblocks -nsv -b 4096 -c 65536 /dev/sdb

See this and this for more about the badblocks command above.

Hopefully those run smoothly.

Remount the drive, possibly by uncommenting the appropriate line in fstab and rebooting again.

Confirm the drive is mounted and writable.