get_iplayer Web PVR Manager - enabling access on a "trusted" network

Kevin Lynch klynchk at gmail.com
Tue Mar 24 17:08:01 PDT 2015


Hi Guys

I've had a couple of replies to my personal email, but not quite the
answer I needed, but working through the suggestions I found that I
needed to edit "/etc/default/get_iplayer_web_pvr" as the comment in
the file suggests

kevin at kevin-13-04-raring:~$ whereis  get_iplayer_web_pvr
get_iplayer_web_pvr: /usr/bin/get_iplayer_web_pvr
/usr/bin/X11/get_iplayer_web_pvr
/usr/share/man/man1/get_iplayer_web_pvr.1.gz
kevin at kevin-13-04-raring:~$ sudo vi /usr/bin/get_iplayer_web_pvr
[sudo] password for kevin:
kevin at kevin-13-04-raring:~$ cat  /usr/bin/get_iplayer_web_pvr
#!/bin/sh

. /etc/default/get_iplayer_web_pvr
/usr/bin/perl /usr/share/get_iplayer/get_iplayer.cgi -p $PORT -g
/usr/bin/get_iplayer -l $LISTEN
kevin at kevin-13-04-raring:~$ cat  /etc/default/get_iplayer_web_pvr

# use 0.0.0.0 to bind to all interfaces
# LISTEN=127.0.0.1
LISTEN=0.0.0.0

# port must be more than 1024 for unprivileged users
PORT=1935

I had this note from Zaphod (which prompted my memory)

I'm using Windows XP, can't remember where stuff is on later versions

edit "get_iplayer.cgi.cmd", which on XP is in C:\Program Files\get_iplayer\

change --listen=127.0.0.1 to --listen=0.0.0.0
it will then listen for incoming connections on all adapters not just localhost

Heres my working....
---- looking at properties of shortcut 'Web PVR Manager' on start menu
C:\WINDOWS\system32\cmd.exe /c pvr_manager.cmd

----- looking at pvr_manager.cmd
@echo off
start "PVR Manager Service" /min /b cmd /k .\get_iplayer.cgi.cmd
ping 127.0.0.1 -n 5 -w 1000 > NUL
.\pvr_manager.url

---- looking at get_iplayer.cgi.cmd
@echo off
perl.exe get_iplayer.cgi --port 1935 --listen=127.0.0.1 --getiplayer
.\get_iplayer.cmd

Kevin



On 23 March 2015 at 00:59, Kevin Lynch <klynchk at gmail.com> wrote:
> I have a "trusted" network - I'd like to expose the Web PVR manager so
> that I can access it from other machines on the network - rather than
> just jumping onto my computer and using the localhost:1935
>
> Please can someone provide  instructions
>
> Thanks
>
> Kevin



More information about the get_iplayer mailing list