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
146 stars 26 forks source link

STV - subtitles, metadata, thumbnail and bulk queuing of programmes #443

Closed jefro108 closed 1 year ago

jefro108 commented 1 year ago

Great that you've implemented STV downloads. I'm looking forward to caching! Using the latest version v1.25.0 on Monterey 12.6.1

Until you'd done that I experimented with yt-dlp and discovered that the standard subtitles for some programmes are .dfxp which won't get embedded in the mp4 with ffmpeg - so with Vera (https://player.stv.tv/summary/vera) that's an issue.

To download in a batch with yt-dlp I used Link Klipper Chrome Extension https://chrome.google.com/webstore/detail/link-klipper-extract-all/fahollcgofmpnehocdgofnhkkchiekoo to create a text file with a list of all the links from https://player.stv.tv/summary/vera selecting only those that contained 'episode' (with regex .*episode.*). So my yt-dlp command was

yt-dlp --write-sub --sub-format dfxp --convert-subtitles srt --embed-subs --add-metadata --embed-metadata --embed-thumbnail -a vera.txt

It worked even with subtitles that weren't dfxp and converted them ready for ffmpeg to srt - it also added the STV metadata and the thumbnail. Sorry I don't know how to create a Pull Request to help you (and unfortunately I couldn't automate the kodi naming I use).

skovatch commented 1 year ago

Thanks, the subtitle information is helpful! I freely admit that I don't use that feature, so it tends to not get tested as thoroughly as it should.

In the past I was using --embed-metadata for ITV downloads, but it didn't do a good job of capturing the relevant fields in a format that was consistent with get_iplayer for BBC. I can try it again, though.

David1494 commented 1 year ago

Thank you for all your efforts. I am frustrated, as I know you all are, at the changes to the ITV hub. I notice references in these notes to still being able to download STV programs. But STV is not present in the Download formats in Preferences. How do I make STV programs downloadable? I am on a MAC 12.6.3 Monterey.

Screen Shot 2023-03-25 at 11 50 28 AM Screen Shot 2023-03-25 at 11 50 16 AM
skovatch commented 1 year ago

STV shows can be added via the Use Current Webpage button. Go to the episode page in your browser and then click the button to add it to the queue. The STV/ITV Maximum Resolution popup will get the highest available resolution up to the value in the popup. Once we get ITV back when youtube-dl/yt-dlp update it will apply there as well, though you should only expect SD resolution at best with ITV.

skovatch commented 1 year ago

STV subtitles should now be fixed in 1.25.3, so I will close this bug.

David1494 commented 7 months ago

Will this end it for GetiPlayer Automator?

https://www.express.co.uk/life-style/science-technology/1865709/BBC-iPlayer-block-Windows-MacBook-PCs BBC iPlayer block will stop you watching on popular devices - check the list now express.co.uk Thanks David L

On Jun 4, 2023, at 3:09 PM, Scott Kovatch @.***> wrote:

Closed #443 https://github.com/Ascoware/get-iplayer-automator/issues/443 as completed.

— Reply to this email directly, view it on GitHub https://github.com/Ascoware/get-iplayer-automator/issues/443#event-9425615985, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6XOVO3QAMIII4HDOVULP23XJTMOPANCNFSM6AAAAAAT52CDRA. You are receiving this because you commented.

skovatch commented 7 months ago

Will this end it for GetiPlayer Automator? https://www.express.co.uk/life-style/science-technology/1865709/BBC-iPlayer-block-Windows-MacBook-PCs

Probably not. From that article it sounds like they are only discontinuing their desktop apps, which had the ability to save downloads for later viewing. The fact that mobile apps will still work leads me to believe that get_iplayer will continue to be able to download streams and save the output, just like it does now.

David1494 commented 7 months ago

Super, thanks, and thanks again for your work in this. My wife would be lost without her BBC programs since we moved to Canada! David L

On Feb 12, 2024, at 11:56 AM, Scott Kovatch @.***> wrote:

Will this end it for GetiPlayer Automator? https://www.express.co.uk/life-style/science-technology/1865709/BBC-iPlayer-block-Windows-MacBook-PCshttps://www.express.co.uk/life-style/science-technology/1865709/BBC-iPlayer-block-Windows-MacBook-PCs%EF%BF%BC Probably not. From that article it sounds like they are only discontinuing their desktop apps, which had the ability to save downloads for later viewing. The fact that mobile apps will still work leads me to believe that get_iplayer will continue to be able to download streams and save the output, just like it does now.

— Reply to this email directly, view it on GitHub https://github.com/Ascoware/get-iplayer-automator/issues/443#issuecomment-1939143415, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6XOVO5LYBKBYILSMAWVYG3YTJCTVAVCNFSM6AAAAAAT52CDRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZZGE2DGNBRGU. You are receiving this because you commented.