SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   Hardware Support (http://forums.sagetv.com/forums/forumdisplay.php?f=9)
-   -   OpenDCT: An open source digital cable tuner. (http://forums.sagetv.com/forums/showthread.php?t=62774)

EnterNoEscape 12-16-2015 05:25 PM

We are now up to 0.3.9-Beta.

The changes were a little easier than I expected. I hope this cleans things up for everyone having issues with the local address being detected. Please let it auto-detect first since I want to see if I actually fixed the detection or not.

Also if you messed with the settings, please change them back to the following for the best experience:
upnp.dct.hdhr_tuning=true
upnp.dct.http_tuning=true

MattHelm 12-16-2015 05:31 PM

You might also add an "exclude IP list". I have a VPN that directly connects my recorder to my dad's, and I really don't want it trying to use those tuners across the internet. I had a DLNA server try to bind to that address. :D

EnterNoEscape 12-16-2015 06:01 PM

That might be a little harder to accomplish. Are you saying that you had this issue with OpenDCT? I'll need to see if Cling supports filtering like this out of the box. If not, in the mean time, the best I could do is simply drop any IP that comes back that's undesirable.

nyplayer 12-16-2015 06:07 PM

Quote:

Originally Posted by EnterNoEscape (Post 581824)
We are now up to 0.3.9-Beta.

The changes were a little easier than I expected. I hope this cleans things up for everyone having issues with the local address being detected. Please let it auto-detect first since I want to see if I actually fixed the detection or not.

Also if you messed with the settings, please change them back to the following for the best experience:
upnp.dct.hdhr_tuning=true
upnp.dct.http_tuning=true

This worked it populated the right IP addresses I now get signal.

Code:

#OpenDCT Configuration File
#Wed Dec 16 15:54:51 PST 2015
channels.prime.ignore_channels_csv=
channels.prime.ignore_names_containing_csv=Target Ads,VZ_URL_SOURCE,VZ_EPG_SOURCE
channels.prime.remove_duplicate_channels=true
channels.update=true
consumer.ffmpeg.circular_buffer_size=7864320
consumer.ffmpeg.max_analyze_duration=5000000
consumer.ffmpeg.max_probe_size=5617370
consumer.ffmpeg.min_analyze_duration=800000
consumer.ffmpeg.min_probe_size=800128
consumer.ffmpeg.min_upload_id_transfer_size=20680
consumer.ffmpeg.rw_buffer_size=20680
consumer.ffmpeg.upload_id_enabled=true
consumer.ffmpeg.upload_id_port=7818
hdhr.always_force_lockkey=false
hdhr.enabled=false
hdhr.locking=true
log.remove_after_days=30
pm.enabled=true
pm.network.resume_timeout_ms=120000
producer.nio.udp_receive_buffer=1328000
rtp.new.default_producer_impl=opendct.producer.NIORTPProducerImpl
rtsp.new.default_impl=opendct.video.rtsp.DCTRTSPClientImpl
rtsp.port_high=8500
rtsp.port_low=8300
sagetv.device.-1181897347.delay_to_wait_after_tuning=0
sagetv.device.-1181897347.device_name=DCT-HDHomeRun Prime Tuner 131A192A-2
sagetv.device.-1181897347.encoder_level=3.0
sagetv.device.-1181897347.encoder_listen_port=9000
sagetv.device.-1181897347.encoder_merit=0
sagetv.device.-1181897347.exclusive_server_address=
sagetv.device.-1181897347.fast_network_encoder_switch=true
sagetv.device.-1181897347.last_channel=2
sagetv.device.-1181897348.delay_to_wait_after_tuning=0
sagetv.device.-1181897348.device_name=DCT-HDHomeRun Prime Tuner 131A192A-1
sagetv.device.-1181897348.encoder_level=3.0
sagetv.device.-1181897348.encoder_listen_port=9000
sagetv.device.-1181897348.encoder_merit=0
sagetv.device.-1181897348.exclusive_server_address=
sagetv.device.-1181897348.fast_network_encoder_switch=true
sagetv.device.-1181897348.last_channel=-1
sagetv.device.-1181897349.delay_to_wait_after_tuning=0
sagetv.device.-1181897349.device_name=DCT-HDHomeRun Prime Tuner 131A192A-0
sagetv.device.-1181897349.encoder_level=3.0
sagetv.device.-1181897349.encoder_listen_port=9000
sagetv.device.-1181897349.encoder_merit=0
sagetv.device.-1181897349.exclusive_server_address=
sagetv.device.-1181897349.fast_network_encoder_switch=true
sagetv.device.-1181897349.last_channel=733
sagetv.device.346616718.delay_to_wait_after_tuning=0
sagetv.device.346616718.device_name=DCT-HDHomeRun Prime Tuner 13147C7B-0
sagetv.device.346616718.encoder_level=3.0
sagetv.device.346616718.encoder_listen_port=9000
sagetv.device.346616718.encoder_merit=0
sagetv.device.346616718.exclusive_server_address=
sagetv.device.346616718.fast_network_encoder_switch=true
sagetv.device.346616718.last_channel=-1
sagetv.device.346616719.delay_to_wait_after_tuning=0
sagetv.device.346616719.device_name=DCT-HDHomeRun Prime Tuner 13147C7B-1
sagetv.device.346616719.encoder_level=3.0
sagetv.device.346616719.encoder_listen_port=9000
sagetv.device.346616719.encoder_merit=0
sagetv.device.346616719.exclusive_server_address=
sagetv.device.346616719.fast_network_encoder_switch=true
sagetv.device.346616719.last_channel=-1
sagetv.device.346616720.delay_to_wait_after_tuning=0
sagetv.device.346616720.device_name=DCT-HDHomeRun Prime Tuner 13147C7B-2
sagetv.device.346616720.encoder_level=3.0
sagetv.device.346616720.encoder_listen_port=9000
sagetv.device.346616720.encoder_merit=0
sagetv.device.346616720.exclusive_server_address=
sagetv.device.346616720.fast_network_encoder_switch=true
sagetv.device.346616720.last_channel=-1
sagetv.device.global.ignore_devices_csv=
sagetv.device.global.only_devices_csv=
sagetv.device.global.required_devices_loaded_count=0
sagetv.device.global.required_devices_loaded_timeout_ms=30000
sagetv.device.parent.1281833207.cable_card_inserted=true
sagetv.device.parent.1281833207.consumer=opendct.consumer.FFmpegSageTVConsumerImpl
sagetv.device.parent.1281833207.device_name=HDHomeRun DRI Tuner 13147C7B
sagetv.device.parent.1281833207.lineup=dct_prime
sagetv.device.parent.1281833207.local_ip_override=192.168.0.150
sagetv.device.parent.1281833207.manufacturer=Silicondust
sagetv.device.parent.1281833207.offline_scan=false
sagetv.device.parent.1281833207.rtsp=opendct.video.rtsp.DCTRTSPClientImpl
sagetv.device.parent.1293650468.cable_card_inserted=true
sagetv.device.parent.1293650468.consumer=opendct.consumer.FFmpegSageTVConsumerImpl
sagetv.device.parent.1293650468.device_name=HDHomeRun DRI Tuner 131A192A
sagetv.device.parent.1293650468.lineup=dct_prime
sagetv.device.parent.1293650468.local_ip_override=10.0.0.13
sagetv.device.parent.1293650468.manufacturer=Silicondust
sagetv.device.parent.1293650468.offline_scan=false
sagetv.device.parent.1293650468.rtp.producer=opendct.producer.NIORTPProducerImpl
sagetv.device.parent.1293650468.rtsp=opendct.video.rtsp.DCTRTSPClientImpl
sagetv.encoder_discovery_port=8271
sagetv.log_noop_and_size=false
sagetv.min_tuning_time_ms=500
sagetv.new.default_consumer_impl=opendct.consumer.FFmpegSageTVConsumerImpl
sagetv.new.device.default_encoder_merit=0
sagetv.new.device.default_tuning_delay=0
sagetv.new.device.increment_port=false
sagetv.new.device.socket_server_port_high=9100
sagetv.new.device.socket_server_port_low=9001
sagetv.new.device.socket_server_shared_port=9000
sagetv.use_automatic_loopback=false
upnp.dct.fast_tuning=false
upnp.dct.hdhr_tuning=true
upnp.dct.http_tuning=true
upnp.dct.offline_detection_min_bytes=18800
upnp.dct.wait_for_offline_detection_s=8
upnp.enabled=true
upnp.new.device.schema_filter_strings_csv=schemas-cetoncorp-com,schemas-dkeystone-com
upnp.new.device.search_strings_csv=schemas-cetoncorp-com,schemas-dkeystone-com
upnp.qam.automap_reference_lookup=true
upnp.qam.automap_tuning_lookup=false
upnp.service.configuration.use_dct=true


EnterNoEscape 12-16-2015 06:19 PM

Excellent. This is one of those really simple things that would drive me nuts if it still didn't work the way it really should.

nyplayer 12-16-2015 06:26 PM

Quote:

Originally Posted by EnterNoEscape (Post 581828)
Excellent. This is one of those really simple things that would drive me nuts if it still didn't work the way it really should.

Channel changes are fast 2 seconds or less.

KryptoNyte 12-16-2015 06:34 PM

This is very well thought out, nice work. (and at the same time, not to take away from any of the great functionality of both SageDCT and PNE, you folks are saving Sage for many of us)

Thank you.

EnterNoEscape 12-16-2015 06:57 PM

Quote:

Originally Posted by KryptoNyte (Post 581830)
This is very well thought out, nice work. (and at the same time, not to take away from any of the great functionality of both SageDCT and PNE, you folks are saving Sage for many of us)

Thank you.

Thank you!

I know he hasn't spoke up yet, but you really have Bill to thank for the stability. I wrote the majority of the code that makes it all work, but he exposed so many issues that you'll never need to experience because we fixed them. Even the smallest possible problem was not acceptable. :) And as I said before he provided invaluable code that sped up the release dramatically. I also wanted to add that he provided the code for standby support on Windows as that was very important to him. Needless to say it works extremely well.

We will be adding support for standby on Linux if it's asked for, I have some ideas that you'll see in the source code, but I feel like they are a little hacky (scripts and flag files) even though in practice they will work. Linux doesn't provide any terrific ways to get that kind of information especially from within a JVM.

We also could have provisioning for Mac if anyone wants to volunteer to add to the Gradle script to automate packaging for it, maintain compatibility and perform testing. I don't own a Mac and as such would never be able to verify functionality.

I also need some help on GitHub. I can't get the Windows GitHub program to stop messing with the EOL characters. I keep needing to manually fix all of the Linux scripts prior to building or the packages won't work when installed on Linux. I created a .gitattributes files that should be preventing these issues, but even after turning off the feature that supposedly fiddles with the files, I still get the wrong EOL's and can't commit the right ones because the git.exe won't let me.

KryptoNyte 12-16-2015 07:07 PM

Thank you, Bill.

dheinle 12-16-2015 09:05 PM

THANK YOU.

I upgraded to the latest version and it works flawlessly so far. I just tested it for a few minutes. I will record some things and hopefully not get a bunch of corrupted recordings now.

Again thank you for all your work.

spencerw 12-16-2015 09:20 PM

Quote:

Originally Posted by KryptoNyte (Post 581833)
Thank you, Bill.

You're very welcome. This is our way of thanking the community for all their hard work over the years in making SageTV such a great platform.

FriscoJohn 12-17-2015 12:28 AM

EscapeNoEnter:

I'd very much like to try your network encoder, especially since I can't get SageTV to work with SageDCT after upgrading to Win10. The problem is I can't figure out how to download it. I go to the BinTray site referenced on your initial post but no matter how furiously I click on things there I keep getting a greyed out download icon at the bottom of the page with the message, "No direct downloads selected for this package". I'm sure it's something I'm doing wrong but after two days of trying I've hit a dead end. Could you possible do a "Downloading for Dummies" post to help me and any others who may be so technically challenged?

Thanks in advance.

FriscoJohn 12-17-2015 12:44 AM

Oops, never mind. I somehow kept missing "Files" at the top of the page. Once I clicked on that, there it was. Looking forward to trying it out.

EnterNoEscape 12-17-2015 01:03 AM

I'm not a huge fan of the website layout either, but they are very open source friendly, I can automate uploads through Gradle and it's most importantly it's free. :)

jusjoken 12-17-2015 08:16 AM

Quote:

Originally Posted by EnterNoEscape (Post 581847)
I'm not a huge fan of the website layout either, but they are very open source friendly, I can automate uploads through Gradle and it's most importantly it's free. :)

Tip: when you publish on bintray, go back to the files list and next to each on pick an action "show in download list" and then users will see the downloads on the main page. (perhaps the api supports that too but have not checked).

k

dranockcir 12-17-2015 11:03 AM

Thanks spencerw and EnterNoEscape for your work on this.

I'm trying to try it out on Ubuntu (well Linux Mint Mate 17.2 really) and I have it installed but when I attempt to do the first run of the console-only script I get this:

rick@HP-Compaq-6200-Pro-SFF-PC:/opt/opendct$ ./console-only
cd: bad interpreter: No such file or directory

I do have it marked as executable and I've also tried with sudo

rick@HP-Compaq-6200-Pro-SFF-PC:/opt/opendct$ sudo ./console-only
[sudo] password for rick:
sudo: unable to execute ./console-only: No such file or directory

I'm not sure what's wrong :confused:

EnterNoEscape 12-17-2015 11:06 AM

Thanks. I was wondering how files ended up in there. I've been so focused on other things admittedly I didn't actually look into it. I don't think the API currently available in the Gradle plugin supports that. I'm trying to keep manual steps to a minimum so it doesn't become a task to create releases; not that clicking on a few files is a burden, but it shouldn't be necessary.

EnterNoEscape 12-17-2015 11:08 AM

Quote:

Originally Posted by dranockcir (Post 581859)
Thanks spencerw and EnterNoEscape for your work on this.

I'm trying to try it out on Ubuntu (well Linux Mint Mate 17.2 really) and I have it installed but when I attempt to do the first run of the console-only script I get this:

rick@HP-Compaq-6200-Pro-SFF-PC:/opt/opendct$ ./console-only
cd: bad interpreter: No such file or directory

I do have it marked as executable and I've also tried with sudo

rick@HP-Compaq-6200-Pro-SFF-PC:/opt/opendct$ sudo ./console-only
[sudo] password for rick:
sudo: unable to execute ./console-only: No such file or directory

I'm not sure what's wrong :confused:

Sounds like you got a release that GitHub mangled. Let me re-evaluate the files and get back to you.

EnterNoEscape 12-17-2015 11:20 AM

I just fixed the files and tested them. Mint should be just as good as Ubuntu if not a slightly better experience. I need to make the package building scripts do this as a fail safe. Just to be sure, do an apt-get remove opendct before installing the new package.

dranockcir 12-17-2015 01:46 PM

Quote:

Originally Posted by EnterNoEscape (Post 581863)
I just fixed the files and tested them. Mint should be just as good as Ubuntu if not a slightly better experience. I need to make the package building scripts do this as a fail safe. Just to be sure, do an apt-get remove opendct before installing the new package.

Yep, that was it, working great, easy to install and just running with the defaults, haven't changed any settings. :)

Thanks for the help. :goodjob:


All times are GMT -6. The time now is 01:10 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.