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
Online

Posting Freak

Ontario Canada
Posts: 53,599
Threads: 964
Joined: May 2006
#91
2020-04-02, 01:45 AM (This post was last modified: 2020-04-02, 01:46 AM by mvallevand.)
What about this for opendct.sh I mixed up some Windows style when I typed in the last example

Code:
opendct=/var/opt/nextpvr/scripts/opendct.py
python3 $opendct START "$2" $1 $3  2> /dev/null
python3 $opendct GET_SIZE "$2" 2> /dev/null
python3 $opendct STOP "$2" 2> /dev/null

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#92
2020-04-02, 02:16 AM
just goes back to prompt like before
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,599
Threads: 964
Joined: May 2006
#93
2020-04-02, 03:01 AM
It definitely works here what does ls -lt /var/opt/nextpvr/scripts/opendct.sh show

-rwxr-xr-x 1 root root 135 Apr 1 22:27 /var/opt/nextpvr/scripts/opendct.sh

There is a bug connecting to opendct on another server but you should still still see output if your remove the 2> /dev/null from all those lines.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#94
2020-04-02, 03:54 AM
root@livetv:/var/opt/nextpvr/scripts#
root@livetv:/var/opt/nextpvr/scripts# ls -lt /var/opt/nextpvr/scripts/opendct.sh-rwxr-xr-x 1 root root 178 Apr 1 22:15 /var/opt/nextpvr/scripts/opendct.sh
root@livetv:/var/opt/nextpvr/scripts#
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#95
2020-04-02, 03:57 AM
root@livetv:/var/opt/nextpvr/scripts# /var/opt/nextpvr/scripts/opendct.sh 2 "DCT-Ceton InfiniTV PCIe (00-80-0d-5a) Tuner 3" 7824 >/dev/null
/var/opt/nextpvr/scripts/opendct.sh: line 1: START: command not found
root@livetv:/var/opt/nextpvr/scripts#



opendct=/var/opt/nextpvr/scripts/opendct.py
python3 $opendct START "$2" $1 $3
python3 $opendct GET_SIZE "$2"
python3 $opendct STOP "$2"
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,599
Threads: 964
Joined: May 2006
#96
2020-04-02, 07:58 AM (This post was last modified: 2020-04-02, 12:44 PM by mvallevand.)
What shell are you running? It is like opendct variable is not being set.

Try this for opendct.sh

Code:
python3 /var/opt/nextpvr/scripts/opendct.py START "$2" $1 $3
python3 /var/opt/nextpvr/scripts/opendct.py GET_SIZE "$2"
python3 /var/opt/nextpvr/scripts/opendct.py STOP "$2"

Edit: fixed

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#97
2020-04-02, 12:32 PM
root@livetv:/var/opt/nextpvr/scripts# /var/opt/nextpvr/scripts/opendct.sh 2 "DCT-Ceton InfiniTV PCIe (00-80-0d-5a) Tuner 3" 7824 >/dev/null
/var/opt/nextpvr/scripts/opendct.sh: line 1: unexpected EOF while looking for matching `"'
/var/opt/nextpvr/scripts/opendct.sh: line 2: syntax error: unexpected end of file
root@livetv:/var/opt/nextpvr/scripts#
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,599
Threads: 964
Joined: May 2006
#98
2020-04-02, 12:40 PM
Ok I see a missing double quote on that last line. Could you add that after the last "$2

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#99
2020-04-02, 01:52 PM
root@livetv:/var/opt/nextpvr/scripts# bash -c "/var/opt/nextpvr/scripts/opendct.sh 2 \"DCT-Ceton InfiniTV PCIe (00-80-0d-5a) Tuner 3\" 7824" >/dev/null
START DCT-Ceton InfiniTV PCIe (00-80-0d-5a) Tuner 3|7819|2|12345678|stdout|Great
listening
waiting
OK
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#100
2020-04-02, 01:54 PM
root@livetv:/var/opt/nextpvr/scripts# /var/opt/nextpvr/scripts/opendct.sh 2 "DCT-Ceton InfiniTV PCIe (00-80-0d-5a) Tuner 2" 7824 >/dev/null
START DCT-Ceton InfiniTV PCIe (00-80-0d-5a) Tuner 2|7819|2|12345678|stdout|Great
listening
OK
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (29): « Previous 1 … 8 9 10 11 12 … 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,138 2025-07-09, 07:50 AM
Last Post: Higgo
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 1 381 2025-07-03, 12:12 AM
Last Post: mvallevand
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 0 305 2025-07-03, 12:02 AM
Last Post: Siftingice
  Linux Command Line To Initiate SchedulesDirect EPG Update LinuxDVR 1 579 2025-04-13, 06:35 PM
Last Post: mvallevand
  Linux install failed -- permission denied? FrogFan 4 1,079 2025-03-26, 12:39 AM
Last Post: FrogFan
  Is there a 'recommended' version/release of Linux? Bobthegoldfish 1 683 2024-12-24, 12:28 AM
Last Post: mvallevand
  Downgrade on Linux eriberg 3 830 2024-09-04, 08:46 PM
Last Post: mvallevand
  Pi5 / Firefox 128.0 - ctrl key in devices screen does not work TheRealRoland 4 1,040 2024-08-02, 07:26 PM
Last Post: TheRealRoland
  linux mint 22 bccicone 2 869 2024-08-01, 10:10 PM
Last Post: bccicone
  Client Recommendations on Linux devarionarias 6 2,507 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