<table><tr><td style="">sitter created this revision.<br />sitter added a reviewer: ngraham.<br />Herald added projects: Dolphin, Frameworks.<br />Herald added subscribers: kfm-devel, kde-frameworks-devel.<br />sitter requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28078">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>if both dnssd and wsdiscovery have the same server on offer we'd create<br />
duplicated entries. instead keep track of the discovered names and only<br />
use the first discovery. notably happens when using wsdd on linux where<br />
samba would also register itself on dnssd.</p>
<p>for ease of access and to not have to roundtrip through udsentry, discovery<br />
objects now have a udsName function that is meant to be the exact name<br />
used for the udsentry.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">have samba</li>
<li class="remarkup-list-item">run wsdd.py from <a href="https://github.com/christgau/wsdd" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/christgau/wsdd</a></li>
<li class="remarkup-list-item">server only shows up once</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R320 KIO Extras</div></div></div><br /><div><strong>BRANCH</strong><div><div>smb-no-dupes</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28078">https://phabricator.kde.org/D28078</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>smb/discovery.h<br />
smb/dnssddiscoverer.cpp<br />
smb/dnssddiscoverer.h<br />
smb/kio_smb_browse.cpp<br />
smb/wsdiscoverer.cpp<br />
smb/wsdiscoverer.h</div></div></div><br /><div><strong>To: </strong>sitter, ngraham<br /><strong>Cc: </strong>kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, cblack, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov<br /></div>