<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 5, 2022, 12:33 AM Klaas de Waal <<a href="mailto:klaas.de.waal@gmail.com">klaas.de.waal@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 5 Jul 2022 at 05:13, John P Poet <<a href="mailto:jppoet@gmail.com" target="_blank" rel="noreferrer">jppoet@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Mon, Jul 4, 2022 at 8:30 PM David Engel <<a href="mailto:david@istwok.net" target="_blank" rel="noreferrer">david@istwok.net</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Jul 04, 2022 at 08:03:45PM -0600, John P Poet wrote:<br>
> Hi all,<br>
> <br>
> I don't think the call to CardUtil::IsUniqueDisplayName() should be fatal<br>
> in V2Capture::AddCardInput. *Only the last two characters* of the<br>
> DisplayName are considered to determine if it is unique. That unfairly<br>
> penalizes users who use a theme which can display more than two characters.<br>
> <br>
> Thoughts?<br>
<br>
The last two characters of the short, display name can be and is used<br>
in themes.  Without enforcing this uniqueness requirement, themes that<br>
use the short, dispaly name will present ambiguous inputs.<br>
<br>
David<br></blockquote><div><br></div><div>It should be up to the user to choose Display Names which work with the theme they have chosen. Why penalize some users just to protect other users from making a poor choice?<br></div><div><br></div><div>John<br></div></div></div><br></blockquote><div>As I understand it, it is only a presentation string so it does not matter for correct operation.</div><div>Consider using a 4-tuner HDHomeRun box. It is not really important which of the four tuners are used so a string like "HC" (short for HDHomerun Cable) could then be used for all four input connections.</div><div>So I suggest doing it the same as in mythtv-setup; generate a default that is unique, e.g. "Input 12", but leave the decision to the user.</div><div><br></div><div>Klaas.</div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Let's move <span style="font-size:12.8px">CardUtil::IsUniqueDisplayName(</span><span style="font-size:12.8px">)</span> to its own services API call. Then the application can use it to warn the user of the consequences of their choice.</div><div dir="auto"><br></div><div dir="auto">John</div></div>