<table class="memname"><tbody><tr><td class="memname">def imdbpy::detect_series_title </td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname"> <em>search_string</em> </td>
<td> ) </td>
<td width="100%"><br></td>
</tr>
</tbody></table>
<p>
</p><div class="fragment"><pre class="fragment">Detects a series episode title.<br><br>Currently the following formats are detected:<br>"Sopranos Season 1 Episode 2"<br>"Sopranos S1E2"<br>"Sopranos S1 E2"<br>
"Sopranos 1x2"<br>"Sopranos - 1x2"<br>"Sopranos 612"<br></pre></div><br><br><div class="gmail_quote">2009/1/9 Hadley Rich <span dir="ltr"><<a href="mailto:hads@nice.net.nz">hads@nice.net.nz</a>></span><br>
<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">On Friday 09 January 2009 13:16:29 Steve Hodge wrote:<br>
> I'd use a regular expression in Python to figure it out myself.<br>
<br>
</div>Again I'd recommend looking at the way find_meta.py does it as it's already<br>
been implemented.<br>
<br>
detect_series_title in mythplugins/mythvideo/mythvideo/script/imdbpy.py<br>
<div class="Ih2E3d"><br>
hads<br>
--<br>
<a href="http://nicegear.co.nz" target="_blank">http://nicegear.co.nz</a><br>
VoIP, DVB and other Linux compatible hardware.<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" target="_blank">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>"A little rudeness and disrespect can elevate a meaningless interaction to a battle of wills and add drama to an otherwise dull day." - Calven<br>