<br><br><div class="gmail_quote">On Tue, Jun 1, 2010 at 8:06 AM, Nasa <span dir="ltr">&lt;<a href="mailto:nasa01@comcast.net">nasa01@comcast.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
----- &quot;Jack Perveiler&quot; &lt;<a href="mailto:perveilerj@gmail.com">perveilerj@gmail.com</a>&gt; wrote:<br>
<br>
</div><div><div></div><div class="h5">&gt; &gt; But if I run the same command again<br>
&gt;<br>
&gt; Here&#39;s what I noted as a problem.  The &#39;R&#39; option updates only the<br>
&gt; reference number -- it doesn&#39;t download anything.  The next<br>
&gt; run should have been without the &#39;R&#39;.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Yeah, I thought of that too.  Oddly, if I run with -I (interactive)<br>
&gt; instead of -R I get prompted for the missing entries like with -R<br>
&gt; except it also pulls the fanart, etc from <a href="http://themoviedb.org" target="_blank">themoviedb.org</a> .  The files<br>
&gt; are sitting in the right place on my system.  The inetref is still all<br>
&gt; 0&#39;s though.  If I run in maintenance mode after that (after -I or -R,<br>
&gt; doesn&#39;t matter) I get a message telling me that X-Men has no inetref<br>
&gt; so it won&#39;t fetch anything.<br>
&gt;  <br>
&gt;<br>
&gt;<br>
&gt; &gt; I get the same prompting for X-Men<br>
&gt; &gt; again.  Thinking this was odd, I checked the database after the run:<br>
&gt; &gt;<br>
&gt; &gt; mysql&gt; select title,inetref from videometadata where title like<br>
&gt; &gt; &quot;X-Men&quot;;<br>
&gt; &gt; +-------+----------+<br>
&gt; &gt; | title | inetref  |<br>
&gt; &gt; +-------+----------+<br>
&gt; &gt; | X-Men | 00000000 |<br>
&gt; &gt; +-------+----------+<br>
&gt; &gt;<br>
&gt;<br>
&gt; Yeah, This seems odd.  Jamu shouldn&#39;t have done anything, as file<br>
&gt; was already in database with a inetref number.<br>
&gt;<br>
&gt;<br>
<br>
</div></div>I was thinking about this....  Could you set the inetref number to NULL?<br>
That&#39;s what the db defaults that field too.  Then try again with the &#39;R&#39;<br>
option and see what happens.<br>
<div class="im"><br></div></blockquote><div><br>Hmm, that is wierd.  According to mysql the default value for inetref IS NULL, but immediately following a mythvideo rescan (delete all entries from videometadata and rescan upon entering mythvideo) it is populated with the 8 0&#39;s.  If I jam in NULL instead with:<br>
<br>mysql&gt; update videometadata set inetref=NULL where title=&quot;X-Men&quot;;<br>Query OK, 1 row affected, 1 warning (0.00 sec)<br>Rows matched: 1  Changed: 1  Warnings: 1<br><br>mysql&gt; select title,inetref from videometadata where title = &quot;X-Men&quot;;<br>
+-------+---------+<br>| title | inetref |<br>+-------+---------+<br>| X-Men |         | <br>+-------+---------+<br><br><br>and then run jamu with -r again I get the same results (ie inetref not updated, only now it&#39;s still NULL instead of all 0&#39;s)<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Well, at least the file SHOULD have been in the database with an<br>
&gt; inetref number :)<br>
<br>
</div>The file is in the DB with an inetref number... But is 00000000 a valid<br>
inetref number?<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br>Couldn&#39;t tell you if it&#39;s a valid one, but it&#39;s what mythvideo put there following it&#39;s scan.<br></div></div><br>--Jack<br>