summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-07-06 18:33:44 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-07-06 18:33:44 +0000
commit75134918b5ac9028ae696ba39912bc36d00127e5 (patch)
tree3d834ca0740d73fedd74c207755ee53508a1cfbd
parent08047526df522522d8399780243114dd3b50e419 (diff)
downloadlibgpod-tmz-75134918b5ac9028ae696ba39912bc36d00127e5.tar.gz
libgpod-tmz-75134918b5ac9028ae696ba39912bc36d00127e5.tar.xz
libgpod-tmz-75134918b5ac9028ae696ba39912bc36d00127e5.zip
Fix up information from podsleuth
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2044 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r--ChangeLog5
-rw-r--r--src/itdb_device.c12
2 files changed, 11 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 60e074f..33e1e32 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-07-06 Christophe Fergeau <teuf@gnome.org>
+ * src/itdb_device.c: fix model number information grabbed from
+ podsleuth
+
+2008-07-06 Christophe Fergeau <teuf@gnome.org>
+
* src/itdb_device.c: add a mapping from serial numbers to model
numbers to make it easy to go from a serial number read from
SysInfoExtended to an Itdb_IpodInfo
diff --git a/src/itdb_device.c b/src/itdb_device.c
index 08498c7..ef64f0d 100644
--- a/src/itdb_device.c
+++ b/src/itdb_device.c
@@ -473,8 +473,8 @@ static const ItdbSerialToModel serial_to_model_mapping[] = {
{ "XQY", "A951" },
{ "YX8", "A951" },
{ "XR1", "A953" },
- { "YXA", "X" },
- { "YX9", "X" },
+ { "YXA", "B233" },
+ { "YX9", "B225" },
{ "UNB", "A350" },
{ "UPR", "A352" },
{ "SZB", "A004" },
@@ -504,10 +504,10 @@ static const ItdbSerialToModel serial_to_model_mapping[] = {
{ "VQU", "A497" },
{ "Y0P", "A978" },
{ "Y0R", "A980" },
- { "YXR", "A249" },
- { "YXV", "A257" },
- { "YXT", "A253" },
- { "YXX", "A261" },
+ { "YXR", "B249" },
+ { "YXV", "B257" },
+ { "YXT", "B253" },
+ { "YXX", "B261" },
{ "SZ9", "A002" },
{ "SZT", "A002" },
{ "SZU", "A002" },