[mythtv-commits] Ticket #11884: Auto expire fails on non-case sensitive file systems
MythTV
noreply at mythtv.org
Mon Sep 30 13:01:07 UTC 2013
#11884: Auto expire fails on non-case sensitive file systems
--------------------------------------+------------------------
Reporter: doug@… | Owner: mdean
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Housekeeper | Version: 0.27-fixes
Severity: low | Keywords:
Ticket locked: 0 |
--------------------------------------+------------------------
On a system with a non-case sensitive file system if the storage path
string is set using a different case to the actual underlying file system,
programs will record but they will never be expired.
The auto expire process will appear to be working in the logs, except
never actually deleting the file.
I think the error ultimately occurs at the 'contains' test here in
mythtv/mythtv/programs/mythbackend/autoexpire.cpp
592 if (dirList.contains(p->GetHostname() + ':' +
vidFile.path()))
One of the values being compared will be the returned value from the file
system, the other will be based on the string in the settings, so they
won't match.
Noticed this on my OSX frontend & backend system.
Workaround: store path strings in lower-case
In my case the storage path was originally set to
/Volumes/BiggusDiskus/Video
This failed for auto expire
Auto expire worked again when the path was changed to
/volumes/biggusdiskus/video
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11884>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list