Opened 3 years ago

Last modified 20 months ago

#13338 infoneeded Patch - Feature

Add support for playback of requested Live TV channel from Frontend Services API

Reported by: Justin Randall Owned by: Bill Meek
Priority: minor Milestone: needs_triage
Component: MythTV - General Version: Master Head
Severity: medium Keywords: frontend services API
Cc: Ticket locked: no


The pull request URL is

Needs code review and independent testing.

This is a simple change to extend the Frontend Services API with a new POST method for requesting Live TV playback tuned to a specific channel ID.

  • Makes sure requested ChanID is "valid" i.e. non-negative, non-zero.
  • Checks current state of frontend GUI and attempts to change to Live TV.
  • If current state is Live TV then requested channel identifier passed to network control for tuning.


The PlayLiveTV API takes the following arguments:

ChanId? (Required)

Parameter Type: Integer

Parameter Description: The database channel id for tuning.

Example Query:


Attachments (1)

frontend-services-playLiveTV.patch (3.7 KB) - added by Justin Randall 3 years ago.
New version of patch compatible with recent changes to trunk.

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by Justin Randall

New version of patch compatible with recent changes to trunk.

comment:1 Changed 3 years ago by Bill Meek


The above attachment doesn't build.

I appears that the most recent pull request was merged (perhaps in your own tree?) In any case, I can't find it.

Please attach a diff of the code that builds (and works) here. Thanks.

It might help to define your use case. Note that Frontend/GetStatus plus Frontend/SendKey _may_ do what you want.

comment:2 Changed 3 years ago by Bill Meek

Status: newinfoneeded_new

comment:3 Changed 2 years ago by paul-h

Milestone: needs_triageunknown
Owner: set to Bill Meek
Status: infoneeded_newassigned

Sound like a useful addition. Justin any chance of an updated patch?

comment:4 Changed 2 years ago by paul-h

Status: assignedinfoneeded

comment:5 Changed 20 months ago by Stuart Auchterlonie

Milestone: unknownneeds_triage


Could you review please?

Note: See TracTickets for help on using tickets.