banshee r4815 - in trunk/banshee: . src/Extensions/Banshee.Torrent/Banshee.Torrent
- From: alanmc svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4815 - in trunk/banshee: . src/Extensions/Banshee.Torrent/Banshee.Torrent
- Date: Sun, 9 Nov 2008 14:17:28 +0000 (UTC)
Author: alanmc
Date: Sun Nov 9 14:17:28 2008
New Revision: 4815
URL: http://svn.gnome.org/viewvc/banshee?rev=4815&view=rev
Log:
2008-11-09 Alan McGovern <alan mcgovern gmail com>
* Banshee.Torrent/Banshee.Torrent/TorrentService.cs: If the service is
not already running when banshee calls it, we need to ping it a
second time to see if it auto-started
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Extensions/Banshee.Torrent/Banshee.Torrent/TorrentService.cs
Modified: trunk/banshee/src/Extensions/Banshee.Torrent/Banshee.Torrent/TorrentService.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Torrent/Banshee.Torrent/TorrentService.cs (original)
+++ trunk/banshee/src/Extensions/Banshee.Torrent/Banshee.Torrent/TorrentService.cs Sun Nov 9 14:17:28 2008
@@ -107,9 +107,15 @@
service = bus.GetObject<ITorrentService> (BusName, ServicePath);
service.GetAvailableEngines ();
} catch {
- Log.Error ("Torrent backend could not be found and could not be auto-started");
- service = null;
- return;
+ // Try one more time
+ try {
+ service = bus.GetObject<ITorrentService> (BusName, ServicePath);
+ service.GetAvailableEngines ();
+ } catch {
+ Log.Error ("Torrent backend could not be found and could not be auto-started");
+ service = null;
+ return;
+ }
}
// Register with Migo so we can handle .torrent downloads
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]