Mailing List Archive

Ticket #11453: Frontend Services API doesn't playback recording when frontend isn't in "Watch Recordings"
#11453: Frontend Services API doesn't playback recording when frontend isn't in
"Watch Recordings"
------------------------+--------------------------------------
Reporter: thomas@… | Type: Bug Report - General
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - General
Version: 0.26-fixes | Severity: medium
Keywords: | Ticket locked: 0
------------------------+--------------------------------------
When using the frontend services API to start playback of a recording on a
frontend, the frontend will not start playback unless it is already on the
"Watch Recordings" screen.


What is expected to happen:
When using the PlayRecording service on the frontend, it should start
playback of the recording regardless of what menu the frontend is
currently displaying.

What actually happens:
If the frontend is displaying a screen other than "Watch Recordings" the
frontend will switch to the "Watch Recordings" screen and stay there
without playing back the recording.

Extra Notes:
If after reproducing this bug, you immediately send another
"PlayRecording" for a different recording (after the frontend has already
switched to the "Watch Recordings" screen), it will play the recording
that was initially requested. When exiting the initially requested
recording, it well then start playback of the second requested recording.

This appears to only be an issue with recordings. Using PlayVideo when the
frontend is on any screen works as expected.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11453>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #11453: Frontend Services API doesn't playback recording when frontend isn't in "Watch Recordings" [ In reply to ]
#11453: Frontend Services API doesn't playback recording when frontend isn't in
"Watch Recordings"
----------------------------------+----------------------------
Reporter: thomas@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.26-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+----------------------------

Comment (by Thomas Mashos <thomas@…>):

Per conversation with sphery, I also tested it from the main menu. It
fails in exactly the same way (so it's not related to bug #10407 )

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11453#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #11453: Frontend Services API doesn't playback recording when frontend isn't in "Watch Recordings" [ In reply to ]
#11453: Frontend Services API doesn't playback recording when frontend isn't in
"Watch Recordings"
----------------------------------------------+----------------------------
Reporter: thomas@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Services API - Frontend | Version: 0.26-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------------------+----------------------------
Changes (by cpinkham):

* component: MythTV - General => MythTV - Services API - Frontend


--
Ticket URL: <http://code.mythtv.org/trac/ticket/11453#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #11453: Frontend Services API doesn't playback recording when frontend isn't in "Watch Recordings" [ In reply to ]
#11453: Frontend Services API doesn't playback recording when frontend isn't in
"Watch Recordings"
----------------------------------------------+----------------------------
Reporter: thomas@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Services API - Frontend | Version: 0.26-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------------------+----------------------------

Comment (by pkendall64@…):

I have the same problem and I have worked around it by first sending a
SendAction command with the action set to "TV Recording Playback". My
application first calls GetStatus and only send the action if it's not
already in the recording screen "playbackbox". After sending the action I
wait 1 second before starting the recording playback. I'm not sure if the
1 second wait depends on the number of recordings or not, but it works for
me.

Still it would be good to have this problem fixed so the workaround is not
required.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/11453#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #11453: Frontend Services API doesn't playback recording when frontend isn't in "Watch Recordings" [ In reply to ]
#11453: Frontend Services API doesn't playback recording when frontend isn't in
"Watch Recordings"
----------------------------------------------+----------------------------
Reporter: thomas@… | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Services API - Frontend | Version: 0.26-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------------------+----------------------------

Comment (by jrrandall):

Replying to [comment:3 pkendall64@…]:
> I have the same problem and I have worked around it by first sending a
SendAction command with the action set to "TV Recording Playback". My
application first calls GetStatus and only send the action if it's not
already in the recording screen "playbackbox". After sending the action I
wait 1 second before starting the recording playback. I'm not sure if the
1 second wait depends on the number of recordings or not, but it works for
me.
>
> Still it would be good to have this problem fixed so the workaround is
not required.

I know this issue is relatively ancient, but I had the exact same issue
and implemented a similar "workaround" although after digging into it I
believe that the intention of SendAction is not necessarily to change the
page displayed on the frontend, but rather to change the context of
subsequent commands being sent. It would be great if SendAction supported
the old "jump" commands like the NetworkControl plain text interface does.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/11453#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #11453: Frontend Services API doesn't playback recording when frontend isn't in "Watch Recordings" [ In reply to ]
#11453: Frontend Services API doesn't playback recording when frontend isn't in
"Watch Recordings"
----------------------------------------------+----------------------------
Reporter: thomas@… | Owner: Bill Meek
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone:
| needs_triage
Component: MythTV - Services API - Frontend | Version: 0.26-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------------------+----------------------------
Changes (by Stuart Auchterlonie):

* owner: (none) => Bill Meek
* status: new => assigned
* milestone: unknown => needs_triage


Comment:

Bill, can you review please?

--
Ticket URL: <https://code.mythtv.org/trac/ticket/11453#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center