NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 2 3 4 5 20 Next »
Using R5000-HD with Network Recorder Plugin

 
  • 0 Vote(s) - 0 Average
Using R5000-HD with Network Recorder Plugin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#221
2020-01-12, 03:42 PM
I think the last line, rm "$nextname"  might be causing recording to stop.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#222
2020-01-12, 03:47 PM (This post was last modified: 2020-01-12, 03:47 PM by mvallevand.)
Your r5000.sh is calling openddct.py not r5000.py like opendct.sh is so the files aren't the same.

I do notice that these sh files both call GET_SIZE not GET_FILE_SIZE which is now returning a size in the output from opendct.sh

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#223
2020-01-12, 03:48 PM
(2020-01-12, 03:42 PM)checkbin99 Wrote: I think the last line, rm "$nextname"  might be causing recording to stop.
There is a STOP command issued before the remove which should be causing the recording to stop.

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#224
2020-01-12, 03:56 PM
Sorry about the mixup in the r5000.sh script.  I was switching the opendct call back and forth and didn't realize it was still calling opendct.py. I think I'm getting bleary eyed looking at these scripts.   I don't know how you do it.  :-)

Yes I changed back to GET_SIZE as it seemed it was not working at all with GET_FILE_SIZE.

So with the call to r5000.py, both scripts continue to record now.  So where are we at now?  Is there still hope?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#225
2020-01-12, 04:09 PM
If GET_SIZE is returning a size then use it however I would change r5000.py back to GET_SIZE to match. The reason I changed is the Windows program was using GET_FILE_SIZE and I saw it returning a value with your windows logs way back in this thread. This should allow you to remove the sleep 15 you added in the sh file.

If the testing those work then you should be able to use opendct.sh from the extra by reversing the ffmpeg lines.

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#226
2020-01-12, 04:38 PM
Sounds good. Can you explain what you mean by reversing the ffmpeg lines?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#227
2020-01-12, 04:45 PM
You commented out the good line with -v panic and added a new line that won't send any date to the pipe.

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#228
2020-01-12, 05:43 PM
Ah yes, of course.  Thank you.

Well mostly good news.  I can tune either of the R5000 channels!  Yaay!

However I had to keep the sleep in with a delay of at least 9.  With the sleep line removed or if it was less than 9, recording would not start, or im most cases it stayed on the previous channel.

With sleep set to 9, I can change back and forth between channels fine.  However,, from the time I select the channel in the NPVR Guide, it takes approx. 18 seconds before the picture shows up.


Still great progress.  Thank you so much Martin!  Is there any way now to reduce that 18 second delay and still get the R5000 to start recording? Latest logs attached.


Attached Files
.zip   logs-20200112-1243.zip (Size: 1.05 MB / Downloads: 1)
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#229
2020-01-12, 05:49 PM
BTW, even more good news. Emby works now too with the NPVR plugin. Delay to tune is the same there... 17 to 18 seconds. Hey but at least it works!!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#230
2020-01-12, 05:53 PM
Did your test with script indicate the file was growing with GET_SIZE and did you edit r5000.py to use GET_SIZE.

Also remember you aren't using a real client so part of that delay is transcoding.

2020-01-12 12:30:08.334 [DEBUG][139] Running: bash -c "/var/opt/nextpvr/scripts/opendct.sh 190 R5ooo-HD"
2020-01-12 12:30:17.256 [DEBUG][122] {"status": "Receiving Data. (50000)","final": false,"speed": 0,"duration": 0,"percentage": 0}
2020-01-12 12:30:21.758 [DEBUG][124] {"status": "Transcoding.... (100% speed: 7.07x)","final": true,"speed": 7.07,"duration": 0,"percentage": 100}

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (26): « Previous 1 … 21 22 23 24 25 26 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to configure RemoteRecorder Plugin to use remote NextPVR instance? bm_00 5 3,102 2020-10-06, 12:32 PM
Last Post: mvallevand
  Connecting NVPR to Emby Plugin NVPR Geek 0 1,344 2018-06-10, 12:32 AM
Last Post: NVPR Geek
  YouTube Plugin whurlston 645 187,616 2017-11-25, 07:52 PM
Last Post: ga_mueller
  Newb here: Can someone help with a Plex Plugin issue? wepham 1 3,211 2017-02-07, 07:10 AM
Last Post: petenshari
  System Plugin Confused by New NPVR Naming Scheme Lao Pan 1 2,722 2016-09-25, 08:26 AM
Last Post: imilne
  Movies2 Plugin Problem... Anyone using it? ga_mueller 5 4,458 2016-08-22, 07:02 PM
Last Post: ga_mueller
  Network Recorder with more than 1 NPVR (how to)? SFX Group 9 6,137 2016-03-03, 05:57 PM
Last Post: UncT
  Plex Plugin Nikkie300 4 6,181 2016-01-24, 05:59 PM
Last Post: Nikkie300
  NextPVR Plex plugin, no live TV ajmast 15 9,619 2015-10-29, 03:45 AM
Last Post: ajmast
  Cant restart record service using System plugin on 3.4.8 shaunpatrick77 3 2,826 2015-05-19, 02:20 PM
Last Post: imilne

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode