2006-01-13 James Willcox <snorp@snorp.net>
* src/ServiceLocator.cs (OnServiceResolved): don't fire of a 'Found' event if we already have it. svn path=/trunk/daap-sharp/; revision=55560
This commit is contained in:
Родитель
5d95598ea9
Коммит
2a31f54025
|
@ -1,3 +1,8 @@
|
|||
2006-01-13 James Willcox <snorp@snorp.net>
|
||||
|
||||
* src/ServiceLocator.cs (OnServiceResolved): don't fire of a 'Found'
|
||||
event if we already have it.
|
||||
|
||||
2006-01-09 Aaron Bockover <aaron@aaronbock.net>
|
||||
|
||||
* src/ContentWriter.cs:
|
||||
|
|
|
@ -31,6 +31,7 @@ namespace DAAP.Tools {
|
|||
ServiceLocator locator = new ServiceLocator ();
|
||||
locator.Found += OnServiceFound;
|
||||
locator.Removed += OnServiceRemoved;
|
||||
locator.Start ();
|
||||
} else {
|
||||
string host = args[0];
|
||||
|
||||
|
|
|
@ -134,6 +134,11 @@ namespace DAAP {
|
|||
(o as ServiceResolver).Dispose ();
|
||||
|
||||
string name = args.Service.Name;
|
||||
|
||||
if (services[args.Service.Name] != null) {
|
||||
return; // we already have it somehow
|
||||
}
|
||||
|
||||
bool pwRequired = false;
|
||||
|
||||
// iTunes tacks this on to indicate a passsword protected share. Ugh.
|
||||
|
|
Загрузка…
Ссылка в новой задаче