A basic Python script that allows automatic scrobbling your Overcast listening history.
- Python (well, duh)
- requests, opml
- The login data for your overcast.fm account
- Your Lastcast.fm API token (found in account settings)
Simply call the script with your login data for overcast.fm and the Lastcast.fm API token as parameters:
python scrobble_overcast.py overcastuser overcastpassword lastcastapitoken
The script will create two cache files in the current directory to perform more efficiently on subsequent runs. I wish there was a way to do this without using the actual login credentials, but as far as I know Overcast does not have an API or access tokens or something similar.
I'm only a Python hobbyist – happily will accept PRs to make the code more pythonic (or improve it in any other way – this thing has been doing its job quite well for months, but it's still more of a POC than a polished scrobbler).