These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Web PVR: Can't connect to http://127.0.0.1:1935

user-2241

get_iplayer_web_pvr    
shows                                                                                              1 ↵
Code:
Starting Web PVR Manager server...
Opening Web PVR Manager client...
There is no screen to be resumed.

Then Safari opens with a message saying it can't connect to localhost.
I've searched for similar issues here and elsewhere, but none specific to OS X
Is there some debug mode that would offer a few more clues?
I tried disabling the firewall, no difference.

user-2

The web pvr server component died on launch. Likely an installation or system configuration problem. Save the code below in a file named "get_iplayer_cgi" in your working directory. Run it with /bin/bash get_iplayer_cgi. Ctrl-C to stop. Post the output.

Code:
#!/bin/bash
GIPDIR=/usr/local/get_iplayer
GIPCLI=$GIPDIR/bin/get_iplayer
GIPWPM=$GIPDIR/bin/get_iplayer.cgi
export PATH="$GIPDIR/bin${PATH:+:${PATH}}"
export PERL5LIB="$GIPDIR/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"
LISTEN=${LISTEN:-127.0.0.1}
PORT=${PORT:-1935}
BASEURL=${BASEURL:+-b ${BASEURL}}
sw_vers
echo PERL5LIB=$PERL5LIB
[[ -x $GIPWPM ]] && echo found $GIPWPM
[[ -x $GIPCLI ]] && echo found $GIPCLI
echo "Starting Web PVR Manager server..."
$GIPWPM -g $GIPCLI -l $LISTEN -p $PORT $BASEURL

user-2241

Thanks Dinky, that works perfectly :)

Actually it started working spontaneously beforehand, but most likely because I think I had a few broken paths in my shell if you know what I mean ;)

These forums are archived

See this post for further info