I made an Overcast Upload shortcut that does a few things:
• Running the shortcut directly to launch the iCloud drive file picker for audio files (single or multiple selection)
• Running as a share sheet target for an audio file in any app
• Running as a share sheet target for a YouTube video (will download and convert the video to audio in the shortcut)
It’s incorporates some previous work I found on these forums as well as my own work to make it a single tap and I wanted to post my additions. (YouTube audio to Overcast)
I’m hoping that Marco will add this to Overcast directly, but in the meantime, this is great to have.
At the risk of seeming ungrateful or greedy, could you explain how to do this in a shell script? I’d love to be able to automate uploading to Overcast from my Mac.
I tried looking at the code but it kind of lost me. I’m fairly sure that curl can do what you’re doing in the shortcut, but it looks like a multi-step process? First you have to login and then get some kind of token?
Any help would be appreciated.
UPDATE #1
Hey! I found a shell script on GitHub that seems to do exactly what I was asking for. I’d looked before but hadn’t found it, but I’m glad I double-checked.
UPDATE #2
Unfortunately it seems to end with an error, so it doesn’t actually work
Yeah, I actually wrote this as a shell script using curl to prototype it and then converted it to Shortcuts. I’d be happy to dig up those files, but I’ll need to take a bit of time to clean them up by removing all my personal data.
I added overcast-upload.sh to my repo. I ended up borrowing some of the logic from the repo you linked, but I tried to clean it up to make it more readable. Let me know if that works for you.
Thank you! I really appreciate it. I’ve got a Mac that automatically records some podcasts when they record live, so being able to send them right to Overcast after they are over will be great!
I made a small improvement (imho): I added two import questions so you are prompted to enter your Overcast.fm account credentials right away and do not have to search for the right text fields in the action list https://www.icloud.com/shortcuts/da5379f23c4245dabba208203c24283b
Edit: Thanks for creating the Shortcut btw. It was exactly what I needed!
Is it still working? I’m getting “I couldn’t fetch the uploads page. Check and make sure your overcast.fm email and password are correct.” I’ve entered my email and password in text fields within the shortcut and have a premium overcast account.