Results 1 to 10 of 37

Thread: New NextPVR client for Raspberry Pi 2 and 3.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2006
    Location
    Sweden
    Posts
    452

    New NextPVR client for Raspberry Pi 2 and 3.

    I call it NextPiVR for now and it's currently in beta state.

    It's a native GUI “web client” written in python using omxplayer for video playback.
    NextPVR 3.9.2 or later is required.

    If your TV channels are mpeg2 you will need the mpeg2-license (http://www.raspberrypi.com/mpeg-2-license-key/). Mpeg4 files should play fine out of the box without any license.

    Use with keyboard or remote.
    The client support lirc remotes but will need some configuration. In my own setup I use a $ 2 infrared sensor (TSOP38238) directly on the GPIO together with an old Hauppauge MVP remote.

    There is also some experimental support for cec but ATM I can't get it to work with the current libcec3 package in raspbian jessie.

    Installation:

    You need a Raspbian Jessie up and running, preferably booting into text console, not desktop.

    If you already got one you can skip to the Install NextPiVR section.

    Get the latest raspbian Jessie lite image from raspberrypi.org,
    If you pick the standard larger image you may want to tweak it to boot into text console rather than into desktop (sudo raspi-config, boot options)
    https://www.raspberrypi.org/downloads/raspbian/

    Use Win32DiskImager (g00gle it) to flash the image onto a micro SD card.

    Boot the pi on the newly flashed image and let it resize the disk.

    Logon with user pi and password raspberry


    Install NextPiVR:

    Get the NextPiVR debian packade, install it and its dependencies, reboot

    Code:
    sudo apt-get update
    
    wget https://www.dropbox.com/s/fizgaemif22ubo4/NextPiVR_0.1.deb?dl=1 -O nextpivr.deb
    
    sudo dpkg -i nextpivr.deb
    
    sudo apt-get -f install
    
    sudo reboot

    The raspberry will now boot into a screen where all your active nextPVR servers are listed.
    Select one using arrow keys and press enter to connect.

    To exit NextPVR GUI select Exit in menu or press End-button on keyboard.


    Tweaks:

    You will probably want to change the overscan settings to suite your TV.

    Code:
    sudo nano /boot/config.txt
    change parts of your config.txt to look something like this for a start.
    Code:
    # uncomment this if your display has a black border of unused pixels visible
    # and your display can output without overscan
    disable_overscan=1
    
    # uncomment the following to adjust overscan. Use positive numbers if console
    # goes off screen, and negative if there is too much border
    overscan_left=16
    overscan_right=16
    overscan_top=16
    overscan_bottom=16
    Playback of certain HD content require more memory to the gpu
    Code:
    gpu_mem=128
    While you're at it put in your mpeg2 license key if you got one.
    (this one won't work since the license key is specific to every individual raspberry pi)

    Code:
    # MPEG2 License
    decode_MPG2=0xfff7025b

    This is my entry to enable lirc remote on GPIO, I've put my IR sensor on pin 23.
    (pin 22 is reserved for a future IR blaster)
    Code:
    # Uncomment this to enable the lirc-rpi module
    dtoverlay=lirc-rpi,gpio_in_pin=23,gpio_out_pin=22,gpio_in_pull=up


    ctrl-O to save and ctrl-X to exit in the nano editor

    Code:
    sudo reboot


    Enjoy!

    /Fred
    Last edited by fred250; 2017-03-29 at 10:23 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •