[mythtv] Re: [mythtv-commits] Ticket #537: playbackbox doesn't
observe "Newest recordings first" checkbox when sorting by
original air date.
John P Poet
jppoet at gmail.com
Fri Oct 28 04:58:30 UTC 2005
On 10/27/05, MythTV <mythtv at cvs.mythtv.org> wrote:
> #537: playbackbox doesn't observe "Newest recordings first" checkbox when sorting
> by original air date.
> -------------------------------------+--------------------------------------
> Reporter: gregturn at mindspring.com | Owner: ijr
> Type: defect | Status: new
> Priority: minor | Milestone:
> Component: mythtv | Version:
> Severity: medium | -------------------------------------+--------------------------------------
> I was checking out the option in TV Settings->Playback about sorting by
> Original Airdate, and noticed that it was hardcoded to only sort one way.
> It didn't observe the checkbox that indicates "Newest Recording First"
> whether it was on or off.
>
> I have coded a patch to observe this checkbox by editing playbackbox.cpp.
> I created a copy of the original comp_originalAirdate and swapped the
> "return -1" and "return 1" statements. To clarify which method served
> which purpose, I renamed these two sort routines as
> comp_originalAirDateDesc and comp_originalAirDateAsc.
>
> --
> Ticket URL: <http://cvs.mythtv.org/trac/ticket/537>
> MythTV <http://www.mythtv.org/>
> MythTV
Actually, that was on purpose.
Personally, I want the episode for a specific show sorted in ascending
order (by original air date), but I want the episodes listed under
"All Programs" to have the newest episodes first.
If you really want the episodes listed in reverse-original-air-date
order, I would make that a separate option. In other words, have
"Original Air Date (ascending)" and "Original Air Date (descending)"
options.
John
More information about the mythtv-dev
mailing list