[mythtv-users] Feature wish: identify recording type
gnassas at mac.com
Thu Jun 23 03:39:39 UTC 2005
On 22-Jun-05, at 9:52 PM, Kevin Kuphal wrote:
> Just as a note. You can see the file size on the Delete Recordings
Also, the program details you get from the U key includes the filesize.
On my machine mpeg2 recordings are 2 gigs per hour and mpeg4 ones are a
third of that so I can guess the format from the filesize.
I took a quick look at the code, possibly too quick, and it seems that
all the info displayed in the program details dialog comes from the
ProgramInfo class. It gets all its information from the database and
recording type isn't currently stored there so it would have to be
added which sounds like a major minor change (eg, small changes in many
places). Alternatively, the recording file itself could be examined but
since every other bit of data supplied by ProgramInfo comes from the
database hitting the filesystem might be an architectural no no. For
one thing if the frontend uses that class it would have to have access
to the recordings directory which is optional right now.
But, I'm speculating way too much from one quick look at the code. I'd
use the U key!
More information about the mythtv-users