GetIPlayer PVR not working from cron

C E Macfarlane c.e.macfarlane at macfh.co.uk
Mon Jun 22 13:01:59 PDT 2015


Until the last couple of days, I've been using GIP from the command-line,
logged in my NAS box.  This has worked very well, but the problem with it is
the need to keep a PC logged on overnight.  When this is the sole reason for
not hibernating the PC, it's wasteful, unecological, etc, so I have begun
investigating how to get the pvr functionality working.

I have successfully save three searches, one for each of HDTV, TV, Radio.
When I run the command logged in the NAS, it works, but when the same
command is put into crontab, it fails.  The command I gave initially was ...

	/opt/bin/perl /opt/share/get_iplayer/get_iplayer --pvr >/dev/null 2>&1

... and redirected the output into a log file showed that the error for
every attempted download of every match was, for example ...

	INFO: Checking existence of default version
	INFO:
flashvhigh1,flashvhigh2,flashhigh1,flashhigh2,flashstd1,flashstd2,flashlow1,
flashlow2 modes will be tried for version default
	INFO: Trying flashvhigh1 mode to record tv: The Many Faces of...: Series
3 - 2. Robbie Coltrane
	INFO: File name prefix = The_Many_Faces_of__-_03_02_Robbie_Coltrane
	WARNING: Your version of rtmpdump/flvstreamer does not support SWF
Verification
	WARNING: You may see this warning if rtmpdump has malfunctioned
	WARNING: Use --verbose to print the output from rtmpdump
	WARNING: rtmpdump/flvstreamer 1.8 or later is required - please upgrade
	WARNING: You may see this warning if rtmpdump has malfunctioned
	WARNING: Use --verbose to print the output from rtmpdump
	INFO: skipping flashvhigh1 mode
	INFO: Trying flashvhigh2 mode to record tv: The Many Faces of...: Series
3 - 2. Robbie Coltrane

... and so on down the many different possible versions.

This is obviously an incorrect error message, because when the same command
is given when logged in, it works fine.  Presuming that this is something to
do with access to the /root/.swfinfo file, I tried, without any change in
the output, copying this file into the same directory as rtmpdump, and next
adding command-line parameters as follows, all to no avail ...

	/opt/bin/perl /opt/share/get_iplayer/get_iplayer --rtmp-radio-opts
'--swfVfy /root/.swfinfo' --rtmp-tv-opts '--swfVfy /root/.swfinfo' --pvr
>/var/log/gip-pvr.log 2>&1

Any suggestions as to what to try next?

Regards,

www.macfh.co.uk/CEMH.html




More information about the get_iplayer mailing list