<table class="memname"><tbody><tr><td class="memname">def imdbpy::detect_series_title           </td>
          <td>(</td>
          <td class="paramtype">&nbsp;</td>
          <td class="paramname"> <em>search_string</em>          </td>
          <td>&nbsp;)&nbsp;</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>&quot;Sopranos Season 1 Episode 2&quot;<br>&quot;Sopranos S1E2&quot;<br>&quot;Sopranos S1 E2&quot;<br>
&quot;Sopranos 1x2&quot;<br>&quot;Sopranos - 1x2&quot;<br>&quot;Sopranos 612&quot;<br></pre></div><br><br><div class="gmail_quote">2009/1/9 Hadley Rich <span dir="ltr">&lt;<a href="mailto:hads@nice.net.nz">hads@nice.net.nz</a>&gt;</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>
&gt; I&#39;d use a regular expression in Python to figure it out myself.<br>
<br>
</div>Again I&#39;d recommend looking at the way find_meta.py does it as it&#39;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>&quot;A little rudeness and disrespect can elevate a meaningless interaction to a battle of wills and add drama to an otherwise dull day.&quot; - Calven<br>