<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div class="h5">
&gt;<br>
&gt;<br>
&gt; &gt; &gt; But if I run the same command again<br>
&gt; &gt;<br>
&gt; &gt; Here&#39;s what I noted as a problem.  The &#39;R&#39; option updates only the<br>
&gt; &gt; reference number -- it doesn&#39;t download anything.  The next<br>
&gt; &gt; run should have been without the &#39;R&#39;.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Yeah, I thought of that too.  Oddly, if I run with -I (interactive)<br>
&gt; &gt; instead of -R I get prompted for the missing entries like with -R<br>
&gt; &gt; except it also pulls the fanart, etc from <a href="http://themoviedb.org" target="_blank">themoviedb.org</a> .  The<br>
&gt; files<br>
&gt; &gt; are sitting in the right place on my system.  The inetref is still<br>
&gt; all<br>
&gt; &gt; 0&#39;s though.  If I run in maintenance mode after that (after -I or<br>
&gt; -R,<br>
&gt; &gt; doesn&#39;t matter) I get a message telling me that X-Men has no inetref<br>
&gt; &gt; so it won&#39;t fetch anything.<br>
&gt; &gt;  <br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; I get the same prompting for X-Men<br>
&gt; &gt; &gt; again.  Thinking this was odd, I checked the database after the<br>
&gt; run:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; mysql&gt; select title,inetref from videometadata where title like<br>
&gt; &gt; &gt; &quot;X-Men&quot;;<br>
&gt; &gt; &gt; +-------+----------+<br>
&gt; &gt; &gt; | title | inetref  |<br>
&gt; &gt; &gt; +-------+----------+<br>
&gt; &gt; &gt; | X-Men | 00000000 |<br>
&gt; &gt; &gt; +-------+----------+<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Yeah, This seems odd.  Jamu shouldn&#39;t have done anything, as file<br>
&gt; &gt; was already in database with a inetref number.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; I was thinking about this....  Could you set the inetref number to<br>
&gt; NULL?<br>
&gt; That&#39;s what the db defaults that field too.  Then try again with the<br>
&gt; &#39;R&#39;<br>
&gt; option and see what happens.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hmm, that is wierd.  According to mysql the default value for inetref<br>
&gt; IS NULL, but immediately following a mythvideo rescan (delete all<br>
&gt; entries from videometadata and rescan upon entering mythvideo) it is<br>
&gt; populated with the 8 0&#39;s.  If I jam in NULL instead with:<br>
&gt;<br>
&gt; mysql&gt; update videometadata set inetref=NULL where title=&quot;X-Men&quot;;<br>
&gt; Query OK, 1 row affected, 1 warning (0.00 sec)<br>
&gt; Rows matched: 1  Changed: 1  Warnings: 1<br>
&gt;<br>
&gt; mysql&gt; select title,inetref from videometadata where title = &quot;X-Men&quot;;<br>
&gt; +-------+---------+<br>
&gt; | title | inetref |<br>
&gt; +-------+---------+<br>
&gt; | X-Men |         |<br>
&gt; +-------+---------+<br>
&gt;<br>
&gt;<br>
&gt; and then run jamu with -r again I get the same results (ie inetref not<br>
&gt; updated, only now it&#39;s still NULL instead of all 0&#39;s)<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div>While from reading your messages this seems unlikely, but I figured I would<br>
ask just to make sure...  You are editing the database with the same user<br>
that is running Jamu?  Or stated another way, all users who interact with<br>
the database have write access to it..<br>
<div class="im"><br></div></blockquote></div><br>Correct.  I run jamu as part of a cron job as user mythtv.  As user mythtv I can use mysql to modify the inetref manually.  I run mythfrontend as user perveil.   I can also update the inetref manually via mysql as this user.  Running jamu as user perveil has the same results as running as user mythtv (ie inetref isn&#39;t updated).<br>
<br>Basically, both users can modify the fields using mysql, neither user can modify the fields using jamu.<br><br>