Ascoware / get-iplayer-automator

The goal of Get iPlayer Automator is to allow iTunes and your Mac to become the hub for your British Television experience regardless of where in the world you are. Currently, Get iPlayer Automator allows you to download and watch BBC and ITV shows on your Mac. Series-Link/PVR functionality ensures you will never miss your favourite shows. Programmes are fully tagged and added to iTunes automatically upon completion. It is simple and easy to use, and runs on any machine running Mac OS X 10.7 or later. And since the shows are in iTunes, it is extremely easy to transfer them to your iPod, iPhone, or Apple TV allowing you to enjoy your shows on the go or on your television.
GNU General Public License v3.0
144 stars 27 forks source link

Using Applescript: Not automatically starting downloads #436

Open IanFrost opened 1 year ago

IanFrost commented 1 year ago

On a Mac using Ventura.

I am using AppleScript to "Download available shows". This creates a list of programs in the download queue, but they do not automatically start downloading.

All works fine if I manually hit "start".

Any suggestions? Any way to automatically hit "start"?

raythw commented 5 months ago

Since the application doesn’t have the necessary scripting elements in its dictionary this can't be done directly. You might be able to find a scripting addition somewhere (which may not work anyway if not on an Intel machine) that could 'push' the button at the required location on the screen, should it be in the right place. Personally, I'd give up at this point, unless the creators of the application wish to expand AppleScript support, which is unlikely, there being more important things to do and with AppleScript is considered obsolescent by Apple...

skovatch commented 5 months ago

This should work correctly. I wrote a simple script

tell application "Get iPlayer Automator"
    download available shows
end tell

and it updated the cache, ran through the PVR list, and started downloads. However, I noticed that I have 'Add Available Series-Link Programs to queue at startup' checked. Without that the PVR search doesn't happen. That doesn't sound like your problem, though.

Can you turn on Verbose mode in the settings, run the script again, and upload the result?