ATSC NoName channel fix (1 Viewer)

whurlston

Portal Pro
March 4, 2007
82
10
Home Country
United States of America United States of America
Sorry, but I am not familiar with how to submit changes to source code. Someone had an issue with the HDHomeRun where it would not find all his QAM channels during a scan. The issue was caused by the "NoName" naming convention. It was geared more to DVB user and not ATSC users and causing channels to be "updated" instead of "added". Using the latest trunk as of March 4, 2007, I changed lines 3502-3503 of TVCapture\Graphs\DVB\DVBGraphBase.cs from:
Code:
        if ( info.service_name.Length == 0 )
            info.service_name = String.Format("NoName:{0}{1}{2}{3}", info.networkID, info.transportStreamID, info.serviceID, i);
to:
Code:
        if ( info.service_name.Length == 0 )
        {
                    if (_networkType == NetworkType.ATSC) info.service_name = String.Format("NoName:  {0}-{1} ({2})", info.majorChannel, info.minorChannel, _currentTuningObject.PhysicalChannel);
                    else info.service_name = String.Format("NoName:{0}{1}{2}{3}", info.networkID, info.transportStreamID, info.serviceID, i);
        }

Now, when an ATSC channel without a service name is found, it will show up in the channel list as "NoName: {MajorCh}-{MinorCh} ({PhysicalCh})"
eg: NoName: 3-1 (47)

The patched DVBGraphBase.cs file along with a rebuilt TVCapture.dll can be downloaded from http://www.oshinetworks.com/HDHomeRun/TVCapture.zip

The dll works in version 0.2.2.0

If someone who knows more about submitting patches can do this, it would be much appreciated.
 

whurlston

Portal Pro
March 4, 2007
82
10
Home Country
United States of America United States of America
Sorry, been busy. I actually started working on two "scrapers" that pulled the data from MCE and Y! Go for TV but I suspended development once Schedules Direct announced a firm agreement with TMS and pricing.
 

Users who are viewing this thread

Top Bottom