podsleuth r55 - in trunk: . src/PodSleuth.Hal/PodSleuth.HalFrontend



Author: abock
Date: Fri May 30 22:23:37 2008
New Revision: 55
URL: http://svn.gnome.org/viewvc/podsleuth?rev=55&view=rev

Log:
2008-05-30  Aaron Bockover  <abock gnome org>

    * src/PodSleuth.Hal/PodSleuth.HalFrontend/HalClient.cs:
    Apply patch to fix the /console client/ - note this /does not/
    address the issue that many are reporting about iPods not showing
    up; from what I can tell that's a /distro level issue/ where HAL
    is not executing the callout from the FDI file we install



Modified:
   trunk/ChangeLog
   trunk/src/PodSleuth.Hal/PodSleuth.HalFrontend/HalClient.cs

Modified: trunk/src/PodSleuth.Hal/PodSleuth.HalFrontend/HalClient.cs
==============================================================================
--- trunk/src/PodSleuth.Hal/PodSleuth.HalFrontend/HalClient.cs	(original)
+++ trunk/src/PodSleuth.Hal/PodSleuth.HalFrontend/HalClient.cs	Fri May 30 22:23:37 2008
@@ -82,8 +82,7 @@
             Hal.Manager manager = new Hal.Manager();
             int count = 0;
             
-            foreach(Hal.Device ipod in manager.FindDeviceByStringMatchAsDevice(
-                "portable_audio_player.type", "ipod")) {
+            foreach(Hal.Device ipod in manager.FindDeviceByStringMatchAsDevice("info.product", "iPod")) {
                 foreach(Hal.Device volume in ipod.GetChildrenAsDevice(manager)) {
                     if(!volume.IsVolume || 
                         !volume.PropertyExists("volume.is_mounted") ||
@@ -275,7 +274,7 @@
         
         private static void ShowVersion()
         {
-            Console.WriteLine("PodSleuth {0}, Copyright (C) 2007 Novell, Inc.", Version);
+            Console.WriteLine("PodSleuth {0}, Copyright (C) 2007-2008 Novell, Inc.", Version);
             Console.WriteLine("http://banshee-project.org/PodSleuth";);
         }
         



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]