QNAP QPKG for DVR Record Engine

Downloads & Instructions
Post Reply
demonrik
Posts: 1219
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

Updates from SD coming fast..
New prebuilt package HDHomeRunDVR_0.5.3e.qpkg available with the latest DVR Engine ver:20160318atest1 https://www.silicondust.com/forum/viewt ... 20#p200920

Aailable as ever via
https://drive.google.com/folderview?id= ... sp=sharing

Rew452
Posts: 239
Joined: Wed Nov 23, 2011 1:18 pm

Re: QNAP QPKG for DVR Record Engine

Post by Rew452 »

demonrik wrote:
Rew452 wrote:Using Qnaps defaults seem a better choice, so I would:

1. Shut down/stop HDHomeRun/HdHomeRunDVR then move share hdhomerun contents to HDHomeRunDVR share, Right? Can I use Qnaps File mgr to do this or what ?
if it's still running - yes.
And yep - File Manager works :) You can leave behind the hdhomerun_record and config file.
2. /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.sh stop
I would make sure you do this BEFORE the copying ;)
3. Restart HDHomeRunDVR and all should be well.

Please verify and make any suggestions.

Thanks
Rew
Sounds good.
Hey demonrik

I ended up waiting until this morning to make the move and most seems to work.
I did update to your 0.53e package before starting.
All my recordings show but now I can't record anything.

When I look at the record directory there is no HDHomeRun_record or config file, I did not copy them from old directory as you said; but they have not been re-created in the new HDHomeRunDVR. Is there some other issue that need to be fixed?

20160319-11:15:56System:server time = Sat Mar 19 11:15:56 2016 (correction of 0s)
20160319-11:15:56Recording:record Murder, She Wrote S02E21 19860413 [20160319-1100] on 241 (1000000 14)
20160319-11:15:56Recording:event download success
20160319-11:15:56Recording:disk space available = 3599GB
20160319-11:15:56Recording:current time = Sat Mar 19 11:15:56 2016 (correction of 0s)
20160319-11:15:56Recording:event Murder, She Wrote S02E21 19860413 [20160319-1100] creating new worker
20160319-11:15:56Recording:next timer event in 0h44m34s
20160319-11:15:56Recording:sending request to 13176341 at 192.168.1.148 for Murder, She Wrote S02E21 19860413 [20160319-1100]
20160319-11:15:56Recording:failed to create dir for Murder, She Wrote Murder, She Wrote S02E21 19860413 [20160319-1100]

Thanks
Rew

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

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

You won't see the binary or config file in the recordings folder.
They are installed in the app folder

Code: Select all

/share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR
That kind of error is usually permissions related.
Since you have a logfile the engine clearly has permissions to write to the main folder.

Am guessing you copied over recordings?
Was there a 'Murder, She Wrote' in those previous recordings?
If so, am betting the permissions are set so only admin user is only user allowed to right, but we need to allow the Web user, so need group permissions, so run

Code: Select all

chmod -R g+w /share/Recordings/HDHomeRunDVR
Then try another recording

Also, can you post the output of

Code: Select all

ls -l /share/Recordings/HDHomeRunDVR
Just in case there is something else

Rew452
Posts: 239
Joined: Wed Nov 23, 2011 1:18 pm

Re: QNAP QPKG for DVR Record Engine

Post by Rew452 »

Thanks, looks like permissions was the key; chmod -R g+w /share/Recordings/HDHomeRunDVR

Look like all is well now.

Rew

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

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

Rew452 wrote:Thanks, looks like permissions was the key; chmod -R g+w /share/Recordings/HDHomeRunDVR

Look like all is well now.

Rew
Yeah!! :mrgreen:
Enjoy

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

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

Yet another updated DVR engine

New prebuilt package HDHomeRunDVR_0.5.3f.qpkg available with the latest DVR Engine ver:20160321atest1 https://www.silicondust.com/forum/viewt ... 74#p201874

Available as ever via
https://drive.google.com/folderview?id= ... sp=sharing

Rew452
Posts: 239
Joined: Wed Nov 23, 2011 1:18 pm

Re: QNAP QPKG for DVR Record Engine

Post by Rew452 »

Hey, demonrik any chance you will have an updated qpkg for the latest release?

Also, can you please put together a step by step guide to updating Qnap' s Qpkg for HDHomeRunDVR, have downloaded SDK and HDHomeRun master but still a little shaky about creating the updated Qpkg, could use some guidance.

Thanks again for you fine efforts.

Rew

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

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

Rew452 wrote:Hey, demonrik any chance you will have an updated qpkg for the latest release?
Already posted 1 post above you -> 0.5.3f
Also, can you please put together a step by step guide to updating Qnap' s Qpkg for HDHomeRunDVR, have downloaded SDK and HDHomeRun master but still a little shaky about creating the updated Qpkg, could use some guidance.

Thanks again for you fine efforts.

Rew
It's actually in the README..
If you don't want to change the parameters, and you've installed the QDK it's very straight forward
  1. execute fetch_record_engine.sh to download the latest DVR engine
  2. execute qbuild to build the QPKG
  3. to install manually simply run 'sh build/HDHomeRunDVR_<version>.qpkg
To be honest I wouldn't change much in the qpkg.cfg file - but would advise updating the 'QPG_VER=' to something unique for your build.

thevoiceover
Posts: 50
Joined: Sat Sep 22, 2007 3:01 pm

Re: QNAP QPKG for DVR Record Engine

Post by thevoiceover »

Rew452 wrote:Hey, demonrik any chance you will have an updated qpkg for the latest release?
demonrik wrote:Already posted 1 post above you -> 0.5.3f
I think maybe he was referring to 20160328atest2 .. Thx

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

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

thevoiceover wrote: I think maybe he was referring to 20160328atest2 .. Thx
Ahh..
I don't create a build until @nickk updates the changelog in case it gets pulled.

Rew452
Posts: 239
Joined: Wed Nov 23, 2011 1:18 pm

Re: QNAP QPKG for DVR Record Engine

Post by Rew452 »

Thanks, and sorry somehow I was thinking the yesterday's update was a record engine update when it was a firmware update for the tuners.

My background is limited in linux, give me dos and windows I am fine. So please forgive my ignorance.

I need some more detail if you don't mind please.

I did install Qdk and it said it installed; so I think that ok but the rest is were I am unclear.If you could fill in a bit for me I would really appreciate.

Use putty, right?

1. Once you have cloned the package to your system.
How do I clone the package?

2. cd to the QDK project directory
Did cloning the package create this or do I?

3. Run the fetch_record_engine.sh script to get the latest DVR binary from SiliconDust

4. Build the QPKG with 'qbuild --force-config'

Thanks
Rew

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

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

Rew452 wrote:I did install Qdk and it said it installed; so I think that ok but the rest is were I am unclear.If you could fill in a bit for me I would really appreciate.
you will also need to install the 'git' qpkg from the appcenter
This will be how you clone the repository and/or contribute back.
Use putty, right?
That's what I use - but any method you have to open an ssh session on the NAS will do.
1. Once you have cloned the package to your system.
How do I clone the package?
This is why you need git
decide where you want to keep the QDK project.. I have a subfolder in /share/Public called /share/Public/Projects
cd to that folder and then execute

Code: Select all

 git clone https://github.com/Silicondust/dvr_install.git 
This will download/clone the SD dvr_install repository.
2. cd to the QDK project directory
Did cloning the package create this or do I?
Yes - it will be <projects>/dvr_install/qnap
3. Run the fetch_record_engine.sh script to get the latest DVR binary from SiliconDust

4. Build the QPKG with 'qbuild --force-config'
You don't have to use the --force-config any more - just qbuild with no options.

Once you run qbuild you should have a new package built in <projects>/dvr_install/qnap/build
you can either install it through the app center or simply execute it, e.g.

Code: Select all

sh builds/HDHomeRunDVR_0.5.3f.qpk
Once you do this once - you simply need to run the fetch, qbuild, sh once @nickk updates the builds and you will have the latest.

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

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

also - I just checked and fetching the latest does return a new build of the engine
There is nothing in the changelog, but the version is 20160328atest2.

New package uploaded to my google drive for v0.5.3g with the latest engine

Rew452
Posts: 239
Joined: Wed Nov 23, 2011 1:18 pm

Re: QNAP QPKG for DVR Record Engine

Post by Rew452 »

You are the Man!

Thanks, I will work with it tomorrow, did not see this until to late for tonight, It looks straight forward to me now but may have questions hopefully you won't mind.

thanks
Rew

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

Re: QNAP QPKG for DVR Record Engine

Post by demonrik »

Rew452 wrote:You are the Man!

Thanks, I will work with it tomorrow, did not see this until to late for tonight, It looks straight forward to me now but may have questions hopefully you won't mind.

thanks
Rew
Not at all.. Ask away.
If you want more interactive, I'm on discord most of the time.
Created channel https://discord.gg/0uzKaTiMjCwvanxM to support this

Post Reply