[mythtv-users] Watch Recordings doesn't list size of single recording

Jerome Yuzyk jerome at supernet.ab.ca
Thu Dec 10 00:46:27 UTC 2015


On Wednesday, December 09, 2015 06:06:49 PM John P Poet wrote:
> On Wed, Dec 9, 2015 at 9:47 AM Daryl McDonald <darylangela at gmail.com> wrote:
> 
> > On Tue, Dec 8, 2015 at 6:55 PM, Jerome Yuzyk <jerome at supernet.ab.ca>
> > wrote:
> >
> >>
> >> Curious about an oddity I just noticed in 0.27.4 Watch Recordings using
> >> the MythCenter-Wide theme.
> >>
> >> As I scroll through the master (left list) there is a comment below the
> >> Show Title like
> >>
> >> "There are 5 recordings in this display group, which consume 6.60GB"
> >>
> >> Except when there's only 1 recording, like a movie:
> >>
> >> "There is 1 recording in this display group"
> >>
> >> Why special-case this comment and not show the size of that file?
> >>
>
> Remove the Delete Recordings screen.
> 
> This screen was nearly functionally identical to the Watch Recordings
> screen. The primary differences between the two were the default sorting
> order and whether the default SELECT action deleted or played the currently
> selected recording. The one, small, hard-coded feature of Delete Recording
> to display the total disk space used by a group has been added to Watch
> Recordings. The remaining difference is the displayed information and that
> is controlled by the theme. Of the included themes, only MythCenter-wide
> had specail support for Delete Recordings. For it, the total disk usage
> bar-graph has been added to Watch Recordings.

Thanks for that insight. I don't have a bar graph. I looked into playback.cpp and don't understand why the if{} is there. Does the code inside break if there's only 1 recording?


-- 
A little of Jerome's MythTV World: http://mythtv.bss.ab.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20151209/2fe1da84/attachment.html>


More information about the mythtv-users mailing list