Is this possible? I would love to be able to click a button and have a YT video in my Overcast queue
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.
I’ve had spotty success with this and no longer use it but, Podsync does exactly what you’re describing.
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.)
@tonycraine If you’re on iOS isn’t there an Add to overcast action for Shortcuts/Workflow that takes in a URL?
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.
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
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
I’ve been playing around with this and I’ve come up with a solution that works.
This shortcut does the following:
- Accepts a YouTube video URL
- Downloads the video and extracts the audio
- Saves the audio to Files
- Opens Overcast.fm for you to upload the file
- 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
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.
Make a few tweaks to make this Shortcut work with Castro’s side load feature. Here are the changes I made:
- Changed the name of the folder created from Overcast to Castro.
- Set a variable for for the file saved in /Shortcuts/Castro as holding file.
- 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)
- Delete the file saved in #2. (No need to duplicate, right?)
Thanks for the jumping off point!
I’ve been using JustCast - https://justcast.herokuapp.com - once I set it up and subscribed to the feed, I can save an audio file to a dropbox folder and it gets pulled into Overcast.
I made a python script that checks my youtube watch later, downloads new videos as an mp3 and then updates an RSS feed. It hosts the rss and the mp3 files on Dropbox so its free to use. If anyone is keen I can make it publically accessible.
Yes I would love to see that one
Yeah, I would love to see that, thx!