<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">On Sat, May 18, 2019 at 9:01 PM Greg Oliver <<a href="mailto:oliver.greg@gmail.com">oliver.greg@gmail.com</a>> wrote:</span><br></div></div><div class="gmail_quote"><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"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">On Sat, May 18, 2019 at 3:37 PM Greg Oliver <<a href="mailto:oliver.greg@gmail.com" target="_blank">oliver.greg@gmail.com</a>> wrote:</span><br></div></div><div class="gmail_quote"><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"><div style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">On Sat, May 18, 2019 at 2:31 PM Greg Oliver <<a href="mailto:oliver.greg@gmail.com" target="_blank">oliver.greg@gmail.com</a>> wrote:</span><br></div></div><div class="gmail_quote"><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"><div dir="ltr"><div style="font-family:monospace,monospace">Hi,</div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">I have (3) SD lineups and am having a hard time wrapping my head around the SD json setup.</div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">I see mythfilldatabase looks for LINEUPNAME.xmltv for it's config files and that part is just fine in the directions on the wiki.</div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">The part I am confused about is that when I run:</div><div style="font-family:monospace,monospace"><br></div><div><font face="monospace, monospace">./tv_grab_zz_sdjson_sqlite --configure --config-file /root/.xmltv/uVerse.xmltv</font><br></div><div><br></div><div>Result:</div><div><div>tv_grab_zz_sdjson_sqlite uses a local database for downloaded EPG data. Please specify the database name created via tv_grab_zz_sdjson_sqlite --manage-lineups</div><div>Database for Schedules Direct EPG: [/root/.xmltv/SchedulesDirect.DB] /root/.xmltv/uVerse.db</div><div>Initializing database /root/.xmltv/uVerse.db</div><div>Upgrading database to version 2</div><div>Your database is not configured to access the Schedules Direct service</div><div>(the username or the password hash is not available in the settings table)</div><div>Please re-run tv_grab_zz_sdjson_sqlite --manage-lineups and then tv_grab_zz_sdjson_sqlite --configure</div><div><br></div><div>This leaves me with a uVerse.xmltv.TMP file with nothing but the database in it.</div><div><br></div><div>I can then run the 2 other referenced commands and in fact my channels are populated in the database (for all lineups).</div><div><br></div><div>I then try to run mythfilldatabase and it tells me the config file is truncated.</div><div><br></div><div>So I guess my questions are:</div><div><br></div><div>1.   Do I use the same database file for all configs.</div><div>2.  Am I doing this correctly - I would assume there is a way to separate the channels for each lineup, but all tries of using all of the --manage-lineups option have never only had one lineup left in the database in them when I finish.  This seems incorrect to me.</div><div><br></div><div>Thanks anyone for some pointers.</div><div><br></div><div>-Greg</div></div><div><br></div></div></div></div></blockquote><div><br></div><div style="font-family:monospace,monospace">nevermid - I see how it works now..  re-running configure after creating the initial database makes it clear.</div><div style="font-family:monospace,monospace"><br></div></div></div></blockquote><div><br></div><div style="font-family:monospace,monospace">Well, even though I see how it works, and it is configured now (I think!), it is still not grabbing data from SD.  The verbose output is just returning an error code with nothing to dictate what it is.</div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">XML file:</div><div><div style="font-family:monospace,monospace">database=/root/.mythtv/OTA.db</div><div style="font-family:monospace,monospace">lineup=USA-OTA-75154</div><div style="font-family:monospace,monospace">lineup!USA-TX66409-X</div><div style="font-family:monospace,monospace">3rdparty-metadata=disabled</div><div style="font-family:monospace,monospace">mythtv-categories=enabled</div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">DB file has all channels in it..</div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">mythfilldatabase log snippet:</div><div><div><font face="monospace, monospace">2019-05-18 20:50:31.417703 I [5147/5147] CoreContext filldata.cpp:411 (GrabData) - Grabber Command: nice tv_grab_zz_sdjson --config-file '/root/.mythtv/OTA.xmltv' --output /tmp/mythWECD13</font></div><div><font face="monospace, monospace">2019-05-18 20:50:31.417705 I [5147/5147] CoreContext filldata.cpp:414 (GrabData) - ----------------- Start of XMLTV output -----------------</font></div><div><font face="monospace, monospace">2019-05-18 20:50:31.417732 D [5147/5147] CoreContext mythsystemunix.cpp:784 (Fork) - Launching: nice tv_grab_zz_sdjson --config-file '/root/.mythtv/OTA.xmltv' --output /tmp/mythWECD13</font></div><div><font face="monospace, monospace">2019-05-18 20:50:31.418362 I [5147/5147] CoreContext mythsystemunix.cpp:943 (Fork) - Managed child (PID: 5163) has started! * command=nice tv_grab_zz_sdjson --config-file '/root/.mythtv/OTA.xmltv' --output /tmp/mythWECD13, timeout=0</font></div><div><font face="monospace, monospace">2019-05-18 20:50:31.418392 I [5147/5147] CoreContext referencecounter.cpp:114 (IncrRef) - (0x561e8334c810)::IncrRef() -> 2</font></div><div><font face="monospace, monospace">2019-05-18 20:50:31.699818 I [5147/5155] SystemManager mythsystemunix.cpp:354 (run) - Managed child (PID: 5163) has exited! command=nice tv_grab_zz_sdjson --config-file '/root/.mythtv/OTA.xmltv' --output /tmp/mythWECD13, status=512, result=2</font></div><div><font face="monospace, monospace">2019-05-18 20:50:31.715602 I [5147/5156] SystemSignalManager referencecounter.cpp:145 (DecrRef) - (0x561e8334c810)::DecrRef() -> 1</font></div><div><font face="monospace, monospace">2019-05-18 20:50:31.715621 I [5147/5147] CoreContext referencecounter.cpp:145 (DecrRef) - (0x561e8334c810)::DecrRef() -> 0</font></div><div><font face="monospace, monospace">2019-05-18 20:50:31.715633 I [5147/5147] CoreContext filldata.cpp:422 (GrabData) - ------------------ End of XMLTV output ------------------</font></div></div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">Full Output Here:</div><div><font face="monospace, monospace"><a href="https://drive.google.com/open?id=163hZFQc0X5geD39Kw6cOOn3P3NWbes-c" target="_blank">https://drive.google.com/open?id=163hZFQc0X5geD39Kw6cOOn3P3NWbes-c</a></font><br></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Kind of stuck here - thanks for any help..</font></div></div></div></div></div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace">Well, hopefully this will help someone else.  It was 2-fold for me:</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">1.  I did not have the multinational SD-JSON selected</div><div class="gmail_default" style="font-family:monospace,monospace">2.  The "Configure" section of the Source was not setup properly.  The Text box and Enter button in mythtv-setup were just not intuitive enough for me to grasp.  I would never have thought I would need to fill all that out after I did it from the command line, but it is working now.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">It was either 1 with or without 2 - not sure :)</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">-Greg</div><br></div><div> </div></div></div>