mikep at randomtraveller
Aug 5, 2012, 3:22 AM
Post #15 of 41
On 05/08/12 00:18, Nick Rout wrote:
> On Sun, Aug 5, 2012 at 10:17 AM, Chris Gentle <gentlec [at] gmail> wrote:
>> On Sat, Aug 4, 2012 at 3:35 PM, Nick Rout <nick.rout [at] gmail> wrote:
>>> once the file has been scanned, and (because it is named wrongly) no
>>> metadata is found, it will not be rescanned again, even if you change
>>> the file name. Move the files that have been renamed out of your
>>> storage group, rescan (and they will be deleted from the dB), move
>>> them back and rescan.
>> Would just deleting the information from the videometadata table accomplish
>> the same thing? That seems faster than moving a directory full of videos
>> out and back into the storage group.
> I used to do that but was told off because doing that doesn't clear
> data out of related tables.
> I copy the files using midnight commander to a directory on the same
> disk, it is usually almost instantaneous as no data actually gets
> shifted on disk. eg I have /mnt/videos/videoes/TV/Misnamed_series. The
> SG is set to /mnt/videos/videos. I just move the whole misnamed_series
> directory to /mnt/videos, scan, move back, scan.
You could save a whole lot of work - and possible mistakes - just by deleting
the storage group /entry/ in the mythtv database and creating a new one pointing
to an empty directory somewhere. Scan, put entry back where videos reside. No
need to touch any media files.
mythtv-users mailing list
mythtv-users [at] mythtv