<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="font-family:Calibri, Arial, Helvetica, sans-serif; font-size:12.0pt; line-height:1.3; color:#1F497D" id="nine_body_n1739bc-bf8ab" class="nine_body" dir="auto">
<div class="nine-pg" dir="auto"><br>
</div>
</div>
<div id="quoted_header_n1739bc-bf8ab" class="quoted_header_editor" dir="auto">
<hr style="border:none; height:1px; color:#E1E1E1; background-color:#E1E1E1;" class="nine-pg">
<div style="border:none; padding:3.0pt 0cm 0cm 0cm" class="nine-pg" dir="auto"><span style="font-size:11.0pt;font-family:Calibri, Arial, Helvetica, sans-serif"><b>From:</b> James Abernathy <jfabernathy@gmail.com><br>
<b>Sent:</b> Thursday, 30 July 2020 2:02 am<br>
<b>To:</b> Discussion about MythTV<br>
<b>Subject:</b> [mythtv-users] mythtv XMLTV wiki instructions<br>
</span></div>
</div>
<div id="quoted_body_n1739bc-bf8ab" class="quoted_body_editor mceEditable" dir="auto">
<div class="nine-pg" dir="auto"><br>
</div>
<blockquote class="quote nine-pg" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div dir="ltr">I noticed the addition of:
<div><span style="color: #252525; font-family: sans-serif; font-size: 14px;">Be sure to read: </span><a style="color: #0b0080; background-image: none; font-family: sans-serif; font-size: 14px;" href="https://www.mythtv.org/wiki/XMLTV#MythTV_Setup">#MythTV_Setup</a><span style="color: #252525; font-family: sans-serif; font-size: 14px;">.
Hint: </span><code style="font-family: monospace , 'courier'; color: black; background-color: #f9f9f9; border: 1px solid #dddddd; border-radius: 2px; padding: 1px 4px; font-size: 14px;">sudo --login --user=mythtv</code><br>
</div>
<div><code style="font-family: monospace , 'courier'; color: black; background-color: #f9f9f9; border: 1px solid #dddddd; border-radius: 2px; padding: 1px 4px; font-size: 14px;"><br>
</code></div>
<div><code style="color: black; background-color: #f9f9f9; border: 1px solid #dddddd; border-radius: 2px; padding: 1px 4px; font-size: 14px;"><span style="font-family: arial, sans-serif;">in the mythtv xmltv wiki. </span></code><code style="color: black; background-color: #f9f9f9; border: 1px solid #dddddd; border-radius: 2px; padding: 1px 4px; font-size: 14px;"><span style="font-family: arial, sans-serif;"> I
normally just sudo su mythtv and then do all the commands to set up the XMLTV. However today I thought I just see how prefacing the normal instructions with the sudo --login --user mythtv and got an error message on on the second command in the setting up
with tv_grab_zz_sdjson_sqlite:</span></code></div>
<div><code style="color: black; background-color: #f9f9f9; border: 1px solid #dddddd; border-radius: 2px; padding: 1px 4px; font-size: 14px;"><span style="font-family: arial, sans-serif;"><br>
</span></code></div>
<div><code style="font-family: monospace , 'courier'; color: black; background-color: #f9f9f9; border: 1px solid #dddddd; border-radius: 2px; padding: 1px 4px;"><span style="font-size: xx-small;">jim@mythbuntu:~$ sudo --login --user=mythtv tv_grab_zz_sdjson_sqlite
--configure --config-file $HOME/.mythtv/SD.xmltv<br>
Failed to write to /home/jim/.mythtv/SD.xmltv.TMP at /usr/local/share/perl/5.30.0/XMLTV/Configure.pm line 187.</span><br>
</code></div>
<div><code style="font-family: monospace , 'courier'; color: black; background-color: #f9f9f9; border: 1px solid #dddddd; border-radius: 2px; padding: 1px 4px; font-size: 14px;"><br>
</code></div>
<div><code style="color: black; background-color: #f9f9f9; border: 1px solid #dddddd; border-radius: 2px; padding: 1px 4px; font-size: 14px;"><span style="font-family: arial, sans-serif;">Not sure why and just thought I'd report it. </span></code></div>
<div><code style="color: black; background-color: #f9f9f9; border: 1px solid #dddddd; border-radius: 2px; padding: 1px 4px; font-size: 14px;"><span style="font-family: arial, sans-serif;"><br>
</span></code></div>
<div><code style="color: black; background-color: #f9f9f9; border: 1px solid #dddddd; border-radius: 2px; padding: 1px 4px; font-size: 14px;"><span style="font-family: arial, sans-serif;">I'll stick to my tried and true method of just sudo su mythtv and then
do all the work. And when I did it this time I just initialized and it all worked.</span></code></div>
<div><span style="font-family: arial, sans-serif;"><br>
</span></div>
<div class="nine-pg" dir="auto">
<div class="nine-pg" dir="auto"><span style="color: #000000;"><span style="font-size: 14px; background-color: #f9f9f9;"><span style="font-family: arial, sans-serif;">Jim A<br>
</span><br>
</span></span></div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="nine-pg" dir="auto">
<div class="nine-pg" dir="auto">
<blockquote class="quote nine-pg" style="border-left: 1px #ccc solid; padding-left: 1ex; margin: 0 0 0 .8ex;">
<div dir="ltr">
<div class="nine-pg" dir="auto">
<div class="nine-pg" dir="auto"><span style="color: #000000;"><span style="background-color: #f9f9f9; font-size: 14px;"> </span></span></div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="nine-pg" dir="auto">
<div class="nine-pg" dir="auto"><span style="color: #000000;"><span style="background-color: #f9f9f9; font-size: 14px;">What does this return?</span></span></div>
<div class="nine-pg" dir="auto"><span style="background-color: #f9f9f9; font-size: 14px;">sudo --login --user=mythtv echo $HOME</span></div>
<div class="nine-pg" dir="auto"><br>
</div>
<div class="nine-pg" dir="auto"><span style="background-color: #f9f9f9; font-size: 14px;">And how does it compare to:</span></div>
<div class="nine-pg" dir="auto"><span style="background-color: #f9f9f9; font-size: 14px;">sudo su mythtv</span></div>
<div class="nine-pg" dir="auto"><span style="background-color: #f9f9f9; font-size: 14px;">echo $HOME</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>