commit f575d75d3f070ffaa07f94dd200385c1a6b9ccd0
Author: Hector Martin <hec...@marcansoft.com>
Date:   Tue Oct 20 19:17:59 2009 +0200

    Try looking for iTunesCDB first in itdb_get_itunesdb_path

 src/itdb_itunesdb.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c
index a01f9df..2d65d11 100644
--- a/src/itdb_itunesdb.c
+++ b/src/itdb_itunesdb.c
@@ -7103,7 +7103,10 @@ gchar *itdb_get_itunesdb_path (const gchar *mountpoint)
 
     if (itunes_dir)
     {
-       path = itdb_get_path (itunes_dir, "iTunesDB");
+       path = itdb_get_path (itunes_dir, "iTunesCDB");
+       if(!path) {
+           path = itdb_get_path (itunes_dir, "iTunesDB");
+       }
        g_free (itunes_dir);
     }
 

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to