These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Cannot refresh cache because CLI not updated along with Web PVR

user-1990

Hi,

I have just tried to upgrade the PVR to the latest MacOS version 3.13
When running the page http://127.0.0.1:1935/ it shows a footer with latest version ID:
get_iplayer Web PVR Manager v3.13, ©2009-2010 Phil Lewis - Licensed under GPLv3

However, when I check the version number in Terminal I get the attached v3.07
First command checks this is not a homebrew installation. Mac running latest 10.13.4
Code:
iMac:~ imac$ brew help
-bash: brew: command not found
iMac:~ imac$ get_iplayer -V
[b]get_iplayer v3.07[/b], Copyright (C) 2008-2010 Phil Lewis
 This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
 This is free software, and you are welcome to redistribute it under certain
 conditions; use --conditions for details.

iMac:~ imac$  curl -kLO https://raw.github.com/get-iplayer/get_iplayer/master/get_iplayer.cgi
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  131k  100  131k    0     0  77309      0  0:00:01  0:00:01 --:--:--  331k
iMac:~ imac$  sudo install -m 755 ./get_iplayer.cgi /usr/local/bin
Password: [ENTERED SUCCESSFULLY]
iMac:~ imac$  get_iplayer.cgi --listen 127.0.0.1 --port 1935
INFO: Listening on 127.0.0.1:1935
GET: /
DEBUG: get_iplayer options: "fields=name" "search=.*" "type=tv" "refreshfuture=1" "hide=0" "thumb=0" "subtitles=0" "skipdeleted=0" "channel=BBC Four,BBC One,BBC Two,BBC Three,CBBC" "history=0" "force=0" "future=1" "nopurge=1" "listformat=ENTRY|<index>|<thumbnail>|<pid>|<available>|<expires>|<type>|<name>|<episode>|<versions>|<duration>|<desc>|<channel>|<categories>|<timeadded>|<guidance>|<web>|<seriesnum>|<episodenum>|<filename>|<mode>" "page=1" "pagesize=100" "sortreverse=1" "sortmatches=timeadded"
INFO: Command: /usr/local/bin/get_iplayer --encoding-locale=UTF-8 --encoding-console-out=UTF-8 --nocopyright --expiry=999999999 --webrequest fields%3Dname?search%3D.%2A?type%3Dtv?refreshfuture%3D1?hide%3D0?thumb%3D0?subtitles%3D0?skipdeleted%3D0?channel%3DBBC%20Four%2CBBC%20One%2CBBC%20Two%2CBBC%20Three%2CCBBC?history%3D0?force%3D0?future%3D1?nopurge%3D1?listformat%3DENTRY%7C%3Cindex%3E%7C%3Cthumbnail%3E%7C%3Cpid%3E%7C%3Cavailable%3E%7C%3Cexpires%3E%7C%3Ctype%3E%7C%3Cname%3E%7C%3Cepisode%3E%7C%3Cversions%3E%7C%3Cduration%3E%7C%3Cdesc%3E%7C%3Cchannel%3E%7C%3Ccategories%3E%7C%3Ctimeadded%3E%7C%3Cguidance%3E%7C%3Cweb%3E%7C%3Cseriesnum%3E%7C%3Cepisodenum%3E%7C%3Cfilename%3E%7C%3Cmode%3E?page%3D1?pagesize%3D100?sortreverse%3D1?sortmatches%3Dtimeadded
GET: /favicon.ico
ERROR: 404 Not Found

then a specific search attempt:
POST: /
QUERY_STRING = SEARCH=eastenders.%2A&SEARCHFIELDS=name&PROGTYPES=tv&URL=&EXCLUDE=&CATEGORY=&EXCLUDECATEGORY=&CHANNEL=BBC%20Four%2CBBC%20One%2CBBC%20Two%2CBBC%20Three%2CCBBC&EXCLUDECHANNEL=&SINCE=&BEFORE=&FUTURE=1&SORT=timeadded&REVERSE=1&PAGESIZE=100&HIDE=0&HIDEDELETED=0&COLS=available&COLS=name&COLS=episode&COLS=desc&COLS=channel&COLS=timeadded&COLS=seriesnum&COLS=episodenum&OUTPUT=&VERSIONLIST=&MODES=&PROXY=&SUBTITLES=0&METADATA=&THUMB=0&PVRHOLDOFF=&FORCE=0&AUTOWEBREFRESH=1&AUTOPVRRUN=4&REFRESHFUTURE=1&BITRATE=&VSIZE=&VFR=&STREAMTYPE=&SAVE=0&SEARCHTAB=yes&COLUMNSTAB=no&DISPLAYTAB=no&RECORDINGTAB=no&STREAMINGTAB=no&PAGENO=1&INFO=0&NEXTPAGE=search_progs&ACTION=&.cgifields=REVERSE&.cgifields=HISTORY&.cgifields=COLS&.cgifields=HIDEDELETED&.cgifields=FUTURE&.cgifields=HIDE&.cgifields=SUBTITLES&.cgifields=REFRESHFUTURE&.cgifields=THUMB&.cgifields=FORCE&.cgifields=PROGTYPES
DEBUG: get_iplayer options: "hide=0" "type=tv" "refreshfuture=1" "fields=name" "search=eastenders.*" "future=1" "force=0" "subtitles=0" "skipdeleted=0" "channel=BBC Four,BBC One,BBC Two,BBC Three,CBBC" "history=0" "thumb=0" "nopurge=1" "listformat=ENTRY|<index>|<thumbnail>|<pid>|<available>|<expires>|<type>|<name>|<episode>|<versions>|<duration>|<desc>|<channel>|<categories>|<timeadded>|<guidance>|<web>|<seriesnum>|<episodenum>|<filename>|<mode>" "page=1" "pagesize=100" "sortreverse=1" "sortmatches=timeadded"
INFO: Command: /usr/local/bin/get_iplayer --encoding-locale=UTF-8 --encoding-console-out=UTF-8 --nocopyright --expiry=999999999 --webrequest hide%3D0?type%3Dtv?refreshfuture%3D1?fields%3Dname?search%3Deastenders.%2A?future%3D1?force%3D0?subtitles%3D0?skipdeleted%3D0?channel%3DBBC%20Four%2CBBC%20One%2CBBC%20Two%2CBBC%20Three%2CCBBC?history%3D0?thumb%3D0?nopurge%3D1?listformat%3DENTRY%7C%3Cindex%3E%7C%3Cthumbnail%3E%7C%3Cpid%3E%7C%3Cavailable%3E%7C%3Cexpires%3E%7C%3Ctype%3E%7C%3Cname%3E%7C%3Cepisode%3E%7C%3Cversions%3E%7C%3Cduration%3E%7C%3Cdesc%3E%7C%3Cchannel%3E%7C%3Ccategories%3E%7C%3Ctimeadded%3E%7C%3Cguidance%3E%7C%3Cweb%3E%7C%3Cseriesnum%3E%7C%3Cepisodenum%3E%7C%3Cfilename%3E%7C%3Cmode%3E?page%3D1?pagesize%3D100?sortreverse%3D1?sortmatches%3Dtimeadded

Other data:
iMac:~ imac$ perl -MIO::Socket::SSL -e 'print "$IO::Socket::SSL::VERSION\n";'
2.052
iMac:~ imac$ perl -MMojolicious -e 'print "$Mojolicious::VERSION\n";'

get_iplayer --refresh
get_iplayer v3.07, Copyright (C) 2008-2010 Phil Lewis
 This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
 This is free software, and you are welcome to redistribute it under certain
 conditions; use --conditions for details.


INFO: Indexing tv programmes (concurrent)
..................................
INFO: Indexing tv programmes (concurrent)
....................................................................
INFO: Added 0 tv programmes to cache
iMac:~ imac$


What have I done wrong on the upgrade? Older version was working successfully until recently. How can I force a full upgrade (possibly deleting old files)?
Many thanks for your help!

user-30

So you updated the Web PVR Manager - did you also update the command line interface too? The Web PVR Manager is just a wrapper for the CLI, it invokes the CLI to do most things.

Instructions for doing so are on the same page as instructions for the Web PVR Manager:

https://github.com/get-iplayer/get_iplay...face-cli-1

user-1990

Stupidly simple. Thank you for politely explaining my mistake!

All solved now.

These forums are archived

See this post for further info