View Full Version : NextPVR Web Console Alpha 1 Release

2012-12-01, 07:00 AM
NextPVR Web Console Alpha 1 Release

This is the first ALPHA release, there will be bugs, future alphas may need a clean install of the web console so you may lose all your settings. It may also break your NextPVR setup (it shouldn't but I should warn you). So backup your NextPVR before using and use at your own risk.

System Requirements
Windows: Any version, I've tested on Windows 7 64 Bit and Windows XP SP3
.net 4.0 Framework. The installer will download and install this for you if its not already installed.
.net 3.5 Framework. The installer will download and install this for you if its not already installed (this is only needed because the Webserver, UltiDev, requires it)
UltiDev Webserver. This will be automatically installed when you install NextPVR Web Console.
So really, if you can run NextPVR, you should be able to run the Web Console. And its just a basic next/next/next/finish installer, no complex configuration needed.
*Note: When you uninstall, it will leave the database file and the logging files in place, so you may wish to manually delete these, and UltiDev will not be uninstalled (in case another applcation is using it).

Supported Browsers

Chrome (latest)
Firefox (latest)
IE 9 and 10

IE 8 and below will not be supported, I may try and get basic IE 8 working in the future, but only if its not a huge lot of work. IE 7 and below will not be supported at all.

I will be adding mobile support in the Beta

What currently works

Users, you can specify multiple users and have their own recordings, channels, channel groups
Guide with recording options same as in the NextPVR Windows Applications
Configuration, you can configure most parts of NextPVR from this web app with out needing to open NextPVR and go to settings. This does not fully implemented everything yet, and you will need to have NextPVR setup first to use this web console. My desire is to fully implement all configuration in later releases
System settings, this allows you to set view your log files, create users, and your SMTP settings
Ability to move recordings.

This is by far the biggest feature, and my favourite part of the system
Each user can have their own

You can renumber them, enable/disable them for each user.

Channel Groups
You can subscribe to system maintained channel groups, or create your own. E.g. you may wish to create your own personal "Favourites" group.
You cannot create an "All Channels" group, this is reserved by the system and is automatically generated, as its just all your channels, there is no need to maintain this group.

Recording Directories
This is where the fun begins, you can (once configured) create your own recording directories, and record your personal shows to these directories (a "Default" directory will be created for each user). Any recordings in these directories will only be available to you personally, and no other user will have access to them.

Setting up Recording Directories
In order to use recording directories you need to do the following on the "General" tab of the "Configuration" page

Make sure "Enable User Support" is on
Specify the "User Recording Directory". This directory is where all user recording directories will be created under. Eg D:\Recordings\Users, which may then contain D:\Recordings\Users\John\Tv Shows

The "Shared" recording directories
If you want to record something and share it with all users in your household, you can record to the "Shared" recording directories, this will make them available to every user. Making them available to every user also means any user can delete or change the schedule, so just be aware of this and don't delete a shared recording before everyone has had a chance to watch it.

Moving recordings
When you move recordings, it will do the following

Go through all recordings in current group, eg "Stargate" and move them to the destination recording directory. This is helpful when setting up a multi user environment and you want to import previous recordings into your own user directory
It will look for any recurrence recordings and if found (there maybe multiple if you setup multiple recording rules) it will update their schedules to now recording to the destination recording directory.
If this is on a different drive to the source recordings, this process may take a while, since it obviously has to copy the files to the new drive

SMTP Settings
If you need to reset your password, you can do a "Forgot Password" request. This will email you a password reset link, which will then email you a new password once clicked. To get this to work you need to specify a SMTP server to send emails through. You can use a gmail account to do this.
All emails through the system will be written to the log file, so if you do not specify a SMTP server, you can get the URLS and new password from the log file.
Once you get the new password, I strongly suggest you change it (and its randomly generated, so will be very hard to remember :))

Download Instruction (READ CAREFULLY)

You will also need to replace your current "NShared.dll" with the one attached to this post. This adds support to stream channels via the channeloid instead of channel number, as users may have different numbers for different channels.
First you need to Download the Installer (https://github.com/downloads/revenz/NextPvrWebConsole/NextPVR%20Web%20Console%20Alpha%201b.exe), this will install UltiDev web server (if not installed) and set the web app to run on port 8877 (should be easy to remember, seeing as the default for NEWA is 8866).
Once installed open the webpage "http://[machinename]:8877/" (where machinename is the name of your computer, or if on local machine you can use "localhost", I suggest the full machinename as this will set the "Website Address" used in password reset emails) and run the initial configuration. This just creates a default admin user and imports channels and channel groups into the NextPVR Web Console

XBMC Addon
The only way to really use users (other than via the NextPVR Web Console) is via XBMC. Where each user will have access to their own personal settings/recordings etc.
This required slight changes to subs original xbmc addon, but will be merged into subs code in the coming weeks (very small changes).
I have compiled and made available a addon for the major platforms.
Once download in XBMC you will need to configure it using these settings
Port: 8877 (not 8866)
To identify which user is connecting, you need to supply your username in the pin code field. For example my pin code would be "john" (without the quotes). This will then only return my recordings, channels, and channel groups.

Windows NextPVR XBMC Addon v1.0.1.1 (https://github.com/downloads/revenz/NextPvrWebConsole/pvr.nextpvr-windows.zip)
Linux 32 Bit NextPVR XBMC Addon v1.0.1.1 (https://github.com/downloads/revenz/NextPvrWebConsole/pvr.nextpvr-linux-i486.zip)
Linux 64 Bit NextPVR XBMC Addon v1.0.1.1 (https://github.com/downloads/revenz/NextPvrWebConsole/pvr.nextpvr-linux-x86_64.zip)
RaspberryPI NextPVR XBMC Addon v1.0.1.1 (https://github.com/downloads/revenz/NextPvrWebConsole/pvr.nextpvr-linux-arm.zip)

The full source code can be viewed here (https://github.com/revenz/NextPvrWebConsole)

Enjoy :)

2012-12-01, 05:36 PM
Thanks.....going to take the dive now... :)

2012-12-01, 08:23 PM
I just installed this on my server and I have to say that this is awesome. Th only thing I'm confused about is the NShared zip file attached. What is that needed for?

2012-12-01, 09:44 PM
the attached NShared.dll is need in C:\Program Files\NPVR (or C:\Program Files (x86)\NPVR) to support streaming live tv

this is needed because the standard way of streaming tv uses the channel number, eg


but with this webconsole, each user can change their channel numbers,

so user a, could have

TV 3 SD = channel 3

and user b, could have

TV 3 HD = channel 3

since this would be a collision, it would return the same channel for both users, and one would get the wrong feed.

So to change this, sub has added support to stream by the channeloid (the unique identifier for the actual channel), for example


this will be in future versions of NextPVR, but until then you need the modified NShared.dll.

so with the new dll, when you click a channel logo/name in the guide you will launch a live stream of the channel (note this currently requires VLC to be installed on the client machine, if its install and doesnt work, reinstall VLC and make sure the browser plugin is installed). I'm looking for an alternative silverlight or flash player that will support live streaming but havent found one yet.

2012-12-02, 12:13 AM
There's a bug with this NShared.dll. I have 4 x Colossus cards using an external .exe to tune the channel. With this version of the .dll file the .exe to tune doesn't get executed for the second and third tuners. I also noticed this with the previous version that Sub put out. The last version I've found that worked for all four was the one dated 10/24/12.

2012-12-30, 05:02 PM
I decided to try this and when I run the Web Console file, it tells me NPVR is required to be installed first. Is it because I have NPVR installed on my D directory? If so, how can I change the app so it sees the install directory?

2012-12-30, 08:48 PM
the installer just searches for "NextPVR.exe" in your program files directory, so a work around would be to copy "NextPVR.exe" into your programfiles directory.

2012-12-31, 12:13 AM
Thanks, at least it installed. Now to figure out the Runtime Error:
<!-- Web.Config Configuration File -->

<customErrors mode="RemoteOnly"/>

2012-12-31, 03:32 AM
set this to
<customErrors mode="Off" />
then it will show you the error