YouTube video to Audio Podcast in Overcast?

question

#1

Is this possible? I would love to be able to click a button and have a YT video in my Overcast queue


#2

If you can download the YouTube video to an audio file (there used to be several Workflow workflows that did this over the years), and store that, then you might be able to upload it to Overcast as a paid subscriber to the app/service.

In the past I’ve certainly hosted some other audio files myself and the used Huffduffer to podcast enable them, and I’m subscribed to my Huffduffer feed in Overcast so that’s an alternative. I also used to use Workflow to add content to my Huffduffer feed.

What I’m not sure of is how easy it is to save off the YouTube audio … and I expect that is at the very least a grey area legally in terms of downloading the content; so I’m not going any further than hypothetical on this. But along those lines, I think the reason the viable YouTube download workflows kept changing was because there were changes YouTube were making to counter people venturing into said grey area.


#3

I’ve had spotty success with this and no longer use it but, Podsync does exactly what you’re describing.


#4

The real tricky part (for me) is automating the upload to Overcast. If anybody knows how to do that, feel free to share. I’m sure there’s a way to get Keyboard Maestro to do it, but I’m not well-versed enough in KM to manage it. (I’ve tried.)


#5

@tonycraine If you’re on iOS isn’t there an Add to overcast action for Shortcuts/Workflow that takes in a URL?


#6

So there is! I had no idea. Of course, I don’t know Shortcuts any better than I know KM, but maybe this is the project that gets me going on it.

But can that upload a file to my upload space on Overcast, or does it just add the URL as a feed? I need the former.


#7

From podsync Patreon page

You will get access to goal features:

  • Quality selection (high/low)
  • Pagination (50, 100 or 150)
  • Audio feeds (please note: this feature is experimental and may not work for some cases)

note: Overcast is not supported at the moment


#8

I have a premium Overcast subscription and have used Huffduffer in the past but it seems to be broken now with the workflow I was using


#9

I’ve been playing around with this and I’ve come up with a solution that works.

https://www.icloud.com/shortcuts/afee9db0be824b1ab03f88cb6fa1f4f0

This shortcut does the following:

  1. Accepts a YouTube video URL
  2. Downloads the video and extracts the audio
  3. Saves the audio to Files
  4. Opens Overcast.fm for you to upload the file
  5. Deletes the file from Files upon your return

It’s not completely hands-off, but it does work pretty well.

I can’t take full credit for this as it’s an amalgamation of a few different Shortcuts. Unfortunately I didn’t make a note of the creators of those Shortcuts when I downloaded them, so apologies to the actual creators!


YouTube audio to Overcast
#10

I got something working “automagically”, although it requires a bit of orchestration. I am working on some sort of screencast to illustrate it better but it goes as follows:

  • While in YouTube (Safari) I open the share sheet and run a Siri shortcut.
  • This Siri shortcut takes the url and saves it as a file in my dropbox account.
  • My Mac then, using a Hazel rule detects the change and runs a command that takes the file, downloads the video and extracts the audio as an mp3; after this is done, the same script deletes the txt file and moves the mp3 file to a different folder.
  • A second Hazel rule monitors the destination folder and uploads the mp3 file to my server. Once the file is uploaded, it gets deleted from Dropbox.
  • In that server, I have a PHP file that when requested renders an RSS feed with all the mp3 files on that folder.
  • Overcast after sometime will catch the new item in the RSS feed and I’ll be able to listen to it.

Dependencies / Asumptions:

  • My Mac at home is always on, so it will catch those files as soon as they come.
  • Hazel is not free, but I already have a license.
  • Some command line tools are required for the job, youtube-dl and ffmpeg. Both can be easily installed with Homebrew.
  • I have a server I use for some other tasks with PHP.

#11

Make a few tweaks to make this Shortcut work with Castro’s side load feature. Here are the changes I made:

  1. Changed the name of the folder created from Overcast to Castro.
  2. Set a variable for for the file saved in /Shortcuts/Castro as holding file.
  3. Open a save dialogue to save the just created file in a second location. To be saved in the /Castro/Sideloads. (Couldn’t come up with another way to set the file name)
  4. Delete the file saved in #2. (No need to duplicate, right?)

https://www.icloud.com/shortcuts/3e9d39a065a04e7787d046aa219a40da

Thanks for the jumping off point!