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 10-10-2015, 04:11 PM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
Unwanted channels on Linux with HDHomeRun

I'm working on the Linux 64bit using the native HDHomeRun2.0 (which uses the libhdhomerun). I'm testing with SiliconDust HDHomeRun DVB-C devices in Europe (Switzerland). I compare the result with my 32bit Windows SageTV 7.x installation (using the Windows BDA driver for the HDHomeRun DVB-C devices).

Now on my linux I get more channels in the Sage frontend as I want. Quite some are just empty entries and I get the radio stations as well.

I did some code review and came across some code which might be related to it. I'm not sure if I'm on the right track and would need some hints

I see mainly in the native/ax libraries the usage of the serivce_type as part of the channel structure. There are several checks based on the value and out of the native logs I see that in my setup the service types for all my channels.

In NativeCore/TSFilter.c there is a function _dvb_service_type_ which prints out the meaning of the value.

Code:
	if ( type == 0 ) return "ERROR";
	if ( type == 1 ) return "Digital TV";
	if ( type == 2 ) return "Digital Radio";
	return "other";
There are several locations within ax/Native2.0 directory where this type gets evaluated with statements like in ChannelScan.c

Code:
pChannelList->channel[pChannelList->channel_num].u.dvb.service_type = service==3?2:1;
or

Code:
pChannelList->channel[i].u.dvb.service_type==2?"(r)":""
Now I'm still a bit confused as at least the Radio topic should work, but I get the Radios in my channel list. I see an issue with a new service type which is in my case 25 for HD channels. I see a need to adapt the expressions in a way to map 25 just to 1. However I don't get why all the Radios and the "garbage" - I guess the "others" - are showing up in the channel list.

Obviously I miss the trace to the Java code from here, I just started and I don't see where this data gets used in the Java code, probably somewhere in the CaptureDevice? This trace will for sure help to progress.
__________________
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
Reply


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
Linux HDHomeRun DVB-T beta tester wanted donkey SageTV Beta Test Software 0 10-09-2009 06:28 PM
HDHomerun + Linux + 6.6.2 HELP with EPG voidstar SageTV EPG Service 2 08-25-2009 09:15 PM
linux Sagetv.6.5.12 HDHomerun SuiDog SageTV Beta Test Software 2 04-17-2009 04:10 AM
Manually removing unwanted channels - .frq files - advice needed. sfag SageTV EPG Service 8 01-27-2009 11:03 AM
SageTV 4 Keeps Adding Unwanted Channels david zero SageTV Software 1 12-23-2007 07:29 PM


All times are GMT -6. The time now is 09:17 PM.


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