NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 2 3 4 5 … 56 Next »
New NextPVR client for Raspberry Pi 2 and 3.

 
  • 0 Vote(s) - 0 Average
New NextPVR client for Raspberry Pi 2 and 3.
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#1
2017-03-20, 12:04 AM (This post was last modified: 2017-03-29, 10:23 PM by fred250.)
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
lost@c
Offline

Member

Posts: 215
Threads: 22
Joined: Jul 2008
#2
2017-03-22, 05:56 PM
This looks pretty interesting. I'm going to give it try in the weekend!
Win7 Enterprise, ASUS Prime H270-Pro, i3 7100 @ 3.9, 4GB Ram, 128Gb SSD, 2 x 1000Gb HDD, 1 x 2000Gb external HDD, Hauppauge HVR-2200, Hauppauge HDR-4000, SiloconDust HD HomeRun Dual, 42" LG LCD. Client - Raspberry Pi 3 Panasonic 32" LCD
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#3
2017-03-24, 06:40 PM
Will be trying this out when i get the time
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
lost@c
Offline

Member

Posts: 215
Threads: 22
Joined: Jul 2008
#4
2017-03-25, 09:18 PM
OK I have given it a try with mixed success. (Looking pretty good so far though!)

Install went fine and I can navigate around the interface no problem. But it will not play some of my files. Webclient log from server attached (is there 1 from the Pi that would be helpful? If so let me know where to find it.)

To help troubleshoot, I went to 1 recording that will play, let it run for 1 minute, waited another minute then went to the recording that won't. "Mythbusters" plays but "Grand Designs" does not. I see a progress bar but it does not change.

Looking at the files in VLC, I can see that Mythbusters is 720x576 whereas Grand Designs is 1920 x 1080. Both these recordings play fine in XNEWA on my Pi. I have the MPEG2 license installed (and confirmed) but probaly not relevant given these are MPEG4 (I think)
Win7 Enterprise, ASUS Prime H270-Pro, i3 7100 @ 3.9, 4GB Ram, 128Gb SSD, 2 x 1000Gb HDD, 1 x 2000Gb external HDD, Hauppauge HVR-2200, Hauppauge HDR-4000, SiloconDust HD HomeRun Dual, 42" LG LCD. Client - Raspberry Pi 3 Panasonic 32" LCD
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#5
2017-03-26, 05:46 AM
Hey fred I haven't tried the app yet but
does it have time line like on the Samsung app with the black bars show where the commercials are?
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#6
2017-03-27, 08:08 AM
lost@c Wrote:Webclient log from server attached (is there 1 from the Pi that would be helpful? If so let me know where to find it.)
The webclient.log didn’t give any clue.

At work now and I can’t seem to remember exactly where I put the log, but look for npvrClient.log in and about /home/pi/nextPiVR/
You should be able to see entries where omxplayer is dealing with playing your files.

My experience with omxplayer is that it is a very capable media player. It plays just about anything I’ve thrown at it including mpeg4 HD.

/Fred
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#7
2017-03-27, 08:35 AM
stustunz Wrote:Hey fred I haven't tried the app yet but
does it have time line like on the Samsung app with the black bars show where the commercials are?

Yes it has a time line with commercials marked out.
A tripple 9 will toogle auto skip commercials on/off.


Some options for navigating the media player:
  • Press play will jump forward to the end of current or next commercial.
  • Press one or more number keys, wait ~1.5 sec and player will skip forward x number of minutes.
  • Press one or more number keys, immediately followed by pressing left or right key and player will skip back or forward x number of minutes.
  • Use left and right arrow keys to do an incremental delayed skip. It’s not everybody’s taste but I like it.


/Fred
lost@c
Offline

Member

Posts: 215
Threads: 22
Joined: Jul 2008
#8
2017-03-27, 07:40 PM
Thanks for that. It'll be a couple of days before I can get back to this but will let you know how I get on
Win7 Enterprise, ASUS Prime H270-Pro, i3 7100 @ 3.9, 4GB Ram, 128Gb SSD, 2 x 1000Gb HDD, 1 x 2000Gb external HDD, Hauppauge HVR-2200, Hauppauge HDR-4000, SiloconDust HD HomeRun Dual, 42" LG LCD. Client - Raspberry Pi 3 Panasonic 32" LCD
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#9
2017-03-28, 04:14 AM
Ok got it working
did a dumb thing and used exit now i cant get it to start
after i select the correct server it flashes up(next pvr main menu) but then goes back to select the server again almost like its getting a double enter from keyboard and because i selected exit thats the key its selecting when i get back into nextpivr. (hope that makes sense)
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#10
2017-03-28, 07:56 AM
stustunz Wrote:Ok got it working
Great!

stustunz Wrote:did a dumb thing and used exit now i cant get it to start

A “sudo reboot” from terminal should do it.

Or

./home/pi/NextPiVR/launchPad/startnpvr

Or

A Power cycle – not recommended since this may cause the file system to crash.
That said, to be honest I have my Rpi2 connected to a USB port on TV for power and it has never crashed yet.


stustunz Wrote:after i select the correct server it flashes up(next pvr main menu) but then goes back to select the server again almost like its getting a double enter from keyboard and because i selected exit thats the key its selecting when i get back into nextpivr. (hope that makes sense)

Yes I’ve seen it too, that it sometimes takes more than one try before it gets a stable connection. It may have something to do with the Exit from menu I just don’t know yet.

/Fred
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux nextpvr-helper.deb installer mvallevand 31 46,414 2024-11-05, 04:15 PM
Last Post: mvallevand
  LineUp for NextPvr PRBUK 1 2,846 2023-12-04, 03:17 PM
Last Post: PRBUK
  OlSkool skin for NextPVR v6 Jaggy 3 2,025 2023-07-16, 05:26 PM
Last Post: sub
  Roku NextPVR Channel mvallevand 7 8,011 2022-11-28, 12:10 AM
Last Post: mvallevand
  Generate NextPVR import XML from recorded TV .wtv files from WMC Jimixter 5 5,276 2021-05-06, 03:34 PM
Last Post: a1blues
  Pluto TV and Filmon for NextPVR mvallevand 2 3,900 2020-12-23, 05:19 PM
Last Post: mvallevand
  Generate missing thumbnails for video files imported into NextPVR Jimixter 0 2,576 2019-12-16, 07:28 PM
Last Post: Jimixter
  Plex Channel for NextPVR psycik 289 174,175 2018-01-14, 04:17 AM
Last Post: psycik
  New LG and Samsung NextPVR Web Smart TV App available for beta testing. fred250 388 135,964 2017-04-10, 10:46 AM
Last Post: fred250
  Need beta testers for "NextPVR for Samsung" (client for samsung smart tvs/blurays) reven 61 26,938 2013-12-03, 10:21 AM
Last Post: martint123

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode