QNAP QPKG for DVR Record Engine

Downloads & Instructions
Post Reply
demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

Removed - see OP for correct version and link
Last edited by demonrik on Fri Oct 01, 2021 4:16 pm, edited 1 time in total.

demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

Removed - see OP for correct version and link
Last edited by demonrik on Fri Oct 01, 2021 4:15 pm, edited 1 time in total.

321liftoff
Posts: 145
Joined: Sat Apr 17, 2010 4:22 am
x 1

Re: QNAP QPKG for DVR Record Engine

Post by 321liftoff »

I notice that the qpkg filesize difference between 0.9.32 and 0.9.33 is almost double. Any particular reason for this?

demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

321liftoff wrote: Sat Aug 18, 2018 9:32 am I notice that the qpkg filesize difference between 0.9.32 and 0.9.33 is almost double. Any particular reason for this?
Most likely is the record engine file size - I've not really paid attention but it is by far the largest binary file there.

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

Re: QNAP QPKG for DVR Record Engine

Post by gtb »

321liftoff wrote: Sat Aug 18, 2018 9:32 am I notice that the qpkg filesize difference between 0.9.32 and 0.9.33 is almost double. Any particular reason for this?
I have no special knowledge about the actual details (and I am much much too lazy to actually check), but I will note that the more recent recorder engines seems to now have strings in the binary for using https for communications to the SD cloud services rather than http, and there is a bunch of x509 and tls strings too which makes sense for https traffic. Crypto has a price, and one of those prices is code size.

321liftoff
Posts: 145
Joined: Sat Apr 17, 2010 4:22 am
x 1

Re: QNAP QPKG for DVR Record Engine

Post by 321liftoff »

According to Google Cached change log (they removed all the references to beta record engines in the current change log), the only change was "Start without requiring internet connection." So likely, they had to beef up the record engine to not have to call home and instead run standalone?

roklem
Posts: 66
Joined: Sun May 10, 2015 10:32 am

Re: QNAP QPKG for DVR Record Engine

Post by roklem »

Updated QNAP firmware, HDHomerun tuner software, and HDHomerun DVR software and it seems everything is now dead. Anyone else have the issue?

Recording engine no longer shows up in http://my.hdhomerun.com/

HDHomerun app on windows no longer sees the DVR.

DVR is running, but something is weird. It is pointed still to the shows, it sees months of logs files, but no recorded shows show up. Also this weird log:

20180819-16:42:08 Recorded: RecordPath '/share/HDHomeRun/' (ext)
20180819-16:42:08 Recorded: directory /share/HDHomeRun/@Recycle/ with 0 subdirs and 0 recordings
20180819-16:42:08 Recorded: directory /share/HDHomeRun/The Young and the Restless/ with 0 subdirs and 1 recordings
20180819-16:42:10 Recorded: directory /share/HDHomeRun/Bull/ with 0 subdirs and 22 recordings
20180819-16:42:11 Recorded: directory /share/HDHomeRun/Hawaii Five-0/ with 0 subdirs and 23 recordings
20180819-16:42:13 Recorded: directory /share/HDHomeRun/Lethal Weapon/ with 0 subdirs and 19 recordings
20180819-16:42:15 Recorded: directory /share/HDHomeRun/NCIS/ with 0 subdirs and 23 recordings
20180819-16:42:16 Recorded: directory /share/HDHomeRun/S.W.A.T/ with 0 subdirs and 22 recordings
20180819-16:42:19 Recorded: directory /share/HDHomeRun/The 100/ with 0 subdirs and 42 recordings
20180819-16:42:19 Recorded: directory /share/HDHomeRun/Me, Myself & I/ with 0 subdirs and 5 recordings
20180819-16:42:23 Recorded: directory /share/HDHomeRun/Scorpion/ with 0 subdirs and 69 recordings
20180819-16:42:26 Recorded: directory /share/HDHomeRun/NCIS New Orleans/ with 0 subdirs and 31 recordings
20180819-16:42:28 Recorded: directory /share/HDHomeRun/Criminal Minds/ with 0 subdirs and 36 recordings
20180819-16:42:28 Recorded: directory /share/HDHomeRun/Blindspot/ with 0 subdirs and 4 recordings
20180819-16:42:29 Recorded: directory /share/HDHomeRun/The Orville/ with 0 subdirs and 9 recordings
20180819-16:42:29 Recorded: directory /share/HDHomeRun/24 Legacy/ with 0 subdirs and 12 recordings
20180819-16:42:30 Recorded: directory /share/HDHomeRun/The Brave/ with 0 subdirs and 13 recordings
20180819-16:42:31 Recorded: directory /share/HDHomeRun/NCIS Los Angeles/ with 0 subdirs and 21 recordings
20180819-16:42:33 Recorded: directory /share/HDHomeRun/SEAL Team/ with 0 subdirs and 21 recordings
20180819-16:42:33 Recorded: directory /share/HDHomeRun/Marvel's Agents of S.H.I.E.L.D/ with 0 subdirs and 5 recordings
20180819-16:42:33 Recorded: directory /share/HDHomeRun/@Recently-Snapshot/ with 0 subdirs and 0 recordings
20180819-16:42:33 Recorded: directory /share/HDHomeRun/ with 20 subdirs and 0 recordings

20180819-16:45:41 Recording: event download failed

demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

roklem wrote: Sun Aug 19, 2018 9:59 am Updated QNAP firmware, HDHomerun tuner software, and HDHomerun DVR software and it seems everything is now dead. Anyone else have the issue?
What did you update the DVR from?
My bet is it's a permissions issue where the recordings are for one user, and the engine is running as another.

ssh to the qnap nas and look at the permissions on a recording, e.g.

Code: Select all

ls -l /share/HDHomeRun/The Orville/*
should get a list similar to

Code: Select all

[color=#FF0000]-rw[/color][color=#0000FF]-rw[/color][color=#FFFF00]-r-[/color]- 1 [color=#FF0000]httpdusr[/color] [color=#0000FF]administrators[/color] 2270645012 Jul 19 20:30 recording.mpg
The red tells you who owns it and the owner permissions - in this case httpdusr owns the file, and has read and write access
The blue tells you which groups can access and their permissions - in this case administrators group has read and write access
Yellow is for everyone else - all others only have read access.
Assuming everything is running right you should see it owned by the httpdusr user for the engine, with read write.. or owned by someone else, but at least part of the httpusr group, or failing that at least have read or read/write access for all others.

To check the engine is running as right user, simple do the following

Code: Select all

ps -ef | grep hdho
should see something similar to

Code: Select all

[color=#FF0000]httpdusr[/color]     10779     1  0 Aug18 ?        00:02:01 /tmp/hdhomerun_record_arm start --conf /HDHomeRunDVR.conf
Here you want to see it running as httpdusr

If engine is running right, but the file permissions are different..
You can change owner of the files easily with

Code: Select all

chown -R httpdusr /share/HDHomeRun/*

roklem
Posts: 66
Joined: Sun May 10, 2015 10:32 am

Re: QNAP QPKG for DVR Record Engine

Post by roklem »

Answers:
Google dropbox.


[/share/HDHomeRun] # ls -l Blindspot/
total 26583756
-rw-rw-r-- 1 httpdusr administrators 6805650760 2018-04-27 21:00 Blindspot S03E19 20180427 [20180428-0000].mpg


[/share/HDHomeRun] # ps -ef | grep hdho
15455 admin 1036 S grep hdho
17767 httpdusr 1472 S /tmp/hdhomerun_record_x64 start --conf /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.conf

----------------

Support thinks that possibly there is an issue with the DVR engine getting to their authentication service. I've asked them for the URL as I do have PiHole and Quad9 filtering for malware / adware enabled and perhaps they got added to a blackhole.

demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

roklem wrote: Sun Aug 19, 2018 3:28 pm Support thinks that possibly there is an issue with the DVR engine getting to their authentication service. I've asked them for the URL as I do have PiHole and Quad9 filtering for malware / adware enabled and perhaps they got added to a blackhole.
Very likely something like that - because permissions look good.
clients must not be able to authorize properly.

ppilot
Posts: 121
Joined: Mon Dec 17, 2007 7:33 pm

Re: QNAP QPKG for DVR Record Engine

Post by ppilot »

Are there instructions somewhere about how to use DVR UI?

demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

ppilot wrote: Wed Aug 29, 2018 8:50 pm Are there instructions somewhere about how to use DVR UI?
there used to be, but the thread got old so was removed by the system.
I'm travelling right now, so can't create a new one - but once I return I do plan to make some minor updates, and an SPK package, and will start a new thread to capture the info.
For now - most of it is pretty instinctive to use. The creating recordings is the most complex.. But since other than explicitly deleting your episodes (you have to click delete) there is very little chance to screw things up - just experiment.

srunner2001
Posts: 17
Joined: Mon Nov 14, 2016 10:28 am

Re: QNAP QPKG for DVR Record Engine

Post by srunner2001 »

New to the QNAP, but I've used the HDHomeRun and DVR on Windows for awhile. I tried the NAS install in the windows drivers, my.hdhomerun.com never saw the DVR, but the installer confirmed it was installed successfully. I then tried this package, same thing. Also when I run the app from the QNAP I just get a white box, I can go to the URL. However in the HDHomeRun Apps, they say No DVR Configured. Where should I start looking? Thanks in advance.

jasonl
Silicondust
Posts: 16810
Joined: Sun Oct 28, 2007 9:23 pm
x 60

Re: QNAP QPKG for DVR Record Engine

Post by jasonl »

srunner2001 wrote: Wed Sep 26, 2018 4:53 pm New to the QNAP, but I've used the HDHomeRun and DVR on Windows for awhile. I tried the NAS install in the windows drivers, my.hdhomerun.com never saw the DVR, but the installer confirmed it was installed successfully. I then tried this package, same thing. Also when I run the app from the QNAP I just get a white box, I can go to the URL. However in the HDHomeRun Apps, they say No DVR Configured. Where should I start looking? Thanks in advance.
You have the subnet mask set wrong on your NAS. It's set to 255.255.0.0 but it looks like the rest of your network is using 255.255.255.0.

srunner2001
Posts: 17
Joined: Mon Nov 14, 2016 10:28 am

Re: QNAP QPKG for DVR Record Engine

Post by srunner2001 »

jasonl wrote: Wed Sep 26, 2018 5:03 pm
srunner2001 wrote: Wed Sep 26, 2018 4:53 pm New to the QNAP, but I've used the HDHomeRun and DVR on Windows for awhile. I tried the NAS install in the windows drivers, my.hdhomerun.com never saw the DVR, but the installer confirmed it was installed successfully. I then tried this package, same thing. Also when I run the app from the QNAP I just get a white box, I can go to the URL. However in the HDHomeRun Apps, they say No DVR Configured. Where should I start looking? Thanks in advance.
You have the subnet mask set wrong on your NAS. It's set to 255.255.0.0 but it looks like the rest of your network is using 255.255.255.0.
Thanks! That was it, somehow I must have missed that when setting the static IP on the QNAP. I appreciated the assistance!

Post Reply