[mythtv] Wondering about changing the MythTV player Play/Pause behaviour...
John P Poet
jppoet at gmail.com
Mon Dec 7 19:18:23 UTC 2015
On Mon, Dec 7, 2015 at 11:35 AM Vaughan Harper <vaughanharper94 at gmail.com>
wrote:
> Folks,
> In the UK, one of the major PVRs is Sky+ (comparable with Tivo in North
> America?). The play/pause behaviour is different from the MythTV player
> (with Sky+ if you are fast forwarding/scanning and you press Play then
> it goes into Play x1 rather than pausing), so I'd like to change the
> MythTV behaviour to match Sky+, in order to make it easier switching
> from one to another. (I'd also like to change the speed up/slow down
> behaviour to match Sky+ and try and emulate the Apple TV "what was that"
> feature to replay the last 30 seconds with subtitles on.)
>
> So I'm wondering whether there would be there would be general interest
> in this or whether I should just do it as a personal fork. It seems like
> the key changes would be in tv_play.cpp, but I guess that if it were to
> be adopted there would have to be a setting to control whether to stick
> with the existing behaviour or use this changed behaviour, so that would
> require more changes to set/store this setting.
>
> What do people think? Shall I just do my own thing, or should I submit
> the work?
>
> Many thanks,
> Vaughan
>
In Myth, the 'P' is mapped to PAUSE by default. The PAUSE action toggles
between Play and Pause. The is also a PLAY action (I have it mapped to
Ctrl+P), which always goes into the Play mode. If you are talking about
FFWD/RWND, then hitting Ctrl+P may solve that problem for you.
If you are talking about "timestretch", though, then that will not help.
Hitting PLAY (Ctrl+P) with timestretch enabled does not change back to a
1.0x play speed. For that there is a separate "TOGGLESTRETCH" action. On
my system that is bound to 'A'. There is also the "ADJUSTSTRETCH" action,
which can also be used to toggle timestretch on/off, while allowing the
arrow keys to adjust the playback speed.
You can tweak what keys perform what action in Setup->Edit Keys->TV
Playback.
In Setup->Video->Playback Groups you can adjust how far Myth jumps when you
hit your Skip or Jump keys. For example, I have my 'default' configuration
set to:
Skip ahead (seconds): 30
Skip back (seconds): 7
Jump amount (minutes): 3
You could change "Skip back" to be 30 seconds. That will not toggle
subtitles, but I assume you have that assigned to another key?
In summary, you may be able to get most of the way to your goal without any
code changes, but with some configuration.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20151207/a52ce59b/attachment.html>
More information about the mythtv-dev
mailing list