this post was submitted on 19 Aug 2023
21 points (95.7% liked)

Selfhosted

40444 readers
886 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I have a particular internet radio show that I like to listen to each week and I am looking for a solution to automatically begin recording at a specific time each week on a particular station for a specific amount of time so that I can listen to it when I'm unavailable at that time. It would also be nice to fast forward through the ads.

top 2 comments
sorted by: hot top controversial new old
[–] ReginaPhalange 14 points 1 year ago

Assuming a stable URL

ffmpeg -i "(stream url)" -t (length of recording in hh:mm:ss format ) -c copy "recording.m4a"

And you could time it weekly using cron jobs

[–] cyberpunk2350 6 points 1 year ago

Look into yt-dlp and ytdl-sub (linux) ytdl-sub basicly an text based interface for ytdlp can be used to help automate the process and is a little more human readable and easier configure.