NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 8 9 10 11 12 … 34 Next »
Request for supporting Ceton devices on Linux

 
  • 0 Vote(s) - 0 Average
Request for supporting Ceton devices on Linux
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,516
Threads: 963
Joined: May 2006
#221
2023-02-16, 11:50 AM
Right but I asked you to stop testing this way for a few reasons,

- this is the test comand to make sure the API connection and opendct work and you tested it many times
- it doesn't create the return response to the server which is the part that is broken
- using /dev/null was not so we can see a file but so we can see the python file working.after you removed the comments.
- this method will not work with NextPVR

If you do want to test for yourself, with a filename run with a real filename like you originally were doing. It likely won't play right away but if it is growing you should be able to use ffplay after a minute or so.
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#222
2023-02-16, 04:55 PM (This post was last modified: 2023-02-16, 05:05 PM by run088.)
as far as /dev/null the python code does work as expected
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,516
Threads: 963
Joined: May 2006
#223
2023-02-16, 05:44 PM
Something else is going on. I don't know what opendct1.sh, is you shouldn't be starting even using bash on the command line and passing /dev/null as the filename doesn't make too much sense. Regardless this is not the test I want.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#224
2023-02-16, 09:45 PM
here you go

# 136,139,150,152 removed
raw
timeout 15

codes ran shown in term.log (copy and paste of the running screen during test)


Attached Files
.zip   opendct.zip (Size: 5.39 KB / Downloads: 0)
.zip   term.zip (Size: 9.84 KB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,516
Threads: 963
Joined: May 2006
#225
2023-02-16, 10:02 PM
The term log looks fine with no timeout now. And what happens when you put the comments back and try with NextPVR?

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#226
2023-02-16, 10:14 PM
failed in the browser in nextpvr with nothing hitting the opendct log


Attached Files
.zip   nrecord.zip (Size: 64.73 KB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,516
Threads: 963
Joined: May 2006
#227
2023-02-16, 11:18 PM
After uncommenting what does this show

bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110 \"DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822\" > /dev/null

If that fails try this.

bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110 \"DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822"> /dev/null

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#228
2023-02-17, 01:21 AM
jrun@impact4solutions:/var/opt/nextpvr/scripts$ bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110\"DCT-Ceton-InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822\" > /dev/null
>

jrun@impact4solutions:/var/opt/nextpvr/scripts$ bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110 \"DCT-Ceton-InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822"> /dev/null
/var/opt/nextpvr/scripts/opendct.sh: line 1: $'\r': command not found
START DCT-Ceton-InfiniTV PCIe (00-80-84-b9) Tuner 4|7822|1110|12345678|stdout|Great
listening
ERROR Invalid Input

Exit
GET_SIZE DCT-Ceton-InfiniTV PCIe (00-80-84-b9) Tuner 4
timed out
Exit
STOP DCT-Ceton-InfiniTV PCIe (00-80-84-b9) Tuner 4
OK

Exit



(with the "|" added. without it creates null with a space after the name)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,516
Threads: 963
Joined: May 2006
#229
2023-02-17, 01:27 AM (This post was last modified: 2023-02-17, 01:29 AM by mvallevand.)
That first one is the error I expected, so the extras file is bad.

The second might be a bad copy/paste try this

Code:
bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110 \"DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822" > /dev/null

The start stop command are not valid for this test and don't worry about piping anything yet.
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#230
2023-02-17, 02:04 AM
seems like its running.


jrun@impact4solutions:~$ bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110 \"DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822" > /dev/null
/var/opt/nextpvr/scripts/opendct.sh: line 1: $'\r': command not found
START DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4|7822|1110|12345678|stdout|Great
listening
waiting
OK


====================================================


OpenDCT 0.5.32

Loaded Capture Devices:

DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 1: Idle
DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 2: Idle
DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 3: Idle
DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4: Recording to stdout
DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 5: Idle
DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 6: Idle



ceton web page shows it running as well
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to get Hauppage firmware running on Linux Mint Higgo 9 1,027 2025-07-09, 07:50 AM
Last Post: Higgo
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 1 313 2025-07-03, 12:12 AM
Last Post: mvallevand
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 0 216 2025-07-03, 12:02 AM
Last Post: Siftingice
  Linux Command Line To Initiate SchedulesDirect EPG Update LinuxDVR 1 559 2025-04-13, 06:35 PM
Last Post: mvallevand
  Linux install failed -- permission denied? FrogFan 4 1,061 2025-03-26, 12:39 AM
Last Post: FrogFan
  Is there a 'recommended' version/release of Linux? Bobthegoldfish 1 675 2024-12-24, 12:28 AM
Last Post: mvallevand
  Downgrade on Linux eriberg 3 804 2024-09-04, 08:46 PM
Last Post: mvallevand
  Pi5 / Firefox 128.0 - ctrl key in devices screen does not work TheRealRoland 4 1,009 2024-08-02, 07:26 PM
Last Post: TheRealRoland
  linux mint 22 bccicone 2 852 2024-08-01, 10:10 PM
Last Post: bccicone
  Client Recommendations on Linux devarionarias 6 2,456 2024-06-18, 04:31 PM
Last Post: devarionarias

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

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

Linear Mode
Threaded Mode