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
craigwillie
Posts: 27
Joined: Mon Jan 09, 2012 11:48 am

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

Post by craigwillie » Fri Aug 09, 2019 1:28 pm

demonrik wrote:
Wed Jul 10, 2019 2:15 pm

In mean time - has anyone tried this with Servio or Scribe?
I have a Servio. Shows up in the 'Discoverd Silicondust Devices'

Version reported is blank. Has a link with the Servio IP address, but the link does not render properly. Free space is reported correct, which is nice!

If you need anything else, tell me how to get it and where to send it.

Thanks for providing this interface, very useful.

Online
signcarver
Expert
Posts: 8535
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 Aug 09, 2019 4:03 pm

Can you explain what you meant by doesn't render... I have a servio and it "renders" just fine as it is a RecordEngine thus it returns the discover.json as any other engine. As for version, the servio would be different as the "engine" does not report a version like other engines as it is not upgradable (on its own), but does report FirmwareVersion as one would update by updating firmware. The other interesting thing is that it gets a DeviceAuth. If you are looking for the device's web page use the BaseURL from the returned json (I can click it with my browser)

In case demonrik wants it here is what a discover from a servio looks like.

Code: Select all

{
	FriendlyName: "HDHomeRun SERVIO",
	ModelNumber: "HHDD-2TB",
	FirmwareName: "hdhomerun_hdd",
	FirmwareVersion: "20190715beta1",
	DeviceID: "15300xxx",
	DeviceAuth: "xxxxxxxxxxxxxxxxxxxxxxxx",
	BaseURL: "http://192.168.x.x:80",
	StorageID: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
	StorageURL: "http://192.168.x.x:80/recorded_files.json",
	TotalSpace: 1999421038592,
	FreeSpace: 1000000000000
}

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

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

Post by craigwillie » Sun Aug 11, 2019 5:46 am

signcarver wrote:
Fri Aug 09, 2019 4:03 pm
Can you explain what you meant by doesn't render... I have a servio and it "renders" just fine as it is a RecordEngine thus it returns the discover.json as any other engine. As for version, the servio would be different as the "engine" does not report a version like other engines as it is not upgradable (on its own), but does report FirmwareVersion as one would update by updating firmware. The other interesting thing is that it gets a DeviceAuth. If you are looking for the device's web page use the BaseURL from the returned json (I can click it with my browser)

In case demonrik wants it here is what a discover from a servio looks like.

Code: Select all

{
	FriendlyName: "HDHomeRun SERVIO",
	ModelNumber: "HHDD-2TB",
	FirmwareName: "hdhomerun_hdd",
	FirmwareVersion: "20190715beta1",
	DeviceID: "15300xxx",
	DeviceAuth: "xxxxxxxxxxxxxxxxxxxxxxxx",
	BaseURL: "http://192.168.x.x:80",
	StorageID: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
	StorageURL: "http://192.168.x.x:80/recorded_files.json",
	TotalSpace: 1999421038592,
	FreeSpace: 1000000000000
}
By 'render' I expected the link to go to the same page as displayed by my.hdhomerun.com rather than just displaying the discover text. This is my first experience with the DVR, so I did not know what the expected result was.

Curious- how do you get the beta firmware for the Servio?

Axxel
Posts: 14
Joined: Mon Feb 20, 2017 11:59 am

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

Post by Axxel » Sun Aug 11, 2019 2:52 pm

Just installed the latest trunk. I realize you're busy, but wanted to mention that both settings.php and diagnostics.php refer to functions that have been renamed in dvrui_hdhrjson.php leading to a 500 error for settings or in the case of diagnostics.php a silent truncation of output.

demonrik
Posts: 1141
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 » Wed Aug 14, 2019 1:20 pm

thanks guys..
having all this to hand is great.

I plan to do some work on this real soon, so will update with Servio Info..
Any Scribe Duo/Quatro users out there to provide their discovery details?

BTW - if you open issue in the github I'll try and get it done in the coming update.

bdbauer
Posts: 89
Joined: Mon Jul 09, 2018 10:07 am

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

Post by bdbauer » Wed Aug 14, 2019 4:36 pm

Is there a way to set the width of the recording blocks (the block with the picture on top and title info on bottom)? My 0.7.0 has unnecessarily large fonts, and each line is truncated after about 25 characters so I can't see complete titles or other info without hitting "delete" (and not deleting them).

demonrik
Posts: 1141
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 » Sat Aug 17, 2019 4:49 pm

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

New for this release
  • Fully working with PHP 7.2
  • Tweaks of the UI
  • Multi-DVR engine support fully working - more to add in future (per engine lists)
  • Updated for Servio and Scribes
Fixes for this release
  • move from GET to POST for poke and other functions
  • Fixes for diagnostics and dashboard
  • fixed issue with QNAP config file setting port to 80 always
  • storage UUID now always in caps
  • misc timezone fixes
Known Issues (Future candidates)
  • When upcoming episode doesn't have unique identifier and a recording exists with similar issue (and thus filenames are identical) the upcoming algorithm thinks it should ignore the episode, thus doesn't get reported.

demonrik
Posts: 1141
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 Aug 18, 2019 7:04 am

Meant to say...
Servio and Scribe support is experimental. I don't have either, so is shot in the dark.
I think it should work... I add their Auth codes to the auth string like other devices... So if they truly behave like the tuners it should work.
Let me know if it doesn't AND if they do work :)

bdbauer
Posts: 89
Joined: Mon Jul 09, 2018 10:07 am

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

Post by bdbauer » Sun Aug 18, 2019 12:48 pm

It is logging "Undefined index" errors (also happened with 0.7.0) when start or end are set to "On Time", because the recording_rules API doesn't return key:value pairs for those. I added an issue on github. It's a pretty easy fix to check for that, but I'm no PHP expert so I'm not sure my solution is the best one.

demonrik
Posts: 1141
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 Aug 19, 2019 9:34 am

bdbauer wrote:
Sun Aug 18, 2019 12:48 pm
It is logging "Undefined index" errors (also happened with 0.7.0) when start or end are set to "On Time", because the recording_rules API doesn't return key:value pairs for those. I added an issue on github. It's a pretty easy fix to check for that, but I'm no PHP expert so I'm not sure my solution is the best one.
Thanks - will fix this one pretty fast.
Not sure that's right fix.. but close enough for me to work it ;)

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

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

Post by craigwillie » Tue Aug 20, 2019 7:42 pm

demonrik wrote:
Sun Aug 18, 2019 7:04 am
Meant to say...
Servio and Scribe support is experimental. I don't have either, so is shot in the dark.
I think it should work... I add their Auth codes to the auth string like other devices... So if they truly behave like the tuners it should work.
Let me know if it doesn't AND if they do work :)
I have a Servio and it appears just fine in the Dashboard. The only omission is the "version" field is blank.

handyd
Posts: 255
Joined: Mon Mar 22, 2010 5:38 am
Device ID: 131092F3, 13122223, 13136631

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

Post by handyd » Sun Sep 08, 2019 3:42 pm

I installed 8.0 and noticed I no longer have the option to delete series under the Rules menu.

Is this a bug or something with my system?

Thank you

demonrik
Posts: 1141
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 Sep 09, 2019 7:18 pm

handyd wrote:
Sun Sep 08, 2019 3:42 pm
I installed 8.0 and noticed I no longer have the option to delete series under the Rules menu.

Is this a bug or something with my system?

Thank you
Is a bug with the css
Need to modify .rule-entry {height :360px;} in main.less

jbahlman@gmail.com
Posts: 147
Joined: Wed Jun 07, 2017 6:00 am
Device ID: 13263ED4 13267ED9

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

Post by jbahlman@gmail.com » Fri Sep 13, 2019 7:11 am

Is there anyway to adjust the size of the text for the upcoming recordings and recordings or the box that they are in? I need to be able to see the full date and time. I was able to see this in the old version that i had installed, but i just downloaded this new version and can no longer see it. I tried using Ctrl -, but the same text is cut off.

BTW that is in Chrome on Windows 10.

I tried on my android phone and it shows all the text.
Firefox, EDGE and IE all show a much bigger box that shows all the text.
For some reason Chrome doesn't expand the box to show all the text. The text is the same size as the other browsers.

demonrik
Posts: 1141
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 » Sat Sep 14, 2019 3:35 pm

jbahlman@gmail.com wrote:
Fri Sep 13, 2019 7:11 am
Is there anyway to adjust the size of the text for the upcoming recordings and recordings or the box that they are in? I need to be able to see the full date and time. I was able to see this in the old version that i had installed, but i just downloaded this new version and can no longer see it. I tried using Ctrl -, but the same text is cut off.

BTW that is in Chrome on Windows 10.

I tried on my android phone and it shows all the text.
Firefox, EDGE and IE all show a much bigger box that shows all the text.
For some reason Chrome doesn't expand the box to show all the text. The text is the same size as the other browsers.
Currently there is no way to adjust other than going into the CSS files and adjusting yourself.
Am working on making it easier for the next release..
Current version in github (not released) is a bit better and separates all the font sizes into a single default/theme/fonts.less for you to edit. Goal is to add a setting to allow you to set the base size of the font, and then scaling factors for the various parts..
Also trying to provide option of tiles vs list to restore what people like prior to 0.6.0.

Post Reply