<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Jim Abernathy<br class=""><a href="mailto:jfabernathy@gmail.com" class="">jfabernathy@gmail.com</a><br class=""><br class=""><br class=""></div>

</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jan 28, 2018, at 10:47 PM, Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz" class="">stephen_agent@jsw.gen.nz</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Sun, 28 Jan 2018 18:42:36 -0500, you wrote:<br class=""><br class=""><blockquote type="cite" class="">I don稚 have this problem, but I知 thinking ahead.  Suppose you have a bunch of TV recordings but you致e lost the database and your backup.  Is there a way to add the recordings to a new database and fresh install?<br class=""></blockquote><br class="">No.  It would be possible to write a script to do it, but it would be<br class="">a fair bit of work and is not necessary.  Just put the recordings in a<br class="">videos directory and change the names on the files to represent what<br class="">they are.  If you use a name format that the metadata download<br class="">understands, then you can normally get the same sort of information<br class="">you would have had in the EPG data.<br class=""><br class=""><blockquote type="cite" class="">Second situation.  You have a lot of recordings, but your database backup is a few years old and missing a few of the recordings.  Is there a way to run a script to find recordings that are present but not in the database and then add them back in?<br class=""></blockquote><br class="">The find_orphans.py script does this, or at least it will tell you<br class="">about recordings that have database and no recording file and vice<br class="">versus.  But it will not be able to recover database entries for<br class="">recordings missing that data - again, just move the files to videos<br class="">and rename them.<br class=""></div></div></blockquote><div><br class=""></div>So I ran the find_orphans.py script just to see what it would find, expecting nothing and I found a good bit of stuff.</div><div><br class=""></div><div>Let me see if I have this right.  Ophaned video files are file that are in the directories but not in the database, right?</div><div><br class=""></div><div>Orphaned snapshots are the thumbnail files that exist in the directories, but not in the databased, right?</div><div><br class=""></div><div>Some of the orphaned video files were programs I watched last week and then deleted.  Not sure how they end up as orphaned.</div><div><br class=""></div><div>Jim A</div><div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class=""><blockquote type="cite" class="">Jim Abernathy<br class=""><a href="mailto:jfabernathy@gmail.com" class="">jfabernathy@gmail.com</a><br class=""></blockquote>_______________________________________________<br class="">mythtv-users mailing list<br class=""><a href="mailto:mythtv-users@mythtv.org" class="">mythtv-users@mythtv.org</a><br class="">http://lists.mythtv.org/mailman/listinfo/mythtv-users<br class="">http://wiki.mythtv.org/Mailing_List_etiquette<br class="">MythTV Forums: https://forum.mythtv.org<br class=""></div></div></blockquote></div><br class=""></body></html>