<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 25, 2020 at 1:21 PM Bill Meek <<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.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">On 7/25/20 2:18 PM, DryHeat122 wrote:<br>
> Trying to get XMLTV set up on a new install of Myth 31. I have xmltv compiled and installed, now trying to get it linked to the input sources. <br>
> The wiki <<a href="https://www.mythtv.org/wiki/XMLTV" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/XMLTV</a>> is pretty insistent that that I run mythtv-setup as user mythtv for this step, but when I sudo <br>
> --login --user=mythtv and enter mythtv-setup it exits without running setup or giving any error messages. I have already run it as myself, if <br>
> that makes a difference. The wiki is a little confusing because it says "If you do not want to logon to that id or you cannot, you can run the <br>
> mythtv-setup from another id on the same backend." But above that it admonishes "Warning: It seems users are missing the step that says run the <br>
> setup as the user that will run mythfilldatabase (which is frequently user mythtv.)" How can I get setup to run under user mythtv? If I can't, <br>
> will moving/linking the .xmltv contents to /home/mythtv do the trick (as suggested in the wiki)?<br>
<br>
Actually, the instruction says:<br>
<br>
If user mythtv is allowed to login and start the window manager, XMLTV can be configured through the Video Sources Setup page in mythtv-setup.<br>
Otherwise, follow the steps below and do the configuration from the command line.<br>
<br>
I know that because I just changed the Wiki. Thanks for pointing this out.<br>
<br>
-- <br>
Bill<br><br></blockquote><div><font face="arial, sans-serif">My pleasure. Unfortunately I'm having a nightmare getting xmltv configured. I still can't get mythtv-setup to run from user mythtv. It just exits, doing nothing. So I went through the procedure of running the command line configuration for <span style="background-color:rgb(249,249,249);color:black;font-size:17.5px;white-space:pre-wrap">tv_grab_zz_sdjson and selecting all the channels (not a fun job, terrible interface). It produced a config file in /home/mythtv/.mythtv but mythfilldatabase was looking for it in /home/steve/.mythtv So I created a symlink for it there. Now when I run mythfilldatabase I get the output below. It says unexpected end of file. I looked at the file. It has info in it like username and pw for schedules direct, and a bunch of channel items. Not sure what it was looking for that it didn't get.</span></font></div><div><font face="arial, sans-serif"><span style="background-color:rgb(249,249,249);color:black;font-size:17.5px;white-space:pre-wrap"><br></span></font></div><div>2020-07-25 16:08:01.887565 N Using configuration directory = /home/steve/.mythtv<br>2020-07-25 16:08:01.887593 I Assumed character encoding: en_US.UTF-8<br>2020-07-25 16:08:01.887818 I Empty LocalHostName. This is typical.<br>2020-07-25 16:08:01.887825 I Using a profile name of: 'steve-EP45-UD3P' (Usually the same as this host's name.)<br>2020-07-25 16:08:01.887874 I Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000<br>2020-07-25 16:08:02.901952 N Setting QT default locale to en_US<br>2020-07-25 16:08:02.901966 I Current locale en_US<br>2020-07-25 16:08:02.902017 N Reading locale defaults from /usr/share/mythtv//locales/en_us.xml<br>2020-07-25 16:08:02.920887 I PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/mouse_hidpp_battery_0'<br>2020-07-25 16:08:02.921152 I Power: On AC power<br>2020-07-25 16:08:02.950791 I Power: Supported actions: Suspend,Restart,Shutdown<br>2020-07-25 16:08:02.951693 I Loading en_us translation for module mythfrontend<br>2020-07-25 16:08:02.953200 I Current MythTV Schema Version (DBSchemaVer): 1361<br>2020-07-25 16:08:02.955403 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: <a href="http://192.168.1.200:6543" target="_blank">192.168.1.200:6543</a> (try 1 of 1)<br>2020-07-25 16:08:02.956691 I MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff<br>2020-07-25 16:08:02.956948 I Opening blocking connection to master backend<br>2020-07-25 16:08:02.957546 I Updating source #1 (sdjson) with grabber tv_grab_zz_sdjson<br>2020-07-25 16:08:02.959422 I Found 302 channels for source 1 which use grabber<br>2020-07-25 16:08:02.959572 I Starting process manager<br>2020-07-25 16:08:02.959642 I Starting IO manager (read)<br>2020-07-25 16:08:02.961686 I Starting IO manager (write)<br>2020-07-25 16:08:02.961712 I Starting process signal handler<br>2020-07-25 16:08:03.813955 I Grabber has capabilities: baseline manualconfig preferredmethod <br>2020-07-25 16:08:04.464771 I Grabber prefers method: allatonce<br>2020-07-25 16:08:04.465395 I XMLTV config file is: /home/steve/.mythtv/sdjson.xmltv<br>^C2020-07-25 16:09:34.229722 E Error in 577881:15: unexpected end of file<br>2020-07-25 16:09:35.033778 I No programs found in data.<br>2020-07-25 16:09:35.038900 E Failed to fetch some program info<br></div></div></div>