Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

RE: Re: Recordings in database but no recording on diskfor them

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


tjohnson at prenova

Feb 21, 2005, 8:53 AM

Post #1 of 2 (334 views)
Permalink
RE: Re: Recordings in database but no recording on diskfor them

Question...
How would 1 file be offline versus the whole /mnt/storage (or
whatever) driectory? Could you check a file that should always be there
(/mnt/storage/nfslockfile.lock) and if that isn't there, don't touch the
database?

Granted... I really do like the idea of not placing the data into
Recorded until the program was successfully recorded (not sure how that
plays with the scheduler); if I have to reboot mythtv in the middle of
a program, the scheduler doesn't usually pick it up after the reboot
(well, it *was* recorded, eh).

-Thor


-----Original Message-----
From: mythtv-users-bounces [at] mythtv
[mailto:mythtv-users-bounces [at] mythtv] On Behalf Of Phill Edwards
Sent: Sunday, February 20, 2005 12:00 AM
To: MythTV Users List
Subject: [mythtv-users] Re: Recordings in database but no recording on
diskfor them

> I have a few entries in the database in the "recorded" table which
> don't have a corresponding .nuv file on disk. Don't ask me why - I
> have no idea how that happened! I can't delete the recordings from
> mythtv or mythweb. The deletepending flag = 0. When I try to delete I
> get this in the mythbackend log:
>
> Can I just delete the records manually from the recorded table, or are
> there some other tables which will need corresponding records deleted
> as well? I don't want to screw up the integrity of the database.

SOLUTION
========

I've managed to find a safer solution to this - create a file with the
right name in your recordings directory by using touch - eg

# touch 1000_20050201110000_20050201111500.nuv

and then delete it. Deletes from mythweb work with this solution and I
presume deletes from mythtv would too, though I haven't tried it.

To find out what the file name is you can go into mythweb and
right-click on the title and then view the properties.

Regards,
Phill


kuphal at dls

Feb 21, 2005, 9:55 AM

Post #2 of 2 (333 views)
Permalink
Re: Re: Recordings in database but no recording on diskfor them [In reply to]

Johnson, Thor wrote:

>Question...
> How would 1 file be offline versus the whole /mnt/storage (or
>whatever) driectory? Could you check a file that should always be there
>(/mnt/storage/nfslockfile.lock) and if that isn't there, don't touch the
>database?
>
>Granted... I really do like the idea of not placing the data into
>Recorded until the program was successfully recorded (not sure how that
>plays with the scheduler); if I have to reboot mythtv in the middle of
>a program, the scheduler doesn't usually pick it up after the reboot
>(well, it *was* recorded, eh).
>
>
I don't mount my remote storage with nf but with samba. Either way,
there is a fix in CVS for this to check for filesize = 0 in the database
as an indicator of a bad recording and allow the deletion attempt.

Kevin


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.