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: 52,767
Threads: 954
Joined: May 2006
#41
2019-12-23, 09:42 PM
Did you add the writeopen line to opendct.py? If you want I can do it.

Martin
dapharsyde
Offline

Junior Member

Posts: 24
Threads: 1
Joined: Dec 2019
#42
2019-12-24, 11:17 AM
(2019-12-23, 09:42 PM)mvallevand Wrote: Did you add the writeopen line to opendct.py?  If you want I can do it.

Martin

I added it...
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#43
2019-12-24, 12:47 PM
Ok when you do the sequence that goes copy once/never do you get a video telling you that? I'd like to see the opendct logs but that is what I am now expecting.

Martin
dapharsyde
Offline

Junior Member

Posts: 24
Threads: 1
Joined: Dec 2019
#44
2019-12-24, 11:06 PM
(2019-12-24, 12:47 PM)mvallevand Wrote: Ok when you do the sequence that goes copy once/never do you get a video telling you that?  I'd like to see the opendct logs but that is what I am now expecting.

Martin

Hi - I added the change to the .py file (and added a : at the end of the elif line), and of course, now I'm no longer having issues with the "Copy Never" bit showing up.  Tried 10 times and it did not come up.

I did these tests using the .py script with the "START" and "STOP" commands.

Unfortunately it seems my NextPVR configuration got messed up somehow, as attempting to play video from the web UI gives a "Failed to start requested stream" error now.

For now, I am going to put this down for awhile.  I've managed to get LiveTV working in Emby (this was my actual end goal) using MythTV as the PVR instead.

I will keep my eye on this forum for your next release of the openDCT tool, that supports multiple tuners.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#45
2019-12-26, 05:57 PM (This post was last modified: 2019-12-26, 05:57 PM by mvallevand.)
Thanks for helping to test.   The attached should enable multiple tuners.  Replace the opendct jar file in the OpenDCT folder with the one in this zip.  Source is a available if you want it, (open source and all) it is a two line change to change the port based on an identifier I never needed.

The first thing to test is using just the jar and the new opendct.py file and see if it still works with the default port of 7819.  The logs should show 7819 where 8888 was before (that was my old placeholder)

After that you can change to add the port parameters for opendct.py as a third parameter.  I think you can increment them 7820, 7821 etc.

You would also need to update the extras in NextPVR to include the port value

Martin


Attached Files
.zip   opendct.zip (Size: 620.44 KB / Downloads: 3)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#46
2020-01-23, 08:34 PM
I was working on another extras style device and I no experienced the issue you were having, and it is definitely browser related.  What happens in the browser is that when you click stop the server still continues transcoding the stream from the Ceton until the lease runs out, which can be from 0-15 seconds.   The browser is definitely not designed for channel zapping.   

You can probably put some kind of lock in the sh file to avoid calls to the extra while the previous call is in progress.  I personally wouldn't bother since it won't impact Kodi or Emby and if you wait 15 seconds in the browser you won't have an issue either.   I would remove the extra delay you added since I don't think that is necessary if you wait.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#47
2020-04-01, 02:13 AM
(2019-12-26, 05:57 PM)mvallevand Wrote: Thanks for helping to test.   The attached should enable multiple tuners.  Replace the opendct jar file in the OpenDCT folder with the one in this zip.  Source is a available if you want it, (open source and all) it is a two line change to change the port based on an identifier I never needed.

The first thing to test is using just the jar and the new opendct.py file and see if it still works with the default port of 7819.  The logs should show 7819 where 8888 was before (that was my old placeholder)

After that you can change to add the port parameters for opendct.py as a third parameter.  I think you can increment them 7820, 7821 etc.

You would also need to update the extras in NextPVR to include the port value

Martin

How would you go about changing the port value and third parameter?

Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#48
2020-04-01, 02:21 AM
I would use the jar and python file from this link https://forums.nextpvr.com/showthread.ph...#pid533059 and it should print the extras files to stdout

python3 opendct.py PROPERTIES.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#49
2020-04-01, 02:54 AM
Im sorry I didnt see any python files. I found the jar. There was a windows bat file. Im on ubuntu. And after I complete this will I need switch the jar back? I have been following the directions from this thread up to now.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#50
2020-04-01, 02:58 AM
This jar is compatible with SageTv if that is what you mean. The python file should be in the windows zip it doesn't have the installer logic so it just creates one big file you need to edit

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 7 Guest(s)

Pages (29): « Previous 1 … 3 4 5 6 7 … 29 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux Command Line To Initiate SchedulesDirect EPG Update LinuxDVR 1 152 2025-04-13, 06:35 PM
Last Post: mvallevand
  Linux install failed -- permission denied? FrogFan 4 391 2025-03-26, 12:39 AM
Last Post: FrogFan
  Is there a 'recommended' version/release of Linux? Bobthegoldfish 1 353 2024-12-24, 12:28 AM
Last Post: mvallevand
  Downgrade on Linux eriberg 3 417 2024-09-04, 08:46 PM
Last Post: mvallevand
  Pi5 / Firefox 128.0 - ctrl key in devices screen does not work TheRealRoland 4 596 2024-08-02, 07:26 PM
Last Post: TheRealRoland
  linux mint 22 bccicone 2 510 2024-08-01, 10:10 PM
Last Post: bccicone
  Client Recommendations on Linux devarionarias 6 1,509 2024-06-18, 04:31 PM
Last Post: devarionarias
  Linux setup - Help a Windows user... prothed 18 2,335 2024-06-03, 11:08 AM
Last Post: Rod Hutchinson
  Install NexPVR backend in Buildroot based Linux Tnix 3 958 2024-03-14, 11:50 AM
Last Post: mvallevand
  Wake after Suspend issue with dvbt devices (LE12 Kodi 21) ShadowMask 41 4,378 2024-02-09, 07:11 AM
Last Post: ShadowMask

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

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

Linear Mode
Threaded Mode