NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
1 2 3 4 5 … 37 Next »
Revisting NextCom R5000-HD and Having Issues

 
  • 0 Vote(s) - 0 Average
Revisting NextCom R5000-HD and Having Issues
checkbin99
Offline

Member

Posts: 144
Threads: 2
Joined: Nov 2019
#1
2026-05-15, 06:52 PM
I have a Linux server running NextPVR 6 and a few years ago had it configured to work with my NextCom R50000-HD network encoder and DISH network.  I ad to switched to FIOS and have not used the R5000 and am now trying to set it up again.  The R500 is working perfectly writing to a QNAP network NFS share.  However when acccessing the R5000 from my NextPVR Linux server, the R5000 appears to b writing to the share but it is actually creating a zero byte file.   The file is readable and writeable by owner, group, and everyone else (666 permissions).  If from the command line as the NextPVR user (currently called sagetv I run the command:
    python3 r5000.py START R5ooo-HD 150   /R5000_Recordings/todays_test-on-the-r5000.  The opendct.sh file is called by an extra.xml file and the opendct calls an opendct.py script provided by Martin a few years ago.

The file todays_test-on-the-r5000 is created fine and has watchable video.

My opendct.sh file is as follows:
nextname=//R5000_Recordings//$2.ts

openname=\\R5000_Recordings/$2.ts

#example translations
#nextname=/media/recordings/$2.ts
#openname=\\172.16.3.105\Recordings\$2.ts
#openname=K:\$2.ts

opendct=/var/opt/nextpvr/scripts/opendct.py

python3 $opendct STOP "$2"
python3 $opendct START "$2" $1 "$openname"
python3 $opendct GET_SIZE "$2"
ffmpeg -re -i "$nextname" -f mpegts -codec copy -v panic -
#ffmpeg -re -i "$nextname" -f mpegts -codec copy -
#ffmpeg -re -i "$nextname" -f mpegts -codec copy -y /dev/null
python3 $opendct STOP "$2"
rm "$nextname"

I've been beating my head against the wall on this for days now to no avail.  Frustrating since it was working the last time I used it bad sadly don't have all the config files from when it was.  Since it still works in SageTV it seems like I'm missing something simple, but I can't wrap my head around it.  Can anyone point me in the right direction on this.

-Bil
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 55,504
Threads: 988
Joined: May 2006
#2
2026-05-15, 07:19 PM
I would start be writing some test python and see if python runs in the PreStartup.sh script. python might not work as the nextpvr user

Martin
checkbin99
Offline

Member

Posts: 144
Threads: 2
Joined: Nov 2019
#3
2026-05-15, 09:24 PM
Thanks Martin. But wouldn't the fact that the command " python3 r5000.py START R5ooo-HD 150 /R5000_Recordings/todays-test-on-the-r5000" records a file perfectly on the same share prove that python is working as expected?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 55,504
Threads: 988
Joined: May 2006
#4
2026-05-15, 09:38 PM
That doesn't look like a file nextpvr would create. I don't know how python is installed on your machine bur running as user nextpvr will be completely different from any other user account, that is why you want to test.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Large EPG issues - Slow & missing Spaldo 6 827 2026-02-16, 04:37 PM
Last Post: mvallevand
  Ubuntu 22.04 - NextPVR Scan Issues (Singapore DVBT2) idefixrc 2 1,850 2023-11-10, 01:06 AM
Last Post: idefixrc
  Fresh Xubuntu Install with Tuner Issues (or permissions issues?) larrybari 13 4,892 2022-11-16, 04:27 AM
Last Post: larrybari
  IPTV M3U8 multiple audio track issues Polat87 26 11,500 2021-05-24, 09:13 PM
Last Post: Pseudomax
  Issues with PVR recording directory meanioni 2 2,219 2021-03-25, 09:28 PM
Last Post: meanioni
  Recording and playing issues gwbraa99 1 1,373 2020-10-28, 02:53 AM
Last Post: mvallevand
  Recording Issues shspvr 35 11,747 2019-08-28, 07:18 AM
Last Post: sub
  install issues donbrew 9 5,153 2019-08-10, 05:54 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode