[mythtv-theming] coverfile vs screenshot

Paul Harrison mythtv at sky.com
Tue Aug 18 22:15:37 UTC 2009

Michael T. Dean wrote:
>> Looks like the default  location is in /tmp but can be changed by
>> editing the ScreenShotPath setting in the DB.
> Well, that's another thing...
> There's both an in-playback screenshot capability that uses the
> SCREENSHOT *keybinding* and a GUI screenshot capability which uses the
> ScreenShot (yes, capitalized differently) *jumppoint*.  The
> in-playback screenshot is in libs/libmythtv/tv_play.cpp in
> TV::ActiveHandleAction() around line 4160.  The GUI screenshot is in
> the MythMainWindow::screenShot() functions.
> The GUI screenshot uses ScreenShotPath, but the in-playback screenshot
> doesn't:
>    QString outFile =
>        QString("%1/.mythtv/%2_%3_%4.png")
>        .arg(QDir::homePath()).arg(ctx->playingInfo->chanid)
>        .arg(ctx->playingInfo->recstartts.toString("yyyyMMddhhmmss"))
>        .arg((long)frameNumber);
> TTBOMK, the GUI screenshot jumppoint still only works in TV playback
> with certain renderers and, when it works, includes the OSD.  The
> in-playback screenshot keybinding works with all renderers and does
> not include the OSD (or captions or ...).
> See http://svn.mythtv.org/trac/changeset/16532 for more on the GUI
> screenshot jumppoint and http://svn.mythtv.org/trac/changeset/12908
> for the in-playback screenshot keybinding stuff.
> Yeah, I know.  Consistency...  If no one else gets to it, I may
> actually find some time to work on improving the consistency
> (including allowing the jumppoint to fall-back to using the
> in-playback screenshot capability when we're using a renderer that
> won't work with the jumppoint capability), but it will be a while. 
> It's been on my TODO since the GUI screenshot went in, but it's not
> high on my list (at all).

Ah didn't know there was two different keybindings for screenshots.

>> It does say in the FE log where the screenshot has been saved. Oddly I
>> seem to be getting 5 screenshots for each press of the SCREENSHOT key!!
> Haven't tried it on trunk, so I haven't seen that.  Is that the GUI
> screenshot or the in-playback "video" screenshot or some weird issue
> resulting from having both the keybinding and the jumppoint mapped to
> the same key?

I was using the jumppoint to take a screenshot of a menu when I got 5
images. Doing the same in live tv and I get 2 images so there is
something broken somewhere. Nothing is bound to the TV
Playback/SCREENSHOT binding.
> Mike

Paul H.

More information about the mythtv-theming mailing list