HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Help and support with third-party TV software.
Windows Media Center, J River Media Center, Next PVR, MythTV, InstaTV, etc.
Post Reply
Beerman
Posts: 1485
Joined: Thu May 21, 2015 7:05 pm

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by Beerman » Thu Dec 26, 2019 3:21 pm

I downloaded 8.0 again, copied it to my folder and cleared the cache and it worked fine. Still shows I'm using 8.0 and not 8.2 though.

Ken.F
Posts: 2224
Joined: Fri Apr 05, 2013 9:20 am
Device ID: 1041A706, 1043EB32, 104BAD9E, 13168DC5, 1322A7AC
Location: West Rockhill, PA

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by Ken.F » Thu Dec 26, 2019 3:30 pm

Beerman wrote:
Thu Dec 26, 2019 3:21 pm
I downloaded 8.0 again, copied it to my folder and cleared the cache and it worked fine. Still shows I'm using 8.0 and not 8.2 though.
Did you download the .zip or are you using one of the other ones? I just tried doing it all over again and still no upcoming.

signcarver
Expert
Posts: 8727
Joined: Wed Jan 24, 2007 1:04 am
Device ID: 131B34B7 13231F92 1070A18E 1073ED6F 15300C36

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by signcarver » Thu Dec 26, 2019 5:03 pm

Worked fine here... went to demonrik's git site at:
https://github.com/demonrik/HDHR-DVRUI
clicked clone or download and downloaded zip and extracted it
copied the contents of the app folder to the existing app folder (replacing 118 files I believe)
tried to look at it from a variety of devices and it still said 6.2 (for where I loaded it to) and then remembered that whenever I change something on that server I have to restart the web server for new content to display that it had previously served (on my nas I ssh in and type: /etc/init.d/apache2 restart

on others it may be: service apache2 restart

on many servers you will need to sudo such as you won't connect as root)
reloaded the page and was at 8.2 (didn't even need to clear browser or force browser to reload) and upcomings showed up fine.

basically the file you need is dvrui_common.php in the app/includes folder and might need vars.php in app to reflect 8.2 though it may have added more required variables (I also think he deleted a couple of files from themes).

What the new dvrui_common.php file did was basically add a user-agent to all the requests ($ua should be in there about 8 times and refers to a value in the vars.php)
Last edited by signcarver on Thu Dec 26, 2019 5:09 pm, edited 1 time in total.

Beerman
Posts: 1485
Joined: Thu May 21, 2015 7:05 pm

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by Beerman » Thu Dec 26, 2019 5:04 pm

I downloaded the zip file. I think it was labeled 'masterzip' or something like that.

Ken.F
Posts: 2224
Joined: Fri Apr 05, 2013 9:20 am
Device ID: 1041A706, 1043EB32, 104BAD9E, 13168DC5, 1322A7AC
Location: West Rockhill, PA

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by Ken.F » Thu Dec 26, 2019 5:11 pm

Beerman wrote:
Thu Dec 26, 2019 5:04 pm
I downloaded the zip file. I think it was labeled 'masterzip' or something like that.
Thanks.

Ken.F
Posts: 2224
Joined: Fri Apr 05, 2013 9:20 am
Device ID: 1041A706, 1043EB32, 104BAD9E, 13168DC5, 1322A7AC
Location: West Rockhill, PA

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by Ken.F » Thu Dec 26, 2019 5:13 pm

signcarver wrote:
Thu Dec 26, 2019 5:03 pm
Worked fine here... went to demonrik's git site at:
https://github.com/demonrik/HDHR-DVRUI
That one worked. Thank you. I was downloading the .zip from https://github.com/demonrik/HDHR-DVRUI/ ... /tag/0.8.0

signcarver
Expert
Posts: 8727
Joined: Wed Jan 24, 2007 1:04 am
Device ID: 131B34B7 13231F92 1070A18E 1073ED6F 15300C36

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by signcarver » Thu Dec 26, 2019 5:19 pm

should have been HDHR-DVRUI-master.zip

in that file you have a folder called HDHR-DVRUI-master. In that folder you have an folder called app

all the files in there should be dated 12/25/2019

I go into the app folder and press ctrl+a to select all files then I go into the app folder of the web server and press ctrl+v to paste (note have my root webserver directory shared to my development pc to easily make changes on the stuff I make so it was that easy, depending on where your server is it might not be as easy as some even make one use ftp or other file manager to get access to those folders). However from the looks of things it probably was only the two files I edited the post above that need to be changed on the server to match the new one.

edit: keeping this though there has been two more posts around

demonrik
Posts: 1189
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by demonrik » Thu Dec 26, 2019 5:32 pm

signcarver wrote:
Thu Dec 26, 2019 5:03 pm
Worked fine here... went to demonrik's git site at:
https://github.com/demonrik/HDHR-DVRUI
clicked clone or download and downloaded zip and extracted it
copied the contents of the app folder to the existing app folder (replacing 118 files I believe)
tried to look at it from a variety of devices and it still said 6.2 (for where I loaded it to) and then remembered that whenever I change something on that server I have to restart the web server for new content to display that it had previously served (on my nas I ssh in and type: /etc/init.d/apache2 restart

on others it may be: service apache2 restart

on many servers you will need to sudo such as you won't connect as root)
reloaded the page and was at 8.2 (didn't even need to clear browser or force browser to reload) and upcomings showed up fine.

basically the file you need is dvrui_common.php in the app/includes folder and might need vars.php in app to reflect 8.2 though it may have added more required variables (I also think he deleted a couple of files from themes).

What the new dvrui_common.php file did was basically add a user-agent to all the requests ($ua should be in there about 8 times and refers to a value in the vars.php)
Thanks @signcarver for taking the time for the post above

And yep - main change is there.
But also copy the vars.php for the newer version number ;)
No other changes were needed.

I always have git installed on the server, and my web server contains a link from the html dccs to the app folder..
So is just a matter of doing 'git pull' while in the folder to get the latest and greatest version.

grumpygramp
Posts: 246
Joined: Sun May 03, 2015 2:42 pm

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by grumpygramp » Fri Dec 27, 2019 6:38 pm

Is there any way to get version 0.5.14 to work? I prefer the list view in upcoming that the older version uses.

signcarver
Expert
Posts: 8727
Joined: Wed Jan 24, 2007 1:04 am
Device ID: 131B34B7 13231F92 1070A18E 1073ED6F 15300C36

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by signcarver » Fri Dec 27, 2019 6:58 pm

At brief glance you most likely can replace the files i mentioned above dvrui_common.php and vars.php and it should work.

demonrik
Posts: 1189
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by demonrik » Sun Dec 29, 2019 3:44 pm

grumpygramp wrote:
Fri Dec 27, 2019 6:38 pm
Is there any way to get version 0.5.14 to work? I prefer the list view in upcoming that the older version uses.
signcarver wrote:
Fri Dec 27, 2019 6:58 pm
At brief glance you most likely can replace the files i mentioned above dvrui_common.php and vars.php and it should work.
just need the dvrui_common.php and should work.

FWIW - list view is coming back.. 0.8.4 is in the repo and has selectable tile vs list view for the Recordings tab
At the moment it stores it as a cookie just like the sort by, so will allow you to use different views by device.
Plan to roll out to series, upcoming, rules and search soon - is a little more complicated on upcoming and search.
Eventually will store a server side default config you can configure, and then the cookie will allow you to override per device.

Once I have all pages updated I will do a proper release.. for now grab the master zip or use git to update your local copy.

demonrik
Posts: 1189
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by demonrik » Sun Dec 29, 2019 4:15 pm

0.8.5 in the repo with list view added to upcoming
Will get rules done tomorrow

demonrik
Posts: 1189
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by demonrik » Mon Dec 30, 2019 2:20 pm

New Release - 0.8.6
Available from https://github.com/demonrik/HDHR-DVRUI/ ... /tag/0.8.6

New for this release
  • Return of list modes - selectable per browser (default is tile)
Fixes for this release
  • Added user agent to http requests to SD API servers
  • Fixed small bugs for upcoming and search when API doesnt return airdate or synopsis
list mode is rudimentary right now... will require a little tweaking of css, but is fully functional

viddect
Posts: 25
Joined: Wed May 27, 2015 8:10 am

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by viddect » Thu Jan 09, 2020 3:21 pm

I have updated to the latest version. I am getting Error invalid status: +: status: 500 when pulling up and page. When i turn off the dvr engine the dashboard will populate but in other areas I willl get the Error invalid status: +: status: 500.


Any help would be appreciated.

craigwillie
Posts: 35
Joined: Mon Jan 09, 2012 11:48 am

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Post by craigwillie » Sat Jan 11, 2020 11:17 am

I am getting the same error "Error invalid status: +: status: 500"

My apache logs shows a fatal error: undefined function mb_convert_encoding in dvrui_common.php

Post Reply