SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-26-2015, 02:14 AM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
Linux server native libhdhomerun

I proposed a change to upgrade the current third_party/SiliconDust/libhdhomerun to the newest release from SiliconDust 20150615.

This upgrade impacts the native/so/HDHomeRun2.0/sage_HDHomeRun.cp, the version function call changed from the current version to the latest.

It works for me on Linux (ubuntu 14.04) 64bit with a HDHR hdhomerun3_dvbc, but I couldn't test 32bit and not any US HDHR products (using ATSC and QAM), nor DVB-T.

If you could run a test and log it here for ATSC or QAM would be great in order to get confirmation that still all runs with this upgrade.

The pull request is https://github.com/google/sagetv/pull/27 - use the specific commit to compile and run.

Be aware: this is libhdhomerun native, not using the dvbhdhomerun kernel modules on linux!
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #2  
Old 08-27-2015, 07:51 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
I'd been playing around with updating the libhdhomerun today. I actually used the latest one that just came out yesterday, 20150826. Seems to work fine with both ATSC & QAM.

However, looks like in 20150826 they completely deprecated hdhomerun_discover_find_devices_custom and replaced it with hdhomerun_discover_find_devices_custom_v2. Looks like the parameters are identical. Changed it without any apparent consequences.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #3  
Old 08-30-2015, 02:32 PM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
Post

Discovered that update as well, but I have some troubles with the 20150826 build, could not figure out why. I stay currently on the 20150618 build. I would say now we can pull it in as narflex suggested. Afterwards I will start to work on the 0826 update and will do another loop like this one if it runs on my side.

I started to work on proper discovery of all tuners, which is just hardcoded to 2 tuners per device, however mine has 4. See sage_HDHomeRun.cp and search for "// TODO: get actual number and types of tuners, types needed for DVB-T support" - it just make 2 tuners by default. I see a need to check the number of tuners. I would currently do something like:

Code:
// get number of tuners for this device
int tunernumber = 0;
int hdreturn = 1;
for (tunernumber=0; hdreturn > 0; tunernumber++) {
	hdhomerun_device_set_tuner(hd, tunernumber);
}
DebugLog(env, "New HDHomeRun device tuner count %d\n", tunernumber);
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #4  
Old 09-01-2015, 03:39 PM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
libhdhomerun 20150615 merged into sagetv. Updated correct tuner count (including support for devices with more than 2 tuners), as well merged into sagetv.

Will start to work on upgrading to 20150826.
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #5  
Old 05-03-2016, 09:44 AM
hugenbdd hugenbdd is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Cincinnati, KY
Posts: 81
Any word on if the latest HDHR lib was integrated with SageTV?

I'm running the Docker Image on unRAID. It picks up a lot of channels, but seems to be missing some channels that work in windows.

Thanks
Dave
Reply With Quote
Reply

Tags
linux hdhomerun hdhr


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WTB Linux Server License razrsharpe SageTV Marketplace 2 09-06-2014 07:52 AM
Linux server? matt91 SageTV Marketplace 0 06-26-2012 08:08 AM
linux oem cannot connect to server ctmjr SageTV Linux 2 03-29-2011 05:12 PM
Linux Server Questions jchiso SageTV Linux 7 12-22-2010 07:39 AM
6.2.7 Linux Server bcjenkins SageTV Beta Test Software 1 08-30-2007 08:47 PM


All times are GMT -6. The time now is 12:35 PM.


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