[mythtv-users] MythVideo question / feature request (?)

Chris Pinkham cpinkham at bc2va.org
Wed Feb 6 20:16:10 UTC 2008


* On Wed Feb 06, 2008 at 01:39:34PM -0400, Greg Estabrooks wrote:
> It would have to be a pull since playback might not actually have 
> started for several seconds after you send the command.
> 
> Maybe the query location command could be extended or another could be added
> for getting details about the currently playing video.

I think that's the best solution.  Add another query command to fetch info
about the playing file.

To query info about the currently playing file:

    query file

To query info about any recording:

    query file CHANID STARTTIME

To query info about any file such as a MythVideo entry:

    query file RELATIVE_FILENAME

> Filename, codecs, stream Id's, resolution/aspect and bitrates.

If the file is currently being played, the info could come from the player.
If it is not being played, it's trivial to fire up a player to collect the
info.  Later, this could draw the info from the recordedfile table or its
equivalent for Mythvideo.

> If anything I'd say a change should be put in so that you can differeniate
> between recordings and non recordings in "query location".

> This is what I get when playing a video in mythvideo which is most definitely 
> not a recording :)

> # query location
> Playback Recorded 00:00:18 of 01:20:18 1x 2008-02-06T13:34:59 453

Patches welcome if you want to modify it to support something like the following
types for MythVideo (really any non-MythTV recording file) and DVD:

Playback Video <relevant info>
Playback DVD <relevant info>

--
Chris


More information about the mythtv-users mailing list