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

Posting Freak

Ontario Canada
Posts: 53,172
Threads: 958
Joined: May 2006
#231
2023-02-17, 02:19 AM
That is promising that means you can find the line in opendct.py around 81 or 82 after the command that is similar and replace it with

Code:
xml.write(('    <args>-c "/var/opt/nextpvr/scripts/opendct.sh {channel} \\"' + device + '\\" ' + str(openport) + '\"</args>\n'))

and rerun the INSTALL

Then go into NextPVR and remove the Ceton Extras (hold the Ctrl Key) and then rescan and import them again. Or just stop the service and delete npvr.db3 and restart with a clean slate.

If that doesn't work upload your opendct.py file and I can do it.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#232
2023-02-17, 03:58 AM
It launches now but it stays on the waiting for device screen. No video ever comes threw and I have to manually stop the stream or the tuner keeps going
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,172
Threads: 958
Joined: May 2006
#233
2023-02-17, 04:07 AM
I would first need the NextPVR log to make sure I got it right. These test with file output would need to work now too.

bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110 \"DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822" | ffplay -i pipe:

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


Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#234
2023-02-17, 04:33 AM (This post was last modified: 2023-02-17, 04:50 AM by run088.)
ffplay never gets a stream
second command works. somefile.ts

somefile.ts can be found where ever the command line generates from
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,172
Threads: 958
Joined: May 2006
#235
2023-02-17, 08:42 AM
For the first one could you pipe to ffprobe instead?

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

It would useful getting your zipped opendct.py now.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#236
2023-02-17, 03:25 PM (This post was last modified: 2023-02-17, 03:27 PM by run088.)
jrun@impact4solutions:~/recordings$ bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110 \"DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822" | ffprobe -i pipe:
/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
ffprobe version 4.4.2-0ubuntu0.22.04.1 Copyright © 2007-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 70.100 / 56. 70.100
  libavcodec    58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter    7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample  3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
waiting
OK


Attached Files
.zip   opendct.zip (Size: 2.49 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,172
Threads: 958
Joined: May 2006
#237
2023-02-17, 03:41 PM
Is it possible you saved opendct.sh with a Windows editor somewhere in your testing?

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#238
2023-02-17, 04:27 PM (This post was last modified: 2023-02-17, 04:32 PM by run088.)
maybe. Yesterday I think I fixed line 82 with notepad++ coping your code into it. Then I copied that file back over the old one. I was half a sleep when I did it but I think thats what I did. that was the py not the sh
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,172
Threads: 958
Joined: May 2006
#239
2023-02-17, 04:36 PM
I think that is the \r you are seeing. you can run dos2unix on opendct.sh if you have it to see if that changes things.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#240
2023-02-17, 04:59 PM
That worked. Should I run it on the py file?
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

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