<div dir="ltr">I have found a handful of things with the Python bindings...<br><br><br>#1, tuples -- I have found a few spots where attempts to are made to pop or append a tuple. Based on the reference below, that won't work. <br>
<br><a href="http://diveintopython.org/getting_to_know_python/tuples.html">http://diveintopython.org/getting_to_know_python/tuples.html</a><br><br><table summary="Callout list" border="0"><tbody><tr><td valign="top" width="12" align="left">
<a href="http://diveintopython.org/getting_to_know_python/tuples.html#odbchelper.tuple.2.1"><img src="http://diveintopython.org/images/callouts/1.png" alt="1" border="0" height="12" width="12"></a>
</td>
<td valign="top" align="left">You can't add elements to a tuple. Tuples have no <tt class="function">append</tt> or <tt class="function">extend</tt> method.
</td>
</tr>
<tr>
<td valign="top" width="12" align="left"><a href="http://diveintopython.org/getting_to_know_python/tuples.html#odbchelper.tuple.2.2"><img src="http://diveintopython.org/images/callouts/2.png" alt="2" border="0" height="12" width="12"></a>
</td>
<td valign="top" align="left">You can't remove elements from a tuple. Tuples have no <tt class="function">remove</tt> or <tt class="function">pop</tt> method.
</td></tr></tbody></table><br clear="all"><br>In MythData.py, the storage group function sgs = db.getStorageGroup(groupname=sgroup, hostname=host) the resultant tuple can't be .pop'd and then has processing failures. You need to make the return type of getStorageGroup to a list datatype<br>
<br><br>#2, ttvdb - the api HATES "&" and other special chars. I know this is a hack, but I recommend something like this (in searchEpisode -- mythdata.py)<br><br> subclean = subtitle.replace("&","and")<br>
res = self.command('-N', '"%s"' % title, '"%s"' % subclean)<br><br><br><br>-- <br>--Dave<br>
</div>