[mythtv-users] Force refresh of recordings list?

Raymond Wagner raymond at wagnerrp.com
Fri Apr 15 18:07:32 UTC 2011

On 4/15/2011 13:26, Mike Holden wrote:
> Raymond Wagner wrote:
>> On 4/15/2011 09:05, Mike Holden wrote:
>>> 2. The problem I have with 1. above is that once the recgroup is
>>> updated, the frontend doesn't automatically see the changes. I
>>> would
>>> like to send some kind of "recordings refresh" command to all
>>> frontends to tell it to refresh it's list of recordings. Is this
>>> possible? Again, I've searched the wiki and can't see anything
>>> that
>>> looks relevant.
>> be = MythTV.MythBE()
>> prog = Program.fromRecorded(rec)
>> be.backendCommand(MythTV.static.BACKEND_SEP.join("MESSAGE",
> TypeError: join() takes exactly one argument (3 given)

Make that...

from MythTV import Recorded, MythBE, Program
rec = Recorded((<chanid>,<starttime>))
be = MythBE()
prog = Program.fromRecorded(rec)
be.backendCommand(MythTV.static.BACKEND_SEP.join(("MESSAGE","RECORDING_LIST_CHANGE UPDATE", prog.toString())))

More information about the mythtv-users mailing list