<div dir="ltr">Sorry for the delay, my message got rejected.<div><br></div><div><div class="gmail_quote" style="font-size:12.8px"><div>Database on command line:</div><div> </div><div>$ mysql -u mythtv -p mythconverg < plexnames.sql</div><div><br></div><div>You're right, I should have showed how I use it.  It's a User job:</div><div><br></div><table border="0" cellpadding="4" cellspacing="2" class="gmail-m_256385504880665427gmail-list gmail-m_256385504880665427gmail-small" style="font-size:12px;background-color:rgb(25,28,38);width:692px;color:rgb(222,222,222);font-family:Arial,Helvetica,sans-serif;text-align:center"><tbody><tr class="gmail-m_256385504880665427gmail-settings" style="background-color:rgb(80,96,128)"><td align="right" style="padding:0.5em">UserJob2</td><td style="padding:0.5em"><input type="text" size="64" name="settings[UserJob2]" value="/usr/local/bin/mythtv_to_plex.sh %DIR% %FILE%" style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;padding-left:0.25em;color:rgb(0,32,0);background-color:rgb(192,208,192)"><br></td></tr></tbody></table><br>I run it automatically on programs that I don't have commercials marked.  For those I want to archive with no commercials, I check the automatically created cutlist and then apply the job to the recording:</div><div class="gmail_quote" style="font-size:12.8px"><br></div><div class="gmail_quote" style="font-size:12.8px"><img src="cid:ii_15f601cfc258888a" alt="Inline image 1" width="332" height="243" class="gmail-CToWUd gmail-a6T" tabindex="0"></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">-- <br>Justin B. Alcorn<br>PGP Fingerprint A36D D691 C5B0 BE15 5A2A AF49 AA1C 372C</div></div>
<br><div class="gmail_quote">On Fri, Oct 27, 2017 at 5:57 PM, Richard Shaw <span dir="ltr"><<a href="mailto:hobbes1069@gmail.com" target="_blank">hobbes1069@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Thu, Oct 26, 2017 at 8:16 PM, Justin Alcorn <span dir="ltr"><<a href="mailto:justin@jalcorn.net" target="_blank">justin@jalcorn.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">If anyone wants to play with my script:<div><br></div><div><a href="https://github.com/jbalcorn/mythtv-plex" target="_blank">https://github.com/jbalcorn/my<wbr>thtv-plex</a></div></div></blockquote><div><br></div></span><div>Ok, I've got some of it figured out. You have a lot of the setup steps covered but I'm getting stuck...</div><div><br></div><div>Is this supposed to run as a transcoding job on each show when it's recorded? Or more like mythlink? </div><div><br></div><div>Also, I tried the usual for the sql file but it doesn't seem to select a database first...</div><div><br></div><div><div>$ mysql -u mythtv -p <plexnames.sql </div><div>Enter password: </div><div>ERROR 1046 (3D000) at line 26: No database selected</div></div><div><br></div><div>Thanks,</div><div>Richard</div></div></div></div>
<br>______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/<wbr>mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/<wbr>Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
<br></blockquote></div><br></div>