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 … 7 8 9 10 11 … 34 Next »
Request for supporting Ceton devices on Linux

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

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#161
2023-02-11, 09:23 PM
here is the logs. Let me know if you need others


Attached Files
.7z   J.7z (Size: 15.09 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,110
Threads: 957
Joined: May 2006
#162
2023-02-11, 09:48 PM
Ok, so you haven't tried to play this in NextPVR yet, just running the script.

When I check your command

sudo python3 opendct.py "START" "DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 1" 1003 | ffplay -i pipe: -v panic

I think you are missing the port number on the test. Does the extra file have an additional parameter after the 1003?

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#163
2023-02-11, 09:52 PM
<extras>
<channel name="{channel-name}">
<command>bash</command>
<args>-c "/var/opt/nextpvr/scripts/opendct.sh {channel} \"DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 1\" 7824\"</args>
</channel>
</extras>
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,110
Threads: 957
Joined: May 2006
#164
2023-02-11, 10:03 PM (This post was last modified: 2023-02-11, 10:05 PM by mvallevand.)
Actually it doesn't matter it will send the default port 7819 for testing (it has been a long time since I had a look at this) you could add 7824 for completeness but it isn't necessary.

This looks good.

16:01:28.774 [SageTVRequestHandler-85Big GrinCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 1] INFO NIOSageTVMediaServer - Connecting to SageTV server on socket /192.168.2.254:7819...

but this means the python server error

16:04:18.794 [SageTVRequestHandler-89:Unknown] DEBUG SageTVRequestHandler - SageTV sent: 'STOP DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 1'

but the server was running and communicating well

Edit opendct.py and remove the comment character # in front of lines 136 and 139, 150 and 152 and try the test again. You can redirect to a file instead of ffplay.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#165
2023-02-11, 10:10 PM
no # on those lines
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#166
2023-02-11, 10:19 PM
sudo bash opendct.sh 1110 "DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 1" /tmp/some.ts

stills plays 1mb file.

That is if you wanted the # in front of the print lines.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,110
Threads: 957
Joined: May 2006
#167
2023-02-11, 10:39 PM
That syntax is wrong you want > /dev/null or a file.

Which opendct.py file are you using? Maybe zip it and I can compare with the one I am looking at here, there should be some output to stderr on the console.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#168
2023-02-11, 10:43 PM
I put back the #'s This seemed to introduce errors and slowdown


Attached Files
.7z   opendct.7z (Size: 2.48 KB / Downloads: 1)
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#169
2023-02-11, 10:51 PM
sudo python3 opendct.py "START" "DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 1" 1003 /tmp/so.ts

and stop seem to work fine and produce files. This is without your last changes
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#170
2023-02-11, 11:04 PM
/var/opt/nextpvr/scripts$ sudo bash opendct.sh 1110 "DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 1" /tmp/some.ts
START DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 1|1110|12345678|/tmp/some.ts|Great
OK

Exit
GET_SIZE DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 1
679996

Exit
STOP DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 1
OK

This is what produces the  1mb file
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (29): « Previous 1 … 15 16 17 18 19 … 29 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 1 37 Yesterday, 12:12 AM
Last Post: mvallevand
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 0 23 Yesterday, 12:02 AM
Last Post: Siftingice
  How to get Hauppage firmware running on Linux Mint Higgo 8 390 2025-06-13, 08:31 AM
Last Post: mvallevand
  Linux Command Line To Initiate SchedulesDirect EPG Update LinuxDVR 1 352 2025-04-13, 06:35 PM
Last Post: mvallevand
  Linux install failed -- permission denied? FrogFan 4 687 2025-03-26, 12:39 AM
Last Post: FrogFan
  Is there a 'recommended' version/release of Linux? Bobthegoldfish 1 477 2024-12-24, 12:28 AM
Last Post: mvallevand
  Downgrade on Linux eriberg 3 581 2024-09-04, 08:46 PM
Last Post: mvallevand
  Pi5 / Firefox 128.0 - ctrl key in devices screen does not work TheRealRoland 4 784 2024-08-02, 07:26 PM
Last Post: TheRealRoland
  linux mint 22 bccicone 2 644 2024-08-01, 10:10 PM
Last Post: bccicone
  Client Recommendations on Linux devarionarias 6 1,901 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