Blog

Ye ole typewriter.

My Raspberry Pi based VCR with RSS, youtube-dl and svtplay-dl

VCRSS is a ruby script I wrote that automatically downloads videos my kids like from SVT Play using svtplay-dl and from YouTube using youtube-dl.

Get it on GitHub: persand/vcrss

How to use it

The project README will guide you.

How I use it

The git repo is cloned to one of my Raspberry Pis. On that I have one cron job that runs vcrss.rb every 10th minute and another cron job that moves the video files to the proper locations on the family NAS.

Some of my config.yml:

1
2
3
4
5
6
7
8
9
10
11
12
13
feeds:
  - url: "https://www.youtube.com/feeds/videos.xml?channel_id=UCvpNIQlTMpDfR8kv9Z64f5g"
    filters:
      - "Babblarna"
  - url: "http://www.svtplay.se/greta-gris/rss.xml"
    binary: "svtplay-dl"
    options: " -f -S -o 'downloads/'"
  - url: "http://www.svtplay.se/andys-dinosaurieaventyr/rss.xml"
    binary: "svtplay-dl"
    options: " -f -S -o 'downloads/'"
  - url: "http://www.svtplay.se/hej-jycke/rss.xml"
    binary: "svtplay-dl"
    options: " -f -S -o 'downloads/'"

That’s all. Happy downloading!