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.
jasonl
Silicondust
Posts: 13494
Joined: Sun Oct 28, 2007 9:23 pm

Re: Air Date: Wed Dec/31 1969

Postby jasonl » Wed May 01, 2019 1:11 pm

This should probably be posted in the Third Party Software section, under the HDHR-DVRUI topic.
And through the magic of moderator powers, it now is.

gtb
Expert
Posts: 3826
Joined: Thu Oct 06, 2011 1:00 pm
Location: Sunnyvale, CA USA

Re: Air Date: Wed Dec/31 1969

Postby gtb » Wed May 01, 2019 1:14 pm

And through the magic of moderator powers, it now is.
Us peons bow to the powers of the moderators.

jasonl
Silicondust
Posts: 13494
Joined: Sun Oct 28, 2007 9:23 pm

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

Postby jasonl » Wed May 01, 2019 2:01 pm

:roll:

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

Re: Air Date: Wed Dec/31 1969

Postby demonrik » Thu May 02, 2019 3:56 pm

Neither, it's the external HDHR-DVRUI web based stuff.
Someone is not checking for the unix epoch zero date (and special casing it as "NULL"/"None"/NaN depending on your persuasion). This should probably be posted in the Third Party Software section, under the HDHR-DVRUI topic.
air date is not provided in this case.
completely cosmetic since start is the important data piece..
will add to the list.. should return something other than 0 :)

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

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

Postby grumpygramp » Wed May 08, 2019 7:37 pm

How do I change the time zone on a Synology NAS; the DVRUI isn't displaying the correct time? On a Qnap NAS I changed a line in the php.ini file to read date.timezone = "America/New_York". I can't find a php.ini file on the Synology NAS.

Thanks in advance.

demonrik
Posts: 1056
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

Postby demonrik » Thu May 09, 2019 5:16 pm

How do I change the time zone on a Synology NAS; the DVRUI isn't displaying the correct time? On a Qnap NAS I changed a line in the php.ini file to read date.timezone = "America/New_York". I can't find a php.ini file on the Synology NAS.

Thanks in advance.
Synology doesn't provide option in menus to override date.timezone on my device.. I haven't bothered to look for where it's stored either since, once I set up the regional options under the Control Panel it seemed to be setup ok for me.
I did notice that they do provide date.default_longtitude and date.default_latitude.. maybe you can get it by setting these?? Am not sure.

You can always override in the vars.php file too if you need to.

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

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

Postby grumpygramp » Wed May 15, 2019 4:53 pm

How do I change the time zone on a Synology NAS; the DVRUI isn't displaying the correct time? On a Qnap NAS I changed a line in the php.ini file to read date.timezone = "America/New_York". I can't find a php.ini file on the Synology NAS.

Thanks in advance.
Synology doesn't provide option in menus to override date.timezone on my device.. I haven't bothered to look for where it's stored either since, once I set up the regional options under the Control Panel it seemed to be setup ok for me.
I did notice that they do provide date.default_longtitude and date.default_latitude.. maybe you can get it by setting these?? Am not sure.

You can always override in the vars.php file too if you need to.
Thanks for the help. My regional options were set wrong; I changed them using the control panel.

demonrik
Posts: 1056
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

Postby demonrik » Sun May 19, 2019 3:09 pm

If you haven't seen other posts..
The API with the new beta engine has changed for delete and poke - see viewtopic.php?f=125&t=71542
Will be doing an update and some better handing of multiple engine over coming days..
Just wanted to let you know they are top of my priority list now I got the Engine packages out of the way.
Will include the TZ fixes which are already up on github.

Anyway - as of now.. existing UI doesn't fully support the new beta engine.. use at your own risk.

Lunar
Posts: 16
Joined: Sun Mar 11, 2018 7:02 pm

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

Postby Lunar » Sun May 19, 2019 5:36 pm

First,
Apologies to @handyd and @lunar
I've been really busy at work, and all my free time that I dedicate to these has been focused on major updates to the DVR managers. Now done, so I get to focus on this for a little while.
192.168.0.75 says
Missing behavior or php-error:<br />
<b> Notice</b>: Undefined index: Version in <b>C:
\)(ampp\htdocs\HDHR63\includes\dvrui_hdhrjson.php</b> on line
<b>69</b br />
<br />
<b>Fatal error</b>: Uncaught ArgumentCountError: Too few
arguments to function DVRUI_Upcoming::DVRUI .UpcomingQ, 1
passed in C:\xampp\htdocs\HDHR63\search.php on line 70 and
exactly 2 expected in C:
\)(ampp\htdocs\HDHR63\includes\dvrui_upcoming.php:38
Stack trace:
#0 C:\)(ampp\htdocs\HDHR63\search.php(70): DVRUI_Upcoming&
gt;DVRUI_Upcoming(Object(DVRUI_HDHRjson))
lf1 C:\)(ampp\htdocs\HDHR63\TinyAjax.php(233):
createRuleFromSearchCJudge Judy', 'C184382ENVN01', ·o·. '30', '120',
",'null', 'nuW)
#2 C:\xampp\htdocs\HDHR63\index.php(S4): TinyAjax-&gt;processO
#3 {main)
thrown in <b>C:
\)(ampp\htdocs\HDHR63\includes\dvrui_upcoming.php </b > on line
<b>38</b><br />
This is the issues found by @airdrummer
Is fixed in the github, and will be in the next release
If I try to use the latest version, I get this error when starting:
Fatal error: Uncaught Error: Undefined class constant 'DVRUI_DEBUG' in C:\xampp\htdocs\HDHR65\includes\dvrui_debug.php:8 Stack trace: #0 C:\xampp\htdocs\HDHR65\index.php(4): require_once() #1 {main} thrown in C:\xampp\htdocs\HDHR65\includes\dvrui_debug.php on line 8
This is a strange one.
Can you check the vars.php file in your installed folder. It should have a line similar to

Code: Select all

const DVRUI_DEBUG = false;
If not - then something went wrong when it should have created that file :(
you need to make sure the http service can write the .css
i.e. make sure .../themes/default is writable by the http user on your system
Ok, so I've gotten some success by doing that, but still not 100% yet. Now the page is formatted correctly, but I'm still receiving the invalid status error as soon as the page loads. I'm not sure what I'm doing different this time from the last time I was running the UI. :cry:

This is what I'm seeing now.
https://i.imgur.com/jSNydfR.png

EDIT: Also, I've tried going back a couple of versions with the same results.
500 is basically the web server can't serve the requested resource (file or URL) to your browser.
So something is up with either permissions or bad install.
Make sure your webserver has read access to everything in the install folder
AND has write access to the themes folder
AND has ownership/write access of the themes/default/style.css

there are other possibilities such as external URLs being blocked..
try opening the diagnostics page directly
http://192.168.1.6/hdhr/diagnostics.php

FWIW - will be focusing on this for next few days to get all known fixes in, add container recipe, add list/tiles option on recordings, etc.
Thank you for the assistance. I too have been really busy since you last responded. I opened the diagnostics page as you suggested, and below is what information it provided. I've double checked permissions, and I'm at a loss as to what's going on. It seems like everything should be working, but it's not. What's even more strange, is I did nothing different when setting up this server as I did when I last had the UI up and running.

Code: Select all

---------- OS and ENV VARIABLES ------------------------------------------------ Operating System = Linux tv-server 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 x86_64 HTTP_HOST = 192.168.1.6 SERVER_NAME = 192.168.1.6 SERVER_ADDR = 192.168.1.6 SERVER_SOFTWARE = Apache/2.4.29 (Ubuntu) SYS TEMP = /tmp ---------- PHP INFO ------------------------------------------------------------- php version = 7.2.17-0ubuntu0.18.04.1 php.ini file = /etc/php/7.2/apache2/php.ini php.ini date.timezone = date_default_timezone_get() = America/New_York ---------- DVRUI VARS ----------------------------------------------------------- DVRUI_name = HDHomeRun DVR UI DVRUI_version = 0.6.5 DVRUI_TZ = DVRUI_discover_cache = 360 DVRUI_upcoming_cache = 3600 ---------- PERMISSIONS ----------------------------------------------------------- style = 0755 themes = 0755 themes/default = 0755 themes/default/style.css = 0644 themes/default/m_style.css = 0644

demonrik
Posts: 1056
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

Postby demonrik » Mon May 20, 2019 6:34 am

Thank you for the assistance. I too have been really busy since you last responded. I opened the diagnostics page as you suggested, and below is what information it provided. I've double checked permissions, and I'm at a loss as to what's going on. It seems like everything should be working, but it's not. What's even more strange, is I did nothing different when setting up this server as I did when I last had the UI up and running.

Code: Select all

---------- OS and ENV VARIABLES ------------------------------------------------ Operating System = Linux tv-server 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 x86_64 HTTP_HOST = 192.168.1.6 SERVER_NAME = 192.168.1.6 SERVER_ADDR = 192.168.1.6 SERVER_SOFTWARE = Apache/2.4.29 (Ubuntu) SYS TEMP = /tmp ---------- PHP INFO ------------------------------------------------------------- php version = 7.2.17-0ubuntu0.18.04.1 php.ini file = /etc/php/7.2/apache2/php.ini php.ini date.timezone = date_default_timezone_get() = America/New_York ---------- DVRUI VARS ----------------------------------------------------------- DVRUI_name = HDHomeRun DVR UI DVRUI_version = 0.6.5 DVRUI_TZ = DVRUI_discover_cache = 360 DVRUI_upcoming_cache = 3600 ---------- PERMISSIONS ----------------------------------------------------------- style = 0755 themes = 0755 themes/default = 0755 themes/default/style.css = 0644 themes/default/m_style.css = 0644
the diagnostics output is cut short before it dumps the found tuners
so something is wrong as it builds that list.
either it cant write to the cache in /tmp
or cant get to the discover url


Return to “Third Party Software”

Who is online

Users browsing this forum: No registered users and 1 guest