If there’s time left at the end of a podcast I’ve listened to, I skip to the end of the recording, marking the episode for removal from my device. I’ve done this often enough to make scripting a solution worthwhile. Here’s my solution:
This AppleScript will take whatever track is playing and skip to 3 seconds before the end of the track, ensuring the session is marked as played. The script will work with music, audiobooks, videos, and podcasts; since I’m particularly interested in ending podcasts, I can use the script to ensure the removal of played files and free space for new ones.