[mythtv-users] mythbackend --printexpire

Tom Hayward esarfl at gmail.com
Tue Jul 31 20:27:11 UTC 2012


On Tue, Jul 31, 2012 at 1:42 PM, Tom Hayward <esarfl at gmail.com> wrote:
> MythXML().getExpiring() seems to map to Dvr/GetExpiring, when the
> correct url is Dvr/GetExpiringList.
>
>>>> import MythTV
>>>> for i in MythTV.MythXML().getExpiring():
> ...   i
> ...   break
> ...
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/pymodules/python2.7/MythTV/methodheap.py", line 1202,
> in getExpiring
>     for prog in self._request('Dvr/GetExpiring')\

Well it seems I'm not completely helpless... attached is a patch to
fix this issue.

Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-request-url-in-python-bindings-MythXML-.getExpir.patch
Type: application/octet-stream
Size: 968 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120731/1bf7ea9d/attachment.obj>


More information about the mythtv-users mailing list