Automatically handling split films

Moderator: justinh

Post Reply
Posts: 8
Joined: Sat Oct 17, 2020 5:38 pm
Great Britain

Automatically handling split films

Post by damion2 » Sat Nov 14, 2020 1:07 am

A number of the minor channels (random examples: Paramount, ITV4, channel 5), divide feature films with a 5 minute alternative broadcast where you'd normally expect the adverts. This has bitten me many times, the worst case being if I don't notice until the film cuts out half way through when watching it.

I try to remember if it's one of these channels and double check the duration when requesting a record. If it's under 90 mins, I realise it's one of these situations. I address this by checking the end point of the second half, so I know how much significant padding needs to be added at the end of the earlier initial recording so the film is in one file.

However I don't always remember to check. I also believe this should be fixable via some automation so none of us have to do similar again.

I can't see any current threads discussing this but perhaps it's come up years ago. Does any one have any thoughts?

- Damion

Posts: 294
Joined: Sun May 11, 2014 6:23 pm
Great Britain

Re: Automatically handling split films

Post by PhilB » Sun Apr 03, 2022 12:00 pm

I was really intrigued by this and took it as a challenge! A system event at start of recording and a perl script to check the schedule and trigger part 2 of a film does it! Help texts, logging and testing took a bit longer.
I'm running v31 but it should work with 0.28 onward.
Would you (or anyone!) like to beta test the result?
Put the script into /usr/local/bin/
sudo chmod 755 /usr/local/bin/ --help
That should tell you how to proceed. Comments invited.
Apart from ITV2, ITV4 and the GREAT (ex Sony) channels, are there any others?

Post Reply