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
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,165
Threads: 958
Joined: May 2006
#51
2019-12-01, 01:06 AM
I see the error on connect

File "opendct.py", line 69, in sendMessage
sock.connect(server_address)
ConnectionRefusedError: [Errno 111] Connection refused

Could you try VERSION again?

I do expect PROPERTIES could fail and I see it it got past the connect line.

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#52
2019-12-01, 01:36 AM
Testing from my SageTV Ubuntu Linux server, where SageTV connects to the R5000 fine:

root@sagetv-linux:/home/sagetv# python3 opendct.py VERSION
VERSION
2

Exit


root@sagetv-linux:/home/sagetv# python3 opendct.py PROPERTIES
PROPERTIES
Exit
Traceback (most recent call last):
File "opendct.py", line 188, in <module>
main(sys.argv)
File "opendct.py", line 41, in main
payload = sendMessage(message)
File "opendct.py", line 74, in sendMessage
data = sock.recv(1024)
socket.timeout: timed out
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,165
Threads: 958
Joined: May 2006
#53
2019-12-01, 01:43 AM (This post was last modified: 2019-12-01, 01:43 AM by mvallevand.)
Ok that is better it is connecting now. It must have been the windows linefeed. We just don't know if we need the property or not.

Try

python3 opendct.py START R5ooo-HD channel-number filename-on-the-r5000 server

run for 10 seconds or so and check if it is recording to the file on the r5000 box

this should stop it

python3 opendct.py STOP R5ooo-HD

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#54
2019-12-01, 01:58 AM
OK, the NextCom app indicates its recording and when I run the second command it stops. The only thing is I can't find the file that it seems to be creating. :-) Doing a search of the C drive but haven't found it.... yet.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,165
Threads: 958
Joined: May 2006
#55
2019-12-01, 02:00 AM
Sounds really positive, if you didn't give a path it will like be with the server. That is what OpenDCT did.

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#56
2019-12-01, 02:14 AM (This post was last modified: 2019-12-01, 02:18 AM by checkbin99.)
Yes it does.  I tried giving it a c:\<filename> but it changed it to c:<filename> (without the slash).  Found it!  It was saved in C:\Program Files (x86)\R5000HD.  Played the file with VLC and it looks great!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,165
Threads: 958
Joined: May 2006
#57
2019-12-01, 02:26 AM
Best to use the slash since windows and linux accept it and you don't need to escape it.

Does your r5000 server support direct streaming back to SageTV without needing the intermediate file? If so we can try the final test

python3 opendct.py START R5ooo-HD channel-number | ffplay -i pipe: -v panic

you can pipe it to file if you prefer.

You shouldn't need the stop, when the pipe is broken it will stop automatically.

If streaming doesn't work the results are unknown.

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#58
2019-12-01, 03:27 AM
I'm not sure if the R5000 supports streaming directly back to SageTV.  I suspect not, since when I set up SageTV with the R5000 it has to record to a shared drive with the same path on both the R5000 and SageTV servers.  I tried the command you suggested with this result:

desktop:~/Downloads$ python3 opendct.py START R5ooo-HD 190 | ffplay -i pipe: -v panic
START R5ooo-HD|8888|190|12345678|stdout|Great
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "opendct.py", line 92, in media_server
    sockMediaServer.bind((host, port))  # bind host address and port together
OSError: [Errno 99] Cannot assign requested address

OK

Exit
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,165
Threads: 958
Joined: May 2006
#59
2019-12-01, 03:32 AM
That error looks like you can't open the ,server on port 7818. It might need sudo. You did get an ok back but that might mine it was recording. Check for the file stdout on the server

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#60
2019-12-01, 03:49 AM
still error using sudo:

desktop:~/Downloads$ sudo python3 opendct.py START R5ooo-HD 190 | ffplay -i pipe: -v panic
START R5ooo-HD|8888|190|12345678|stdout|Great
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "opendct.py", line 92, in media_server
    sockMediaServer.bind((host, port))  # bind host address and port together
OSError: [Errno 99] Cannot assign requested address

OK

Exit


Yes, I see in the NetxCom app that the R5000 is recording and in the R5000 base directory I see a file being created called 12345678
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (26): « Previous 1 … 4 5 6 7 8 … 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,120 2020-10-06, 12:32 PM
Last Post: mvallevand
  Connecting NVPR to Emby Plugin NVPR Geek 0 1,353 2018-06-10, 12:32 AM
Last Post: NVPR Geek
  YouTube Plugin whurlston 645 188,599 2017-11-25, 07:52 PM
Last Post: ga_mueller
  Newb here: Can someone help with a Plex Plugin issue? wepham 1 3,224 2017-02-07, 07:10 AM
Last Post: petenshari
  System Plugin Confused by New NPVR Naming Scheme Lao Pan 1 2,736 2016-09-25, 08:26 AM
Last Post: imilne
  Movies2 Plugin Problem... Anyone using it? ga_mueller 5 4,476 2016-08-22, 07:02 PM
Last Post: ga_mueller
  Network Recorder with more than 1 NPVR (how to)? SFX Group 9 6,161 2016-03-03, 05:57 PM
Last Post: UncT
  Plex Plugin Nikkie300 4 6,192 2016-01-24, 05:59 PM
Last Post: Nikkie300
  NextPVR Plex plugin, no live TV ajmast 15 9,653 2015-10-29, 03:45 AM
Last Post: ajmast
  Cant restart record service using System plugin on 3.4.8 shaunpatrick77 3 2,835 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