[mythtv] [mythtv-commits] Ticket #3522: Deleting a video doesn't delete the .png in the data directory
Michael T. Dean
mtdean at thirdcontact.com
Thu Aug 9 18:11:05 UTC 2007
On 08/09/2007 04:29 AM, Nick Morrott wrote:
> On 09/08/07, Michael T. Dean <mtdean at thirdcontact.com> wrote:
>
>> UTF or some kind of special characters in the filenames?
>>
> Nope.
>
>> So, the only way I could see them sticking around is a) if there's
>> something "wrong" with the filename
> a) I'll post the filenames below in case you can see anything untoward.
> ...
> -rw-r--r-- 1 root root 3262152124 Aug 4 22:42 Rush Hour 2
> (Untitled) - CH4 - 2007-08-04-2059.mpg
> -rw-r--r-- 1 root root 8540 Aug 9 08:11 Rush Hour 2
> (Untitled) - CH4 - 2007-08-04-2059.mpg.100x0x390.png
> -rw-rw-rw- 1 root root 19294 Aug 9 08:07 Rush Hour 2
> (Untitled) - CH4 - 2007-08-04-2059.mpg.png
Ah, spaces... The nameFilter used by QDir allows multiple globs
separated by spaces (or semicolons), so your filename ends up being a
bunch of non-matching globs. Does the attached patch work for you?
Thanks,
Mike
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mythtv-spaces_in_png_filenames.patch
Url: http://mythtv.org/pipermail/mythtv-dev/attachments/20070809/6e02fe35/attachment.diff
More information about the mythtv-dev
mailing list