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:
James Willcox 2006-01-13 23:07:10 +00:00
Родитель 5d95598ea9
Коммит 2a31f54025
3 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -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.