[mythtv-commits] Ticket #13300: Python Bindings enhancemts according to latest MythTV protocol (91)
MythTV
noreply at mythtv.org
Tue Nov 19 08:57:08 UTC 2019
#13300: Python Bindings enhancemts according to latest MythTV protocol (91)
-------------------------------+--------------------------------
Reporter: rcrdnalor | Owner: Raymond Wagner
Type: Patch - Feature | Status: infoneeded_new
Priority: minor | Milestone: 31.0
Component: Bindings - Python | Version: v29-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------------+--------------------------------
Comment (by Roland Ernst <rcrernst@…>):
In [changeset:"c53c4440229717c0de559f50009b4479b95044f9/mythtv"
c53c444022/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="c53c4440229717c0de559f50009b4479b95044f9"
Allow 'db.seacrchRecorded' method to search by given 'recordedid'
This patch implements a search inside the 'recorded' table by given
'recordedid' by modifing the already implemented 'searchRecorded' method.
Usage:
$ python
>>> from MythTV import MythDB
>>> db = MythDB()
>>> reciter = db.searchRecorded(recordedid = 4762)
>>> rec = next(reciter)
>>> rec
<Recorded 'The Lady from Shanghai','2019-03-05 13:51:00+01:00' at .>
>>> exit()
refs #13300
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13300#comment:7>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list