xbmc/xbmc — pull request #839 by pieh (2012-04-01 22:25:39+00:00)
Title: fixed: couldn't find path id in video database for local win32 paths

Backslash is escape char for sql LIKE wildcards - using like with win32 paths containing '\' will not work here.

Apart from that - we aren't really matching pattern here, just looking for exact value, right? If so we can consider doing same in https://github.com/xbmc/xbmc/blob/master/xbmc/video/VideoDatabase.cpp#L792