Introducing GreaseMonkey Script connecting BBC's iPlayer to Web PVR Manager
#1
Introducing get_iplayer helper beta.

As a long term user of get_player I'd grown a little tired of browsing the BBC's iPlayer site, copying a interesting show's title or URL,  switching to the Web PVR page, pasting the name into the search box, and again into the recording directory box, then finally clicking on Queue button - too many clicks!

So I wrote a greasemonkey script to do it for me.

[Image: https://imgur.com/xQcGh04]

For every show on iPlayer site the script injects 2 pink buttons - the one on the left adds that show's URL to the Quick URL list (you can then just close that new tab), the one on the right performs a get_iplayer name search (you can click to record series etc as normal). In both cases the show's name is appended to the recording directory.
Once you're done just start the 'Run PVR'

I also added a more or less persistent 'sort' method to the BBC's category listings - that always annoyed me that I had to click down to 'most recent' each time I switched categories.

I posted the script to Greasy Fork, but it's not publically available yet, so you'll need to follow the link below.

First, if you don't already have a userscript manager installed on your browser you need to visit:
https://tampermonkey.net/ or other vendor.

Once that's done, head over to

https://greasyfork.org/en/scripts/376954...yer-helper and install the script.

You'll likely then want to edit the script to tell it where to record the files ( click on the tampermonkey icon in the right of your browser bar, select Dashboard, then the edit icon on the right of the 'get_iplayer helper' line). Search the script for 'EDIT AND ENABLE THIS TO RECORD IN A CUSTOM DIRECTORY', remove the '//' from the beginning of the line and enter your recording directory. All shows will record into their own folders under this directory.   You may wish to enable the 'fps25' line further down too.  Click 'File' then  'Save'.


I wrote this on Windows 10 / Chrome / Tampermonkey and haven't tested it wildly on other setups, so there may be issues, which I will try and address in this forum.  Also, this is my very first Greasemonkey script so I may not have done everything in the most efficient manner.


There are a few quirks. One is that the  BBC page lays out, then performs some other loads, and only then does the script fire, so you may need to wait a few seconds for the pink boxes to appear.

I hope this makes things easier.  I'm open to recommendations, bugs, whatevers.

Enjoy
#2
Replies to: https://greasyfork.org/en/forum/


Possibly Related Threads...
Thread Author Replies Views Last Post
  BBC 'Look East' Video Downloaded in Script Only LizMac42 1 1,257 25-08-2017, 11:02 AM
Last Post: dinky