On Fri, Jan 9, 2009 at 12:59 PM, Hayden Lovett <span dir="ltr"><<a href="mailto:hayden.lovett@gmail.com">hayden.lovett@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><div style="margin-left: 40px;">for example stargate.atlantis.s02e13.critical.mass.ws.dvdrip.xvid-saints.avi<br>
is not picked up as a TV show.<br></div></div><div><br>I have a mask which searches the MySQL to look for TV shows % s__e__% so there is a space before the s. Otherwise it picked up "episode" in the mask.<br>
<br>I will add the option of %.s__e__%<br></div><div class="Ih2E3d"></div></blockquote><div><br>Having a dot before the s is the more common case I suspect, but I don't think you can make any assumptions as to where the sXXeXX will appear. My own layout is to have "<showname>/sXXeXX <episode title>" or "<showname>/sXXeXX - <episode title>". I think you'll have to stick with %s__e__% and then verify that the s and e are followed by numbers outside of sql. I'd use a regular expression in Python to figure it out myself.<br>
<br>Cheers,<br>Steve<br></div></div><br>