[mythtv-users] 0.25_pre20120105: Dialog box "Scan for Changes" in Videos not updating properly

Nick Rout nick.rout at gmail.com
Fri Jan 13 04:14:10 UTC 2012


On Fri, Jan 13, 2012 at 12:07 AM, John Pilkington <J.Pilk at tesco.net> wrote:
> On 01/11/2012 08:44 PM, John Pilkington wrote:
>> On 01/11/2012 07:55 PM, John Pilkington wrote:
>>
>> <snip the 0.25 info>
>>
>>> Scanning for changes isn't working for me now, in 0.24-fixes, but I had
>>> assumed that something had gone awry during my recent Fedora 14 to 15
>>> upgrade.  I still see files that have been in my Video directories for
>>> some time, but none that I have put there recently.  The frontend log
>>> reports  'buildFileList' and 'MythVideo::ScanVideoDirectory Scanning'
>>> for the expected directories - in that order - but no new files appear;
>>>     I haven't tried the effect of removing an old one.  Permissions look ok.
>>>
>>> I suspect that I need to check for new ISP-generated hostnames screwing
>>> things up after the upgrade, but maybe it's a real bug. I haven't tried
>>> it often.
>>>
>>> fixes/0.24 [v0.24.1-106-g31e9528] from ATrpms.
>>>
>>> John P
>>
>> A bit more on this:  I renamed one of the files that wasn't showing.  It
>> still isn't listed, but the log shows that the rename was noticed.
>>
>>    MythVideo::ScanVideoDirectory Scanning (/home/John/Videos)
>> 2012-01-11 19:50:46.921 Hash 6198cbda6b9f2deb already exists in the
>> database, updating record 175 with new filename /home/John/Videos/xxxx.iso
>>
>> Another file that had been renamed earlier is still shown under its old
>> name, and plays.
>>
>> Sorry about the mini-hijack
>>
>> John P
>>
>
> Another update:  If a known file is renamed within a Videos folder a
> rescan doesn't reflect this; it still appears and plays under its
> original name.
>
> If it is moved out of the folder it disappears on a rescan.  If it is
> then moved back again another scan shows it under its new name.  I think
> that explains what I was, and am, seeing in 0.24-fixes.
>
> My posts probably aren't relevant to the OP's concerns about the
> 0.25_pre build.

Don't forget changing the file name does nothing to the metadata or
myth's willingness to rescan the file. Mythvideo hashes files and only
changes metadata if the hash changes, a name change does not change a
hash of the file contents.


More information about the mythtv-users mailing list