Running PVR from Cron

Phil White manx.biz at googlemail.com
Sun Nov 24 08:39:06 EST 2013


Hi all

I have a gentoo setup here and run the PVR facility every night at 1am.

Sometimes, I am encountering a bug (I believe in rtmpdump, not
get_iplayer), which means the download never completes.

In an attempt to catch this, I have another script running at 7am to
kill any get_iplayer and rtmpdump process...
... Except that sometimes the darn thing just respawns and carries on as before.

Any advice on how I can handle this? How *should* I be calling the PVR
function, and killing off the resultant processes?

Thanks,

Phil

----

Technical details:
Watching what happens, it appears that the process is as follows:
get_iplayer will start to download a file.
At some point during the download, there will be an error (sorry, I
have lost the exact message), and an attempt will occur to renegotiate
a download. It is here that everything always goes wrong. CPU usage
goes up to 100%, and the process will continue to download data
ad-infinitum (which is a bugger, since I am on a restricted download
tarriff. I then have next-to-no internet for the rest of the month...)
I am not sure what causes the download error. I did suspect that it
might be my ISP giving me a new IP in the middle of a download -
however, I did notice that there are sometimes a specific file that
will always trigger the issue if I download it manually. If I notice
this, I just remove it from the PVR list, and download it manually a
few days later.

Oh, and is this a suitable point to beg if someone has downloaded
episode 4 of Orphan Black? I lost it as a result of this error...



More information about the get_iplayer mailing list