Synology SPK for DVR Record Engine

Downloads & Instructions
Post Reply
TBlankenheim
Posts: 70
Joined: Wed May 27, 2015 9:15 am

Re: Synology SPK for DVR Record Engine

Post by TBlankenheim » Sun Jun 02, 2019 3:27 pm

fletchb1 wrote:
Sun Jun 02, 2019 2:55 pm
I didn't have this issue till I upgraded and didn't even notice it till you post.

Is this all you had to do to get it fixed? I made the same change to the script he describes but recordings still not showing up but it did not break anything ether.
The post I referenced was specifically for the HDHomeRun DVR UI version: 0.6.5. But this same solution worked for me for the Synology HDHomeRun DVR Manager Version:0.6.6

I specifically edited line 59 of dvrui_hdhrjson.php which on my Synology box is located at /volume1/web/HDHomeRunDVR/includes.

I had to SSH to the NAS and sudo -i to get root privileges to edit the file. That corrected the problem for me.

fletchb1
Posts: 94
Joined: Fri Jun 23, 2017 11:39 am

Re: Synology SPK for DVR Record Engine

Post by fletchb1 » Sun Jun 02, 2019 11:38 pm

TBlankenheim wrote:
Sun Jun 02, 2019 3:27 pm
fletchb1 wrote:
Sun Jun 02, 2019 2:55 pm
I didn't have this issue till I upgraded and didn't even notice it till you post.

Is this all you had to do to get it fixed? I made the same change to the script he describes but recordings still not showing up but it did not break anything ether.
The post I referenced was specifically for the HDHomeRun DVR UI version: 0.6.5. But this same solution worked for me for the Synology HDHomeRun DVR Manager Version:0.6.6

I specifically edited line 59 of dvrui_hdhrjson.php which on my Synology box is located at /volume1/web/HDHomeRunDVR/includes.

I had to SSH to the NAS and sudo -i to get root privileges to edit the file. That corrected the problem for me.
Thanks. I did the same, not sure why it did not work for me. I will wait for the next update and see what happens..

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

Re: Synology SPK for DVR Record Engine

Post by demonrik » Sun Jun 09, 2019 4:19 pm

NEW PACKAGE AVAILABLE
  • Updated Engine to latest beta release 20190603beta1
  • Fixed issue with StorageID comparison failing
  • Updated dependency for PHP 7.2 instead of PHP 5.6
To move to new package - simply do manual install of new package
If you don't already have PHP 7.2 installed - please do that first. And remember to update the open_basedir in the Webstation PHP setting for 7.2

new SPK HDHomeRunDVR-0.6.8.spk available in the usual locationsGoogle Drive, DropBox, OneDrive

Code is available on github
https://github.com/Silicondust/dvr_install

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

Re: Synology SPK for DVR Record Engine

Post by demonrik » Tue Jun 18, 2019 4:52 pm

NEW PACKAGE AVAILABLE
Sorry for delay on this one - my build system got hacked and its taken me 10 days to get back up and running... To move to new package - simply do manual install of new package

new SPK HDHomeRunDVR-0.6.9.spk available in the usual locations Google Drive, DropBox, OneDrive

Code is available on github
https://github.com/Silicondust/dvr_install
Last edited by demonrik on Tue Jun 18, 2019 7:14 pm, edited 1 time in total.

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

Re: Synology SPK for DVR Record Engine

Post by Beerman » Tue Jun 18, 2019 6:45 pm

Just making sure it's 0.6.9 we want and not 8. I see them both but for some reason the one listed as 0.6.9 won't work for me. Getting an invalid filet type.
EDIT: Google drive is a no go for me. Drop box is fine.

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

Re: Synology SPK for DVR Record Engine

Post by demonrik » Tue Jun 18, 2019 7:15 pm

Beerman wrote:
Tue Jun 18, 2019 6:45 pm
Just making sure it's 0.6.9 we want and not 8. I see them both but for some reason the one listed as 0.6.9 won't work for me. Getting an invalid filet type.
EDIT: Google drive is a no go for me. Drop box is fine.
Should be 0.6.9
Sorry... Typo and fixed.

Did download from Dropbox work? Or still invalid?

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

Re: Synology SPK for DVR Record Engine

Post by Beerman » Tue Jun 18, 2019 7:32 pm

Yes, Dropbox worked and Google Drive did not. At least for me.

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

Re: Synology SPK for DVR Record Engine

Post by demonrik » Fri Jun 21, 2019 3:17 pm

NEW PACKAGE AVAILABLE
  • Updated Engine to latest release 20190621
To move to new package - simply do manual install of new package

new SPK HDHomeRunDVR-0.7.0.spk available in the usual locations Google Drive, DropBox, OneDrive

Code is available on github
https://github.com/Silicondust/dvr_install

fletchb1
Posts: 94
Joined: Fri Jun 23, 2017 11:39 am

Re: Synology SPK for DVR Record Engine

Post by fletchb1 » Sat Jun 22, 2019 5:33 pm

Latest update working great.

Can we remove 5.6php now?

Thank you.

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

Re: Synology SPK for DVR Record Engine

Post by demonrik » Mon Jun 24, 2019 7:57 am

fletchb1 wrote:
Sat Jun 22, 2019 5:33 pm
Latest update working great.

Can we remove 5.6php now?

Thank you.
Yep - is tied to 7.2 now :)

Lord_Sidious
Posts: 2
Joined: Wed Jun 26, 2019 4:24 pm

Re: Synology SPK for DVR Record Engine

Post by Lord_Sidious » Wed Jun 26, 2019 6:13 pm

Hi - first off, I'd like to thank demonrik for providing and maintaining this SPK! Very much appreciate it. :)

I just have a quick question about the time stamp in log file, which seems to use a different timezone setting than what I expected. I am in US/Pacific timezone but the entries within the logfile are 7 hours ahead of me (because it's set to UTC?)

I've installed HDHomeRunDVR-0.7.0.spk on my DS1513+ and everything appears to be working as expected (so far) except for this timezone problem.

This is from SSH session on my synology server:
(note that today is 2019-06-26 but the log file has already rolled over on to the next day)

root@ds1513:/volume1/@appstore/HDHomeRunDVR/web# date ; tail /volume1/HDHomeRunDVR/20190627.log
Wed Jun 26 18:06:08 PDT 2019
20190627-00:47:51 Status: Resource: nbk=0 dmk=215
20190627-00:49:51 Status: Resource: nbk=0 dmk=215
20190627-00:51:51 Status: Resource: nbk=0 dmk=215
20190627-00:53:51 Status: Resource: nbk=0 dmk=215
20190627-00:55:51 Status: Resource: nbk=0 dmk=215
20190627-00:57:51 Status: Resource: nbk=0 dmk=215
20190627-00:59:51 Status: Resource: nbk=0 dmk=215
20190627-01:01:51 Status: Resource: nbk=0 dmk=215
20190627-01:03:51 Status: Resource: nbk=0 dmk=215
20190627-01:05:51 Status: Resource: nbk=0 dmk=215


Not sure if this will help, but this is what I get when I click on the little "setting gear box" on my "Synology HDHomeRun DVR Manager":

---------- OS and ENV VARIABLES --------------------------------------------------
Operating System = Linux ds1513 3.10.105 #24922 SMP Fri May 10 02:51:01 CST 2019 x86_64
HTTP_HOST = ds1513
SERVER_NAME = ds1513
SERVER_ADDR = 192.168.0.42
SERVER_SOFTWARE = nginx/1.15.7
SYS TEMP = /var/services/tmp
---------- PHP INFO -------------------------------------------------------------
php version = 7.2.13
php.ini file = /volume1/@appstore/PHP7.2/misc/php-fpm.ini
php.ini date.timezone = US/Pacific
date_default_timezone_get() = US/Pacific
---------- DVRUI VARS -----------------------------------------------------------
DVRUI_DEBUG =
DVRUI_name = Synology HDHomeRun DVR Manager
DVRUI_version = 0.7.0
DVRUI_TZ =
---------- PERMISSIONS ----------------------------------------------------------
style = 0755
style/style.css = 0644


Is it significant that DVRUI_TZ is not set?
Thank you!

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

Re: Synology SPK for DVR Record Engine

Post by signcarver » Wed Jun 26, 2019 6:46 pm

logs will be UTC

Lord_Sidious
Posts: 2
Joined: Wed Jun 26, 2019 4:24 pm

Re: Synology SPK for DVR Record Engine

Post by Lord_Sidious » Thu Jun 27, 2019 8:10 pm

Oh - didn't realize that.

I suppose at least that means I didn't mess up the installation! :D

Thank you.

fletchb1
Posts: 94
Joined: Fri Jun 23, 2017 11:39 am

Re: Synology SPK for DVR Record Engine

Post by fletchb1 » Fri Jun 28, 2019 5:19 pm

demonrik wrote:
Mon Jun 24, 2019 7:57 am
fletchb1 wrote:
Sat Jun 22, 2019 5:33 pm
Latest update working great.

Can we remove 5.6php now?

Thank you.
Yep - is tied to 7.2 now :)
Just wanted to be sure..thanks!

rsd-HDHR
Posts: 8
Joined: Sat Jun 29, 2019 8:14 am

Re: Synology SPK for DVR Record Engine

Post by rsd-HDHR » Sat Jun 29, 2019 8:28 am

I have a SYNOLOGY DS214+ with the spk DVRUI_version = 0.7.0 installed and working for LiveTV .. I also have a DVR subscription that I have with an EMBY server able to view, schedule and record OTA TV. I am unable to get the HDHomerun software to record on any device its installed on. I can view LiveTV ( on HDHomerun ) see the program schedules and also it appears to allow me to schedule but nothing gets recorded. I do see the LiveTV files on the synology during playback so the DVR Engine is working. Any clues to why the record scheduling isn't functional or what to look for?

The other anomaly is http://my.hdhomerun.com/ page returns "No HDHomeRun DVR detected." ??

diag below:
---------- OS and ENV VARIABLES --------------------------------------------------
Operating System = Linux xxxxx-NAS-1 3.2.40 #23739 SMP Tue Jul 3 19:46:55 CST 2018 armv7l
HTTP_HOST = 10.10.10.xx
SERVER_NAME = 10.10.10.xx
SERVER_ADDR = 10.10.10.xx
SERVER_SOFTWARE = nginx/1.13.3
SYS TEMP = /var/services/tmp
---------- PHP INFO -------------------------------------------------------------
php version = 7.2.13
php.ini file = /volume1/@appstore/PHP7.2/misc/php-fpm.ini
php.ini date.timezone = Canada/Eastern
date_default_timezone_get() = Canada/Eastern
---------- DVRUI VARS -----------------------------------------------------------
DVRUI_DEBUG =
DVRUI_name = Synology HDHomeRun DVR Manager
DVRUI_version = 0.7.0
DVRUI_TZ =
---------- PERMISSIONS ----------------------------------------------------------
style = 0755
style/style.css = 0644
---------- CONNECTIVITY CHECKS --------------------------------------------------
DVRUI_apiurl = http://api.hdhomerun.com/
Discover URL = http://api.hdhomerun.com/discover
Ping to api.hdhomerun.com success
curl extension = not available
checking alternative connection
stream returned = [ { "DeviceID": "104CF8D5", "LocalIP": "10.10.10.xx", "BaseURL": "http://10.10.10.xx", "DiscoverURL": "http://10.10.10.xx/discover.json", "LineupURL": "http://10.10.10.xx/lineup.json" } ]
---------- HDHR TUNERS-----------------------------------------------------------
tuner(0) id: xxxxxx
tuner(0) model: HDHR4-2US
tuner(0) firmware: 20190621
tuner(0) baseurl: http://10.10.10.xx
tuner(0) auth: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
---------- HDHR DVR ENGINES------------------------------------------------------

Post Reply