[mythtv] Services bug with dupin field
David Engel
david at istwok.net
Sat Aug 22 17:07:04 UTC 2020
On Sat, Aug 22, 2020 at 11:16:11AM -0400, Peter Bennett wrote:
>
> On 8/21/20 9:09 PM, David Engel wrote:
> > On Fri, Aug 21, 2020 at 02:48:27PM -0400, Peter Bennett wrote:
> > > Any comments or suggestions? Let me know.
> > I think the best solutino is to split the new episodes only/new and
> > repeat value out into a totally new value. The trick will be to
> > maintain as much backward compatibility as you can.
>
> So, change the service apis so that Dupin returns only "Current Recordings"
> , "Previous Recordings" or "All Recordings" by first removing the "New
> episodes" flag if present. Then add a new tag called "NewEpisodesOnly" with
> boolean true/false value, based on that flag.
>
> The new tag should not affect existing users who should just ignore it.
>
> In the AddRecordSchedule method if they do submit value "New Episodes Only"
> for Dupin and leave out the "NewEpisodesOnly" tag, then continue with what
> it would have done before, set only that value with nothing for current,
> previous or all recordings (for backward compatibility).
>
> Does this sound good?
Mostly. If no information for current/previous recordings is provided
(i.e. new episodes only in dupin and no new tag), set both current and
previous recordings in dupin. That "fixes" the old behavior as I
consider it a bug.
David
--
David Engel
david at istwok.net
More information about the mythtv-dev
mailing list