<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 8/4/20 11:38 AM, James Abernathy
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANFv2Em+JZMgkaTZJ3UgQLoPj9cMqqaiNyQ2F_B5M82BKpGN3Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Aug 4, 2020 at 11:18
AM Bill Meek <<a href="mailto:keemllib@gmail.com"
moz-do-not-send="true">keemllib@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">On 8/4/20 7:20 AM, James
Abernathy wrote:<br>
> This is strange. I've used the find_orphans script for
years to find<br>
> problems and fix them; particularly after restoring a
database.<br>
> <br>
> So after creating a new system with a new database but
the same old<br>
> recordings hard drive, I ran it looking for issues. It
found about 20 and<br>
> I chose to delete the problems. It deleted everything
including a<br>
> recording that was happening at the time. Many of these
were Live TV<br>
> partial recordings and nothing of significance was
lost. However, it makes<br>
> me wonder about find_orphan.py. I have the version
that is for v31+.<br>
> <br>
> Thoughts?<br>
> <br>
> JIm A<br>
<br>
I'm confused about the "nothing of significance was lost"<br>
comment and the Subject: line.<br>
<br>
By everything, do you mean it deleted all of the recordings<br>
on the "old recordings drive"?<br>
<br>
Did the initial output list the recordings that it planned<br>
to delete?<br>
<br>
-- <br>
Bill<br>
</blockquote>
<div><br>
</div>
<div>Sorry I was not clear. Since I rebuilt the system I have
recorded nothing of interest, just keeping everything
working. So losing all the recordings since the rebuild is
not significant . So if I check my storage groups
directories "defaults" and "Livetv" I see only files
recorded since I did the destructed find_orphans.py.</div>
<div> </div>
<div>So now I should have no orphans. Only 2 recordings and 1
livetv file. But if you look at the console below you'll see
the problem.</div>
<div><br>
</div>
<div>jim@mythbuntu:/mnt/md1$ ls recorded-tv2/<br>
10501_20200804123700.ts 11701_20200804122800.ts<br>
10501_20200804123700.ts.png 11701_20200804122800.ts.png<br>
jim@mythbuntu:/mnt/md1$ ls livetv2/<br>
11101_20200804123728.ts<br>
jim@mythbuntu:/mnt/md1$ cd<br>
jim@mythbuntu:~$ ./find_orphans.py <br>
Recordings with missing files<br>
mythbuntu: CBS This Morning
11701_20200804122800.ts<br>
mythbuntu: Good Morning America
11101_20200804123728.ts<br>
mythbuntu: Today
10501_20200804123700.ts<br>
Count: 3<br>
Please select from the following<br>
1. Delete orphaned recording entries<br>
2. Refresh list<br>
> <br>
</div>
</div>
</div>
</blockquote>
<p>Bill,</p>
<p>Did you see what I was referring to?</p>
<p>I ran the script again today, but exited and it showed the only 2
recordings on my system. Both made this morning and should not be
orphans.</p>
<p>-----------</p>
<p>jim@mythbuntu:~$ ./find_orphans.py <br>
Recordings with missing files<br>
mythbuntu: Ask This Old House - Backsplash; Rainwater
Feature 10404_20200806103000.ts<br>
mythbuntu: CBS This
Morning
11701_20200806110000.ts<br>
Count: 2<br>
Please select from the following<br>
1. Delete orphaned recording entries<br>
2. Refresh list<br>
</p>
<p>Jim A</p>
<p><br>
</p>
</body>
</html>