azatoth/minidlna — Issue #4: Inotify add new subtitle
Author: lluzak
Created: 2011-10-30 21:49:22+00:00
State: open

I found bug in SQL statement in method check_for_captions in metadata.c file. If subtitle filename is for example:
# How.I.Met.Your.Mother.S07E07.HDTV.XviD-LOL.[VTV].avi
There won't be any result in database, because glob function which is use in sql statment will interpret [VTV] as range pattern and glob function in sqlite hasn't escape character.