LinHES Forums
http://forum.linhes.org/

Deleting Files from /myth/tv (fixed)
http://forum.linhes.org/viewtopic.php?f=6&t=9992
Page 1 of 1

Author:  sanger440 [ Wed May 10, 2006 11:20 am ]
Post subject:  Deleting Files from /myth/tv (fixed)

I recorded too many tv shows and filled up my HD and caused myth to crash. I cleaned up the /var/ log files that were created and manually (from xterm) deleted a few recordings from /myth/tv. I am happy to say myth came right back up and worked again.

However, the recordings I manually deleted still show up in the GUI as available to watch. Hitting the delete key the on remote will not delete these files.

How do I manually delete these shows from whatever database file still shows them as existing?

I am running R5A16.

Author:  khrusher [ Wed May 10, 2006 12:10 pm ]
Post subject: 

I think the easest way to clean them up is to recreate the deleted files with empty files.

Code:
touch <name of file deleted>


Then delete from mythtv

Author:  mjl [ Wed May 10, 2006 6:45 pm ]
Post subject: 

Hi,
Since you are running R5A16, there is a updated version of mythtlink.sh that does that house keeping for you.

Going into the "way back" machine... see if this is of value.

http://mysettopbox.tv/phpBB2/viewtopic. ... f02caaf028

Please note that it will not work with the .19 version (B series) of mythtv because of the .mpg extensions.

Mike

Author:  sanger440 [ Wed May 10, 2006 6:57 pm ]
Post subject: 

Khrusher,

That did the trick. I just got the file name from the link in mythweb and cut and pasted it with the touch command. It then deleted properly. Thanks.

mjl, I will have to look into that script you referenced. Thanks.

Author:  mjl [ Wed May 10, 2006 7:14 pm ]
Post subject: 

Hi,

marc.aronson did all the work on the mythlink.sh tweaks and deserves credit with his programming skills. All I did was notice a small problem.

It is rather long reading but may be informational and help you get an insight as it addressed the very issue you had. You may have another problem that you don't even know about yet :)

Any R5B7 (and future release) users should disable mythlink.sh because of file extension change over, .nuv <> .mpg
Enjoy.
Mike

Edit
Don't know how I missed this...
http://mysettopbox.tv/phpBB2/viewtopic. ... 4f4678ab85

Author:  RacerX [ Wed Jul 05, 2006 9:57 am ]
Post subject: 

Thanks for the info on the TOUCH command. I looking for a way to cleanup the mythbackend log and this did the trick....very nice

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/