The two other drives are formatted in NTFS and contain MKV files I've copied myself. The TV cannot write to that discs, and I know that it saves some files (iirc the MTA and probably other files as well) somewhere on its internal storage when the external drives are scanned for content, and when a specific movie is played, to "remember" some characteristics of the files and the chapter thumbnails. Usually, that works well. However, sometimes, the TV cannot access any more some directories on these external drives, and/or the scan never ends, and/or the TV crashes. I think it's because its internal storage is saturated with too many MTA files accumulated over time.
The last time I've had that problem, I did a factory reset, and everything has been fixed automatically. But I have had to reconfigure completely the TV, rescan for channels, and so on. It's time consuming and boring.
I have again the problem, and I would like to find a way to reset the "memory" of the TV to force it to rescan my external drives from scratch, and renew the little files it stores in its own storage.
When I've rooted my TV, I've located the folder containing these files, but I don't remember where it is, and I can't find it any more. Also, I am not sure I can safely delete all files from that directory. Hence my questions:
- In what directory are located that files?
- Is it safe to delete them all?
- Is it another way (beside the full factory reset) to clean that folder and start over?
Thanks in advance for any pointer.
and also database hidden files TV creates on root of devices, if any: .cm**
Of course reboot then, should be clean
BTW, I've just found the directory containing the files. It's /mtd_contents, like on the E series.
The directory contains two files: MPDBVersion.mgr and MPDeviceId.mgr
It contains also 3 directories: The directory /mtd_contents/database contains Ace.dat and Ace.log.
/mtd_contents/V0 and /mtd_contents/V3 are probably the sub-folders associated with my 2 external drives. They contain a lot of directories whose names are numbers, and in that directories, a single MTA file with the filename of one of the MKV files stored on an external HDD, but of coursae with the .mta extension.
That files are very similar to the files stored on the disc with the recordings made by the TV, and therefore was almost sure that they can be deleted. Thanks for the confirmation.
I have a /mtd_down directory too, but no RecentlyPlayed sub-directory.
I suppose that I don't have any hidden .cm*, except perhaps on the disc with the TV recordings, but it works fine and I have no reason to clean it.
I guess I have to simply delete the content of /mtd_contents and reboot. Will do it right now...
I have an additional question. Do you know why the TV is unable to scan my external drives any more? Software bug? Too many entries in its database? Disc full? Something else?
You should check using df command (if you didn't empty folder already )
I personnally empty it on every TV boot
One of my external disc works fine (like before). But when my TV scans the other disc, the scan never ends. And if I try to open any folder, the TV displays that it cannot be read.
It's a new disc, and I've formatted it in NTFS with a larger block size than recommended (because it contains only large files, and that's theoretically better to minimize fragmentation problems). Could it be the reason? It is difficult for me to test, because I don't have any more the original disc, and I haven't enough room on other discs to do a full backup. Damn!
I will continue to search for a solution, and will report here if I find a trick that works.
It is really a pain to have to disconnect the drive from the TV, connect it to the PC to delete or copy some files, then put it back to the TV and reboot it. And this again and again. I need a way to automate some things to facilitate that numerous tests. So, I'm very interested in your way to empty your /mtd_contents at each TV boot. I suppose that it's a shell script that does the job, but what is its exact content, and, above all, where should I put it ? Or, is it a tutorial or example somewhere ?
I'm also interested in a way to mount my NTFS discs in rw mode, so that I can delete or copy some files via FTP. Is it also a guide somewhere that explains how to do it ?
Sorry if they are noob questions. I've not used any unix/linux OS since a while and I don't remember how to do that. And the forum is very difficult to search. Again, thanks in advance for any help.
Well it's just a single line I've added to one of my startup scripts (anywhere should be fine)rol wrote:So, I'm very interested in your way to empty your /mtd_contents at each TV boot. I suppose that it's a shell script that does the job, but what is its exact content, and, above all, where should I put it ? Or, is it a tutorial or example somewhere ?
Code: Select all
rm -rf /mtd_contents/*
Surerol wrote:I'm also interested in a way to mount my NTFS discs in rw mode, so that I can delete or copy some files via FTP. Is it also a guide somewhere that explains how to do it ?
[App] NTFS: writable! for D series (arm)