<br><br><div class="gmail_quote">On Nov 25, 2007 8:14 AM, Marc Sherman &lt;<a href="mailto:msherman@projectile.ca">msherman@projectile.ca</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Marc Sherman wrote:<br>&gt; I&#39;ve got a bunch of tv shows I ripped from DVDs. Currently they&#39;re in<br>&gt; MythVideo, but is it possible to import these into the Recorded Programs<br>&gt; list instead? Ideally, I&#39;d like to get as much metadata as possible from
<br>&gt; the web, but I&#39;m willing to type it in if I need to. Any tips?<br><br></div>I&#39;m a bit confused -- my thread seems to have gotten hijacked by a<br>discussion about SQL configuration. Is what I&#39;m asking about possible
<br>(and preferably scriptable)? Is there a howto anywhere on the wiki that<br>I&#39;ve missed?<br><div><div></div></div></blockquote><div><br><br>I think what you need is an sql command to insert the data into the recorded table.&nbsp;&nbsp; Something like:
<br><br>INSERT INTO recorded (chanid, starttime, endtime, title, subtitle, description, bookmark, editing, cutlist, hostname, category, autoexpire, commflagged, recgroup, recordid, seriesid, programid, lastmodified, filesize, stars, previouslyshown, originalairdate, preserve, findid, deletepending, transcoder, timestretch, recpriority, basename, progstart, progend, playgroup, profile, duplicate, transcoded, watched) VALUES (1050,&#39;2005-05-21 20:00:00&#39;,&#39;2005-05-21 20:30:00&#39;,&#39;Justice League Unlimited&#39;,&#39;Task Force X&#39;,&#39;Incarcerated super villains are offered suspended sentences on the completion of an impossible mission.&#39;,0,0,0,&#39;mymythtv&#39;,&#39;Children&#39;,0,0,&#39;Default&#39;,710,&#39;&#39;,&#39;&#39;,&#39;2006-11-14 22:52:17&#39;,478438007,0,0,NULL,0,0,0,0,1,0,&#39;1050_20050521200000.nuv&#39;,&#39;2005-05-21 20:00:00&#39;,&#39;2005-05-21 20:30:00&#39;,&#39;Default&#39;,&#39;&#39;,1,0,0)
<br><br>It should be scriptable with bash as you can execute mysql commands with :<br>mysql -umythtv -pmythtv mythconverg -e&quot;INSERT INTO....)<br><br>I have not verified that the above works so use at your own risk.&nbsp; Backup your database.&nbsp; There is the added concern that the video needs to be compatible with the internal player (playback, commflagging, bookmarking etc.). 
<br><br><br> <br><br><br><br></div><div><br>&nbsp;</div></div><br>