<div dir="ltr">Thanks, I have an HDHomeRun Prime with cable card.<div><br></div><div>I cleared the video source and added it again.  I could then use the "Fetch channels from listing source" button and that added in the channels I had enabled.  However I then noticed I missed a couple that I wanted to add and enabled them on schedules direct.  How do I get these ones in?  When I click the fetch channels button again it doesn't add them.  Do I have to clear the source for every new channel?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 22, 2017 at 7:55 AM, Michael T. Dean <span dir="ltr"><<a href="mailto:mtdean@thirdcontact.com" target="_blank">mtdean@thirdcontact.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/22/2017 12:52 AM, James Orr wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I tried truncating my channel table and re-running mythfilldatabase, still the channels I enabled on schedules direct are not showing up.<br>
<br></span><span class="">
On Thu, Sep 21, 2017 at 3:19 PM, James Orr  wrote:<br>
<br>
    I enabled some channels in schedules direct that I previously had<br>
    disabled, but when I run mythfilldatabase --do-channel-updates, it<br>
    is not adding those channels in.<br>
<br>
    Should I maybe wipe all the current listings so it can start<br>
    fresh?  Any other options I could try?<br>
<br>
</span></blockquote>
<br>
mythfilldatabase fills the database with channel listings, not with channels (despite what most MythTV users seem to think).  For certain types of channels it is possible for mythfilldatabase to add a channel to the database with only the information contained in the listings data, but this is not its intended purpose.  If you are using any kind of "internal" tuner and are not using analog TV (NTSC/PAL/SECAM), you cannot add channels to MythTV using mythfilldatabase.  Generally, now that analog TV is mostly gone, you can only expect mythfilldatabase to be able to add a channel if you use an external tuner (like CableCARD/OCUR/Firewire/...) and do not need any kind of tuning information--but instead use a tuning identifier ("channel number"/frequency ID)--to tell the external tuner to tune the channel you want using its own internal (non-MythTV) database of channel tuning information.<br>
<br>
If, however, you're using an internal tuner that tunes a digital channel, you will need to do a rescan to pick up the new channels--and, specifically, the information about how to tune the new channels.  Then you will have to set the XMLTV IDs for the channels, then mythfilldatabase will do its job--of populating listings for the channels already in your database.<br>
<br>
Note, too, that truncating the channels table left a whole bunch of connected information in your database.  Deleting channels (or video sources) through mythtv-setup properly deletes all the information associated with the channels, across all the linked tables.  I highly recommend you wipe your channel information and start that portion from scratch, otherwise, you're likely to encounter issues (in days/weeks/months) due to the leftover information in the DB that shouldn't be there.  This is important whether you are using an internal or external tuner--whether you should have done a scan or not--because truncating the channels table broke your database data.  To wipe that information, go into mythtv-setup, select Video Sources, then "Delete all Video Sources".  Then, create your new video source(s), scan for channels, set XMLTV IDs, and connect inputs.  See, also, <a href="https://lists.gt.net/mythtv/users/264034#264034" rel="noreferrer" target="_blank">https://lists.gt.net/mythtv/us<wbr>ers/264034#264034</a> .  Alternatively, you can restore a backup of your database from before you messed with the channels table.<br>
<br>
Mike<br>
______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailma<wbr>n/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing<wbr>_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div><br></div>