Ticket #10968: 0001-Fix-request-url-in-python-bindings-MythXML-.getExpir.patch

File 0001-Fix-request-url-in-python-bindings-MythXML-.getExpir.patch, 969 bytes (added by esarfl@…, 8 years ago)
  • mythtv/bindings/python/MythTV/methodheap.py

    From f0cfe1bdbf72750566da63ebd7f7e5f131296ad1 Mon Sep 17 00:00:00 2001
    From: Tom Hayward <esarfl+github@gmail.com>
    Date: Tue, 31 Jul 2012 14:23:03 -0600
    Subject: [PATCH] Fix request url in python bindings MythXML().getExpiring()
    
    ---
     mythtv/bindings/python/MythTV/methodheap.py |    2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/mythtv/bindings/python/MythTV/methodheap.py b/mythtv/bindings/python/MythTV/methodheap.py
    index 176b91b..99f3bdd 100644
    a b class MythXML( XMLConnection ): 
    11991199        """
    12001200        Returns a list of Program objects for expiring shows on the backend.
    12011201        """
    1202         for prog in self._request('Dvr/GetExpiring')\
     1202        for prog in self._request('Dvr/GetExpiringList')\
    12031203                    .readJSON()['ProgramList']['Programs']:
    12041204            yield Program.fromJSON(prog, self.db)
    12051205