Opened 5 years ago
Closed 2 years ago
#13338 closed Patch - Feature (Trac EOL)
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 |
Description
The pull request URL is https://github.com/MythTV/mythtv/pull/173
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.
PlayLiveTV
The PlayLiveTV API takes the following arguments:
ChanId? (Required)
Parameter Type: Integer
Parameter Description: The database channel id for tuning.
Example Query:
http://FrontendIP:6547/Frontend/PlayLiveTV?ChanId=1234
Attachments (1)
Change History (7)
Changed 5 years ago by
Attachment: | frontend-services-playLiveTV.patch added |
---|
comment:1 Changed 5 years ago by
Hi,
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 5 years ago by
Status: | new → infoneeded_new |
---|
comment:3 Changed 4 years ago by
Milestone: | needs_triage → unknown |
---|---|
Owner: | set to Bill Meek |
Status: | infoneeded_new → assigned |
Sound like a useful addition. Justin any chance of an updated patch?
comment:4 Changed 4 years ago by
Status: | assigned → infoneeded |
---|
New version of patch compatible with recent changes to trunk.