Intro

Here I describe configuration of a small (diskless) linux box to serve as a NextPVR extender. In order to obtain a decent playback, however, the box needs a decent graphical card.

Procedure

Install xbmc-live 10.1 onto an USB (or HD) drive larger than 2 GB. After the system boots into xbmc exit into the shell.

Install:

 sudo apt-get update
 sudo apt-get install mplayer
 wget <URL to libplayer2.zip> 
 unzip libplayer2.zip
 sudo dpkg -i libplayer2_2.0.1-2-xnpvrcli-ubuntu-10.04_i386.deb 
 wget <URL to xnpvrcli_0.2-beta.zip> 
 unzip xnpvrcli_0.2-beta.zip
 sudo dpkg -i xnpvrcli_0.2-beta-ubuntu-10.04_i386.deb 

Create/edit '~/.mplayer/config' to include sections: [xnpvrcli], [xnpvrcli-HD], [xnpvrcli-alt], [xnpvrcli-alt-HD] (see example ):

 nano ~/.mplayer/config

Start X server desktop:

 startx

Start xterm from the menu and try to start xnpvrcli:

 xnpvrcli <nextpvr-server-ip> -t <number-of-servers>

Configure remote by creating/editing ~.lircrc (see example ):

 nano ~.lircrc

You might also need to reconfigure lirc for your remote:

 sudo dpkg-reconfigure lirc

You can either start xnpvr from xbmc or setup a more automatic startup. I use an automatic X server desktop startup and then start either xnpvrcli or xbmc by using remote (see example )

To automatically start X server desktop without xbmc first uninstall xbmc-live package:

 sudo apt-get remove xbmc-live

Modify '/etc/init/tty1.conf', '~.bash_profile' and '~/.fluxbox/startup' configuration (see attached examples ):

 sudo nano /etc/init/tty1.conf
 nano ~/.fluxbox/startup
 nano ~.bash_profile

To automatically hide cursor install unclutter:

 sudo apt-get install unclutter

DEB Downloads

Download:libplayer2.zip (232 downloads)

Download:xnpvrcli-0.2-beta.zip (205 downloads)

KNOWN ISSUES

  • Slow startup when using several extenders simultaneously.
  • Resume not working reliably.
  • Live TV not working reliably.
  • No OSD.
  • Automatic NextPVR server discovery and port negotiation not implemented.

Page last modified on January 15, 2012, at 10:42 AM