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
#211
2023-02-13, 07:17 PM (This post was last modified: 2023-02-13, 07:22 PM by run088.)
Everything has been uncommented in the opendct.py file. Here is a copy


Attached Files
.7z   opendct.7z (Size: 6.6 KB / Downloads: 2)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#212
2023-02-13, 07:31 PM
Only the lines with stderr, this one print(data) that is on 138 should still have a comment

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#213
2023-02-13, 07:34 PM
nope its been unmarked. Check the last file I uploaded.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#214
2023-02-13, 07:59 PM
That is where I saw the error it doesn't appear to have # on the line

File "/var/opt/nextpvr/scripts/opendct.py", line 138, in media_server
print(data)
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#215
2023-02-14, 12:16 AM (This post was last modified: 2023-02-14, 11:56 AM by run088.)
I shut off ipv6 to the machine as well due to the log. It still shows up in the log but its not on
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#216
2023-02-14, 11:10 AM (This post was last modified: 2023-02-14, 01:34 PM by run088.)
sorry

As far as that goes . Ive had the changes in the file you ask for. It will not send a file to opendct. It just does not

# has been removed from
136,139,150,152

RawSageTV has been set

Socket was extended to 15

Ive ran that python code over and over and nothing. Logs wont even mention the command has been run. I went through and uncommented EVERY #. And tried. Then got a brand new copy and made the same changes you ask for and still nothing
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#217
2023-02-14, 01:01 PM
No that test is bad you likely are using the correct command line which has the quotes around the names.

I am not interested in you posts running a test through Plex or NextPVR at this point only the python file with the comments remove using the command line I gave you. Feel free to try what you want but please don't post them, it adds to the clutter.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#218
2023-02-16, 04:37 AM
Think I might have got the /dev/null sorted.

I had to recreate it and change its permissions but I think its working.

I think the opendct.sh file needs modified. It produces (/dev/null ) as opposed to (/dev/null)

This seem to work but there may be a better way to do it

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

However (/dev/null ) produces a streaming file that expands when active and turns to zero when its not. The file does stream when its active.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#219
2023-02-16, 07:55 AM
What do you want that test to do? It doesn't make a lot of sense to me.

However if python3 /var/opt/nextpvr/scripts/opendct.py START "$2" $1 $3 filename creates the file and it doesn't stop after a few seconds then the issue is probably the python server code. Best to wait until I have time to retest this using an HDHR device.

Martin.
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#220
2023-02-16, 08:49 AM
when it goes into /dev/null I have no idea what its doing other than the logs say its fine writing to there with no errors. pretty sure null is just a black hole

before I fixed the code with the '|'

it was creating a file with an extra space on the end of it. 'dev/null ' That file would expand into a file that I can open up in vlc and play. Whenever I issued the stop command it would lose that stored data and have a value of 0

This happens when I call the py or the sh script as far as pointing them anywhere other than '/dev/null'

But nextpvr seems like it wont run the script. There is never any activity in the logs of opendct about connections from nextpvr. Nextpvr creates a file in my live buffer directory and a file named the same with a .map extension but no data feeds to it. nextpvr logs just indicate its waiting for a connection

On another note
The file Raw creates does expand in size but vlc cant play it of get any info from it. I have no idea if its usable to nextpvr. The file coming from dynamic is a mpeg-ts and does play in vlc

ffmpeg will play the Raw file based on those other old test
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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