[mythtv] [PATCH] Souces Setup in ./setup
Michael Greb
mikegrb at yahoo.com
Sun Jul 6 18:03:10 EDT 2003
--- Matt Zimmerman <mdz at debian.org> wrote:
> It may be time that some validation were added to the settings code. In
> most cases, settings are selected from a (static or dynamic) list, and it is
> impossible to enter something invalid, but there are now more and more text
> entry boxes, and most of them should not be left blank, or should be unique.
>
> I've added constraints to the database so that videosource names must be
> unique and not null. They could, of course, still end up as the empty
> string and other nonsensical things. I think a good approach would be to
> fill the 'name' box with a default name (source1, source2, source3, etc.),
> but this probably deserves a bit more thought.
Thanks! I'll see what I can come up with in the next few days.
Michael
More information about the mythtv-dev
mailing list