<div dir="ltr"><div>I am just now attempting the upgrade to version 31, and the cutover from DD to XMLTV.</div><div><br></div><div>I successfully configured the sqlite grabber to pull from SD, and noticed that it downloaded all of the channels on my SD lineup, even though most are not selected.  I guess this is intended behavior?</div><div><br></div><div>Seeing how tedious it is to mark channels as "selected" in the Sqlite database, I came up with a slightly different way to transfer the channels I currently care about.</div><div><br></div><div>I run this query in my existing mythconverg database:</div><div><br></div><div>SELECT CONCAT('update channels set selected = 1 where channum = ', channum ,";") AS combined FROM channel where visible=1</div><div><br></div><div>Pipe this output to a file named selected.sql which creates the sqlite update statements to set the correct channels to "selected" in the new grabber database to match what you now have as visible channels in mythtv.</div><div><br></div><div>Then, just use the grabber tool to make all the channels as "not selected" by default, and then pipe the file from above into the sqlite query as seen on the xmltv wiki:</div><div></div><div>
<pre>sqlite3 $HOME/.xmltv/SchedulesDirect.DB < selected.sql</pre>

</div><div>This seems simpler than some of the other methods I've seen on the wiki and elsewhere...</div><div><br></div><div>Moving on....I need some advice before I go past the rubicon on this v31 + xmltv upgrade:</div><div><br></div><div>After I do the 31 upgrade, and since I only use an HDHR, I plan to just blow away my channels and repopulate.  I think all the channel ids will line up the same as before. <br></div><div><br></div><div>Currently, in v30, I run mythfilldatabase as a cron job.  Should I continue to do that, or switch to another method?  I've never let mythtv natively run the mythfilldatabase process.  I'm having a hard time following the intent of the setup-video-sources wiki page on this topic.  Advice appreciated!<br></div><div><br></div><div>Thanks,</div><div>Larry<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 5, 2021 at 7:06 PM Fred Hamilton <<a href="mailto:fred@yonkitime.com">fred@yonkitime.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 5, 2021 at 3:04 PM glen <<a href="mailto:glenb@glenb.net" target="_blank">glenb@glenb.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>i more or less followed wiki for sdjson <a href="http://email.mg.glenb.net/c/eJxFjj0PgjAURX8NbJK2tBSGDi5OOmmMW0NfXwHlK7RA5NeLcTC5yU1Ock-uVeBKK3jcKMgABM0FMc4JSQHSomSZhAKAGuCMFTYnDDGBssM24qRqsTdJjyGuFSmkSwm3zrmMYs6JJZYyKaURzgiJcavqEEYfpceInfas65p071CHJRmm6guaV7PX43K-3SOWXjHMo16bUOuw6Goqjd427e3TD308qd_0MHuc_H7lb_oAUbBEXA" target="_blank">https://www.mythtv.org/wiki/XMLTV#Setup_with_tv_grab_zz_sdjson</a> and first got list of all the channels, then i did quick search and replace all '=' with '!' using sed. then went back in and corrected first lines not dealing with channels and replace with '=' the ones i use. still takes a while but better than having to take out 800 one by one. in my case i only use like 50 or 60.<div><br></div><div>i also used this handy util channel editor <a href="http://email.mg.glenb.net/c/eJxFTUsOwiAUPE3ZSYAWKAsWxug1DLxHLZFSQ9HG24txYTKZSSbzQQuTQzmQaEEBSD5K5qdJag7QGyeUBgPAPQxCGByZCIGCW0LqBnZLIXuaQyWz5Ux47RoDR0QYQ1sQIzqNynDlBUl2rvWxdf2xE5eGfd_p8q5zfdG13L5GvMcmp9nlHNL1jLGuhRT7Cx2eWyhbO_13PtCDO-k" target="_blank">https://www.mythtv.org/wiki/Channel_Editor</a> to have a reference while edited the conf file for sdjson. probably a way to export from the channel editor (which it supports) and make a script to adjust or recreate the conf file for sdjson.</div></div></blockquote><div><br></div><div>Thanks - that channel editor looks like it might be a really good way to maintain the list. <br></div></div></div>
_______________________________________________<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/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>