summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2009-03-27 18:09:01 +0000
committerDominik Wenger <domonoky@googlemail.com>2009-03-27 18:09:01 +0000
commit75a5b9321bc9c5da20de023f84dd96dcc5297f1a (patch)
tree19c88e85a1c9e71051b5eded2f40d361db5dcb49
parent463c96eb77181e8d0aa94730ba177afeabc356a2 (diff)
downloadrockbox-75a5b9321bc9c5da20de023f84dd96dcc5297f1a.tar.gz
rockbox-75a5b9321bc9c5da20de023f84dd96dcc5297f1a.zip
rbutil:
1. Make Themesite integration work again 2. Fix FS#10055 (Theme sizes are 0) and FS#10061 (Incorrect Target missmatch detected) 3. Rename platform and voicename in rbutil.ini to reflect better what they are. (modelnames from either configure or the buildserver) 4. Fix a few places where they were used incorrectly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20558 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/rbutilqt/base/detect.cpp4
-rw-r--r--rbutil/rbutilqt/install.cpp2
-rw-r--r--rbutil/rbutilqt/installthemes.cpp8
-rw-r--r--rbutil/rbutilqt/rbsettings.cpp8
-rw-r--r--rbutil/rbutilqt/rbsettings.h6
-rw-r--r--rbutil/rbutilqt/rbutil.ini124
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp14
7 files changed, 83 insertions, 83 deletions
diff --git a/rbutil/rbutilqt/base/detect.cpp b/rbutil/rbutilqt/base/detect.cpp
index c30a03ba2e..74068618f6 100644
--- a/rbutil/rbutilqt/base/detect.cpp
+++ b/rbutil/rbutilqt/base/detect.cpp
@@ -402,11 +402,11 @@ QString Detect::check(RbSettings* settings, bool permission)
402 402
403 // Check TargetId 403 // Check TargetId
404 QString installed = installedTarget(settings->mountpoint()); 404 QString installed = installedTarget(settings->mountpoint());
405 if(!installed.isEmpty() && installed != settings->curPlatform()) 405 if(!installed.isEmpty() && installed != settings->curConfigure_Modelname())
406 { 406 {
407 text += QObject::tr("<li>Target mismatch detected.\n" 407 text += QObject::tr("<li>Target mismatch detected.\n"
408 "Installed target: %1, selected target: %2.</li>") 408 "Installed target: %1, selected target: %2.</li>")
409 .arg(settings->name(installed), settings->curName()); 409 .arg(installed, settings->curName());
410 } 410 }
411 411
412 if(!text.isEmpty()) 412 if(!text.isEmpty())
diff --git a/rbutil/rbutilqt/install.cpp b/rbutil/rbutilqt/install.cpp
index efdc6d0513..bb873caef7 100644
--- a/rbutil/rbutilqt/install.cpp
+++ b/rbutil/rbutilqt/install.cpp
@@ -101,7 +101,7 @@ void Install::accept()
101 } 101 }
102 102
103 QString myversion; 103 QString myversion;
104 QString buildname = settings->curPlatformName(); 104 QString buildname = settings->curBuildserver_Modelname();
105 if(ui.radioStable->isChecked()) { 105 if(ui.radioStable->isChecked()) {
106 file = QString("%1/%2/rockbox-%3-%4.zip") 106 file = QString("%1/%2/rockbox-%3-%4.zip")
107 .arg(settings->releaseUrl(), version.value("rel_rev"), 107 .arg(settings->releaseUrl(), version.value("rel_rev"),
diff --git a/rbutil/rbutilqt/installthemes.cpp b/rbutil/rbutilqt/installthemes.cpp
index 5375b8ee04..3dcc1b3fad 100644
--- a/rbutil/rbutilqt/installthemes.cpp
+++ b/rbutil/rbutilqt/installthemes.cpp
@@ -59,8 +59,8 @@ void ThemesInstallWindow::downloadInfo()
59 themesInfo.close(); 59 themesInfo.close();
60 60
61 QUrl url; 61 QUrl url;
62 url = QUrl(settings->themeUrl() + "/rbutilqt.php?res=" 62 url = QUrl(settings->themeUrl() + "/rbutilqt.php?target="
63 + settings->curResolution()); 63 + settings->curConfigure_Modelname());
64 qDebug() << "downloadInfo()" << url; 64 qDebug() << "downloadInfo()" << url;
65 qDebug() << url.queryItems(); 65 qDebug() << url.queryItems();
66 if(settings->cacheOffline()) 66 if(settings->cacheOffline())
@@ -159,10 +159,10 @@ void ThemesInstallWindow::updateDetails(int row)
159 ui.themePreview->clear(); 159 ui.themePreview->clear();
160 ui.themePreview->setText(tr("fetching preview ...")); 160 ui.themePreview->setText(tr("fetching preview ..."));
161 161
162 int size = 0; 162 double size = 0;
163 163
164 iniDetails.beginGroup(ui.listThemes->item(row)->data(Qt::UserRole).toString()); 164 iniDetails.beginGroup(ui.listThemes->item(row)->data(Qt::UserRole).toString());
165 size += iniDetails.value("size").toInt(); 165 size += iniDetails.value("size").toDouble();
166 qDebug() << ui.listThemes->item(row)->data(Qt::UserRole).toString() << size; 166 qDebug() << ui.listThemes->item(row)->data(Qt::UserRole).toString() << size;
167 iniDetails.endGroup(); 167 iniDetails.endGroup();
168 ui.labelSize->setText(tr("Download size %L1 kiB").arg(size)); 168 ui.labelSize->setText(tr("Download size %L1 kiB").arg(size));
diff --git a/rbutil/rbutilqt/rbsettings.cpp b/rbutil/rbutilqt/rbsettings.cpp
index 5f8664e7ea..04274360e3 100644
--- a/rbutil/rbutilqt/rbsettings.cpp
+++ b/rbutil/rbutilqt/rbsettings.cpp
@@ -227,9 +227,9 @@ QString RbSettings::curPlatform()
227 return userSettings->value("platform").toString(); 227 return userSettings->value("platform").toString();
228} 228}
229 229
230QString RbSettings::curPlatformName() 230QString RbSettings::curBuildserver_Modelname()
231{ 231{
232 return deviceSettingCurGet("platform").toString(); 232 return deviceSettingCurGet("buidserver_modelname").toString();
233} 233}
234 234
235QString RbSettings::curManual() 235QString RbSettings::curManual()
@@ -253,9 +253,9 @@ QString RbSettings::curBootloaderFile()
253 return deviceSettingCurGet("bootloaderfile").toString(); 253 return deviceSettingCurGet("bootloaderfile").toString();
254} 254}
255 255
256QString RbSettings::curVoiceName() 256QString RbSettings::curConfigure_Modelname()
257{ 257{
258 return deviceSettingCurGet("voicename").toString(); 258 return deviceSettingCurGet("configure_modelname").toString();
259} 259}
260 260
261QString RbSettings::curLang() 261QString RbSettings::curLang()
diff --git a/rbutil/rbutilqt/rbsettings.h b/rbutil/rbutilqt/rbsettings.h
index 5ee4852065..c785061ee8 100644
--- a/rbutil/rbutilqt/rbsettings.h
+++ b/rbutil/rbutilqt/rbsettings.h
@@ -92,12 +92,12 @@ class RbSettings : public QObject
92 92
93 QString curBrand(); 93 QString curBrand();
94 QString curName(); 94 QString curName();
95 QString curPlatform(); 95 QString curPlatform(); // rbutil internal target name.
96 QString curPlatformName(); 96 QString curBuildserver_Modelname(); // modelnames used by the buildserver
97 QString curManual(); 97 QString curManual();
98 QString curBootloaderMethod(); 98 QString curBootloaderMethod();
99 QString curBootloaderName(); 99 QString curBootloaderName();
100 QString curVoiceName(); 100 QString curConfigure_Modelname(); // modelname from configure (used for themes, voice, rockbox-info comparing.
101 QString curLang(); 101 QString curLang();
102 QString curEncoder(); 102 QString curEncoder();
103 QString curTTS(); 103 QString curTTS();
diff --git a/rbutil/rbutilqt/rbutil.ini b/rbutil/rbutilqt/rbutil.ini
index df168a3f47..3bcb88514f 100644
--- a/rbutil/rbutilqt/rbutil.ini
+++ b/rbutil/rbutilqt/rbutil.ini
@@ -51,103 +51,103 @@ platform60=mrobe100
51 51
52[player] 52[player]
53name="Jukebox Player 6000 / Jukebox Studio 5 / 10 / 20" 53name="Jukebox Player 6000 / Jukebox Studio 5 / 10 / 20"
54platform=player 54buidserver_modelname=player
55bootloadermethod=none 55bootloadermethod=none
56bootloadername= 56bootloadername=
57resolution=11x2x1 57resolution=11x2x1
58manualname= 58manualname=
59brand=Archos 59brand=Archos
60voicename=player 60configure_modelname=player
61targetid=1 61targetid=1
62encoder=lame 62encoder=lame
63 63
64[recorder] 64[recorder]
65name="Jukebox Recorder 6 / 10 / 15 / 20" 65name="Jukebox Recorder 6 / 10 / 15 / 20"
66platform=recorder 66buidserver_modelname=recorder
67bootloadermethod=none 67bootloadermethod=none
68bootloadername= 68bootloadername=
69resolution=112x64x1 69resolution=112x64x1
70manualname= 70manualname=
71brand=Archos 71brand=Archos
72voicename=recorder 72configure_modelname=recorder
73targetid=2 73targetid=2
74encoder=lame 74encoder=lame
75 75
76[recorder8mb] 76[recorder8mb]
77name="Jukebox Recorder 6 / 10 / 15 / 20 (with 8MiB memory)" 77name="Jukebox Recorder 6 / 10 / 15 / 20 (with 8MiB memory)"
78platform=recorder8mb 78buidserver_modelname=recorder8mb
79bootloadermethod=none 79bootloadermethod=none
80bootloadername= 80bootloadername=
81resolution=112x64x1 81resolution=112x64x1
82manualname=rockbox-recorder 82manualname=rockbox-recorder
83brand=Archos 83brand=Archos
84voicename=recorder 84configure_modelname=recorder
85targetid=2 85targetid=2
86encoder=lame 86encoder=lame
87 87
88[recorderv2] 88[recorderv2]
89name="Jukebox Recorder v2 (20GB)" 89name="Jukebox Recorder v2 (20GB)"
90platform=recorderv2 90buidserver_modelname=recorderv2
91bootloadermethod=none 91bootloadermethod=none
92bootloadername= 92bootloadername=
93resolution=112x64x1 93resolution=112x64x1
94manualname= 94manualname=
95brand=Archos 95brand=Archos
96voicename=recorderv2 96configure_modelname=recorderv2
97targetid=4 97targetid=4
98encoder=lame 98encoder=lame
99 99
100[fmrecorder] 100[fmrecorder]
101name="Jukebox Recorder FM" 101name="Jukebox Recorder FM"
102platform=fmrecorder 102buidserver_modelname=fmrecorder
103bootloadermethod=none 103bootloadermethod=none
104bootloadername= 104bootloadername=
105resolution=112x64x1 105resolution=112x64x1
106manualname= 106manualname=
107brand=Archos 107brand=Archos
108voicename=fmrecorder 108configure_modelname=fmrecorder
109targetid=3 109targetid=3
110encoder=lame 110encoder=lame
111 111
112[fmrecorder8mb] 112[fmrecorder8mb]
113name="Jukebox Recorder FM (with 8MiB memory)" 113name="Jukebox Recorder FM (with 8MiB memory)"
114platform=fmrecorder8mb 114buidserver_modelname=fmrecorder8mb
115bootloadermethod=none 115bootloadermethod=none
116bootloadername= 116bootloadername=
117resolution=112x64x1 117resolution=112x64x1
118manualname=rockbox-fmrecorder 118manualname=rockbox-fmrecorder
119brand=Archos 119brand=Archos
120voicename=fmrecorder 120configure_modelname=fmrecorder
121targetid=3 121targetid=3
122encoder=lame 122encoder=lame
123 123
124[ondiosp] 124[ondiosp]
125name="Ondio SP" 125name="Ondio SP"
126platform=ondiosp 126buidserver_modelname=ondiosp
127bootloadermethod=none 127bootloadermethod=none
128bootloadername= 128bootloadername=
129resolution=112x64x1 129resolution=112x64x1
130manualname= 130manualname=
131brand=Archos 131brand=Archos
132voicename=ondiosp 132configure_modelname=ondiosp
133targetid=7 133targetid=7
134encoder=lame 134encoder=lame
135 135
136[ondiofm] 136[ondiofm]
137name="Ondio FM" 137name="Ondio FM"
138platform=ondiofm 138buidserver_modelname=ondiofm
139bootloadermethod=none 139bootloadermethod=none
140bootloadername= 140bootloadername=
141resolution=112x64x1 141resolution=112x64x1
142manualname= 142manualname=
143brand=Archos 143brand=Archos
144voicename=ondiofm 144configure_modelname=ondiofm
145targetid=8 145targetid=8
146encoder=lame 146encoder=lame
147 147
148[h100] 148[h100]
149name="iHP100 / iHP110" 149name="iHP100 / iHP110"
150platform=h100 150buidserver_modelname=h100
151bootloadermethod=hex 151bootloadermethod=hex
152bootloadername=/iriver/bootloader-h100.bin 152bootloadername=/iriver/bootloader-h100.bin
153bootloaderfile=/ihp_100.hex 153bootloaderfile=/ihp_100.hex
@@ -155,13 +155,13 @@ resolution=160x128x2
155manualname=rockbox-h100 155manualname=rockbox-h100
156brand=Iriver 156brand=Iriver
157usbid=0x10063001 157usbid=0x10063001
158voicename=h100 158configure_modelname=h100
159targetid=11 159targetid=11
160encoder=rbspeex 160encoder=rbspeex
161 161
162[h120] 162[h120]
163name="iHP120 / iHP140 / H120 / H140" 163name="iHP120 / iHP140 / H120 / H140"
164platform=h120 164buidserver_modelname=h120
165bootloadermethod=hex 165bootloadermethod=hex
166bootloadername=/iriver/bootloader-h120.bin 166bootloadername=/iriver/bootloader-h120.bin
167bootloaderfile=/ihp_120.hex 167bootloaderfile=/ihp_120.hex
@@ -169,13 +169,13 @@ resolution=160x128x2
169manualname=rockbox-h100 169manualname=rockbox-h100
170brand=Iriver 170brand=Iriver
171usbid=0x10063002 171usbid=0x10063002
172voicename=h120 172configure_modelname=h120
173targetid=9 173targetid=9
174encoder=rbspeex 174encoder=rbspeex
175 175
176[h300] 176[h300]
177name="H320 / H340" 177name="H320 / H340"
178platform=h300 178buidserver_modelname=h300
179bootloadermethod=hex 179bootloadermethod=hex
180bootloadername=/iriver/bootloader-h300.bin 180bootloadername=/iriver/bootloader-h300.bin
181bootloaderfile=/H300.hex 181bootloaderfile=/H300.hex
@@ -183,13 +183,13 @@ resolution=220x176x16
183manualname=rockbox-h300 183manualname=rockbox-h300
184brand=Iriver 184brand=Iriver
185usbid=0x10063003 185usbid=0x10063003
186voicename=h300 186configure_modelname=h300
187targetid=10 187targetid=10
188encoder=rbspeex 188encoder=rbspeex
189 189
190[h10_5gbums] 190[h10_5gbums]
191name="H10 (5 / 6GB) UMS" 191name="H10 (5 / 6GB) UMS"
192platform=h10_5gb 192buidserver_modelname=h10_5gb
193bootloadermethod=mi4 193bootloadermethod=mi4
194bootloadername=/iriver/H10.mi4 194bootloadername=/iriver/H10.mi4
195bootloaderfile=/System/H10.mi4 195bootloaderfile=/System/H10.mi4
@@ -197,13 +197,13 @@ resolution=128x128x16
197manualname= 197manualname=
198brand=Iriver 198brand=Iriver
199usbid=0x41022002 199usbid=0x41022002
200voicename=h10_5gb 200configure_modelname=h10_5gb
201targetid=24 201targetid=24
202encoder=rbspeex 202encoder=rbspeex
203 203
204[h10_5gbmtp] 204[h10_5gbmtp]
205name="H10 (5 / 6GB) MTP" 205name="H10 (5 / 6GB) MTP"
206platform=h10_5gb 206buidserver_modelname=h10_5gb
207bootloadermethod=mi4 207bootloadermethod=mi4
208bootloadername=/iriver/H10_5GB-MTP/H10.mi4 208bootloadername=/iriver/H10_5GB-MTP/H10.mi4
209bootloaderfile=/System/H10.mi4 209bootloaderfile=/System/H10.mi4
@@ -211,13 +211,13 @@ resolution=128x128x16
211manualname= 211manualname=
212brand=Iriver 212brand=Iriver
213usbid=0x41022105 213usbid=0x41022105
214voicename=h10_5gb 214configure_modelname=h10_5gb
215targetid=24 215targetid=24
216encoder=rbspeex 216encoder=rbspeex
217 217
218[h10] 218[h10]
219name="H10 (20GB)" 219name="H10 (20GB)"
220platform=h10 220buidserver_modelname=h10
221bootloadermethod=mi4 221bootloadermethod=mi4
222bootloadername=/iriver/H10_20GC.mi4 222bootloadername=/iriver/H10_20GC.mi4
223bootloaderfile=/System/H10_20GC.mi4 223bootloaderfile=/System/H10_20GC.mi4
@@ -226,124 +226,124 @@ manualname=
226brand=Iriver 226brand=Iriver
227usbid=0x0b7000ba 227usbid=0x0b7000ba
228usberror=0x41022101 228usberror=0x41022101
229voicename=h10 229configure_modelname=h10
230targetid=22 230targetid=22
231encoder=rbspeex 231encoder=rbspeex
232 232
233[ipod1g2g] 233[ipod1g2g]
234name="Ipod (1st / 2nd gen)" 234name="Ipod (1st / 2nd gen)"
235platform=ipod1g2g 235buidserver_modelname=ipod1g2g
236bootloadermethod=ipod 236bootloadermethod=ipod
237bootloadername=/ipod/bootloader-ipod1g2g.ipod 237bootloadername=/ipod/bootloader-ipod1g2g.ipod
238resolution=160x128x2 238resolution=160x128x2
239manualname= 239manualname=
240brand=Apple 240brand=Apple
241voicename=ipod1g2g 241configure_modelname=ipod1g2g
242targetid=29 242targetid=29
243encoder=rbspeex 243encoder=rbspeex
244 244
245[ipodcolor] 245[ipodcolor]
246name="Ipod Color / Photo / U2 (4th gen)" 246name="Ipod Color / Photo / U2 (4th gen)"
247platform=ipodcolor 247buidserver_modelname=ipodcolor
248bootloadermethod=ipod 248bootloadermethod=ipod
249bootloadername=/ipod/bootloader-ipodcolor.ipod 249bootloadername=/ipod/bootloader-ipodcolor.ipod
250resolution=220x176x16 250resolution=220x176x16
251manualname= 251manualname=
252brand=Apple 252brand=Apple
253voicename=ipodcolor 253configure_modelname=ipodcolor
254targetid=13 254targetid=13
255encoder=rbspeex 255encoder=rbspeex
256 256
257[ipodnano] 257[ipodnano]
258name="Ipod Nano (1st gen)" 258name="Ipod Nano (1st gen)"
259platform=ipodnano 259buidserver_modelname=ipodnano
260bootloadermethod=ipod 260bootloadermethod=ipod
261bootloadername=/ipod/bootloader-ipodnano.ipod 261bootloadername=/ipod/bootloader-ipodnano.ipod
262resolution=176x132x16 262resolution=176x132x16
263manualname= 263manualname=
264brand=Apple 264brand=Apple
265usbincompat=0x05ac1260 265usbincompat=0x05ac1260
266voicename=ipodnano 266configure_modelname=ipodnano
267targetid=14 267targetid=14
268encoder=rbspeex 268encoder=rbspeex
269 269
270[ipod4gray] 270[ipod4gray]
271name="Ipod (4th gen, greyscale)" 271name="Ipod (4th gen, greyscale)"
272platform=ipod4gray 272buidserver_modelname=ipod4gray
273bootloadermethod=ipod 273bootloadermethod=ipod
274bootloadername=/ipod/bootloader-ipod4g.ipod 274bootloadername=/ipod/bootloader-ipod4g.ipod
275resolution=160x128x2 275resolution=160x128x2
276manualname= 276manualname=
277brand=Apple 277brand=Apple
278voicename=ipod4gray 278configure_modelname=ipod4g
279targetid=17 279targetid=17
280encoder=rbspeex 280encoder=rbspeex
281 281
282[ipodvideo] 282[ipodvideo]
283name="Ipod Video (5th gen) 30GB" 283name="Ipod Video (5th gen) 30GB"
284platform=ipodvideo 284buidserver_modelname=ipodvideo
285bootloadermethod=ipod 285bootloadermethod=ipod
286bootloadername=/ipod/bootloader-ipodvideo.ipod 286bootloadername=/ipod/bootloader-ipodvideo.ipod
287resolution=320x240x16 287resolution=320x240x16
288manualname= 288manualname=
289brand=Apple 289brand=Apple
290voicename=ipodvideo 290configure_modelname=ipodvideo
291targetid=15 291targetid=15
292encoder=rbspeex 292encoder=rbspeex
293 293
294[ipodvideo64mb] 294[ipodvideo64mb]
295name="Ipod Video (5th gen) 60/80GB" 295name="Ipod Video (5th gen) 60/80GB"
296platform=ipodvideo64mb 296buidserver_modelname=ipodvideo64mb
297bootloadermethod=ipod 297bootloadermethod=ipod
298bootloadername=/ipod/bootloader-ipodvideo.ipod 298bootloadername=/ipod/bootloader-ipodvideo.ipod
299resolution=320x240x16 299resolution=320x240x16
300manualname= 300manualname=
301brand=Apple 301brand=Apple
302voicename=ipodvideo 302configure_modelname=ipodvideo
303usbincompat=0x05ac1261 303usbincompat=0x05ac1261
304targetid=15 304targetid=15
305encoder=rbspeex 305encoder=rbspeex
306 306
307[ipod3g] 307[ipod3g]
308name="Ipod (3rd gen)" 308name="Ipod (3rd gen)"
309platform=ipod3g 309buidserver_modelname=ipod3g
310bootloadermethod=ipod 310bootloadermethod=ipod
311bootloadername=/ipod/bootloader-ipod3g.ipod 311bootloadername=/ipod/bootloader-ipod3g.ipod
312resolution=160x128x2 312resolution=160x128x2
313manualname= 313manualname=
314brand=Apple 314brand=Apple
315usbid=0x05ac1201 315usbid=0x05ac1201
316voicename=ipod3g 316configure_modelname=ipod3g
317targetid=16 317targetid=16
318encoder=rbspeex 318encoder=rbspeex
319 319
320[ipodmini1g] 320[ipodmini1g]
321name="Ipod Mini (1st gen)" 321name="Ipod Mini (1st gen)"
322platform=ipodmini1g 322buidserver_modelname=ipodmini1g
323bootloadermethod=ipod 323bootloadermethod=ipod
324bootloadername=/ipod/bootloader-ipodmini.ipod 324bootloadername=/ipod/bootloader-ipodmini.ipod
325resolution=138x110x2 325resolution=138x110x2
326manualname=rockbox-ipodmini2g 326manualname=rockbox-ipodmini2g
327brand=Apple 327brand=Apple
328voicename=ipodmini1g 328configure_modelname=ipodmini
329targetid=18 329targetid=18
330encoder=rbspeex 330encoder=rbspeex
331 331
332[ipodmini2g] 332[ipodmini2g]
333name="Ipod Mini (2nd gen)" 333name="Ipod Mini (2nd gen)"
334platform=ipodmini2g 334buidserver_modelname=ipodmini2g
335bootloadermethod=ipod 335bootloadermethod=ipod
336bootloadername=/ipod/bootloader-ipodmini2g.ipod 336bootloadername=/ipod/bootloader-ipodmini2g.ipod
337resolution=138x110x2 337resolution=138x110x2
338manualname=rockbox-ipodmini2g 338manualname=rockbox-ipodmini2g
339brand=Apple 339brand=Apple
340voicename=ipodmini2g 340configure_modelname=ipodmini2g
341targetid=21 341targetid=21
342encoder=rbspeex 342encoder=rbspeex
343 343
344[iaudiox5] 344[iaudiox5]
345name="iAudio X5 / X5L" 345name="iAudio X5 / X5L"
346platform=iaudiox5 346buidserver_modelname=iaudiox5
347bootloadermethod=file 347bootloadermethod=file
348bootloadername=/iaudio/x5_fw.bin 348bootloadername=/iaudio/x5_fw.bin
349bootloaderfile=/FIRMWARE/x5_fw.bin 349bootloaderfile=/FIRMWARE/x5_fw.bin
@@ -351,26 +351,26 @@ resolution=160x128x16
351manualname= 351manualname=
352brand=Cowon 352brand=Cowon
353usbid=0x0e210510, 0x0e210513 353usbid=0x0e210510, 0x0e210513
354voicename=iaudiox5 354configure_modelname=x5
355targetid=12 355targetid=12
356encoder=rbspeex 356encoder=rbspeex
357 357
358[iaudiox5v] 358[iaudiox5v]
359name="iAudio X5V" 359name="iAudio X5V"
360platform=iaudiox5 360buidserver_modelname=iaudiox5
361bootloadermethod=file 361bootloadermethod=file
362bootloadername=/iaudio/x5v_fw.bin 362bootloadername=/iaudio/x5v_fw.bin
363bootloaderfile=/FIRMWARE/x5v_fw.bin 363bootloaderfile=/FIRMWARE/x5v_fw.bin
364resolution=160x128x2 364resolution=160x128x2
365manualname= 365manualname=
366brand=Cowon 366brand=Cowon
367voicename=iaudiox5v 367configure_modelname=x5
368targetid=12 368targetid=12
369encoder=rbspeex 369encoder=rbspeex
370 370
371[iaudiom5] 371[iaudiom5]
372name="iAudio M5 / M5L" 372name="iAudio M5 / M5L"
373platform=iaudiom5 373buidserver_modelname=iaudiom5
374bootloadermethod=file 374bootloadermethod=file
375bootloadername=/iaudio/m5_fw.bin 375bootloadername=/iaudio/m5_fw.bin
376bootloaderfile=/FIRMWARE/m5_fw.bin 376bootloaderfile=/FIRMWARE/m5_fw.bin
@@ -378,13 +378,13 @@ resolution=160x128x2
378manualname= 378manualname=
379brand=Cowon 379brand=Cowon
380usbid=0x0e210520 380usbid=0x0e210520
381voicename=iaudiom5 381configure_modelname=m5
382targetid=28 382targetid=28
383encoder=rbspeex 383encoder=rbspeex
384 384
385[iaudiom3] 385[iaudiom3]
386name="iAudio M3 / M3L" 386name="iAudio M3 / M3L"
387platform=iaudiom3 387buidserver_modelname=iaudiom3
388bootloadermethod=file 388bootloadermethod=file
389bootloadername=/iaudio/cowon_m3.bin 389bootloadername=/iaudio/cowon_m3.bin
390bootloaderfile=/FIRMWARE/cowon_m3.bin 390bootloaderfile=/FIRMWARE/cowon_m3.bin
@@ -392,13 +392,13 @@ resolution=128x96x2
392manualname= 392manualname=
393brand=Cowon 393brand=Cowon
394usbid=0x0e210500 394usbid=0x0e210500
395voicename=iaudiom3 395configure_modelname=m3
396targetid=37 396targetid=37
397encoder=rbspeex 397encoder=rbspeex
398 398
399[gigabeatf] 399[gigabeatf]
400name="Gigabeat F / X" 400name="Gigabeat F / X"
401platform=gigabeatf 401buidserver_modelname=gigabeatf
402bootloadermethod=file 402bootloadermethod=file
403bootloadername=/gigabeat/FWIMG01.DAT 403bootloadername=/gigabeat/FWIMG01.DAT
404bootloaderfile=/GBSYSTEM/FWIMG/FWIMG01.DAT 404bootloaderfile=/GBSYSTEM/FWIMG/FWIMG01.DAT
@@ -406,13 +406,13 @@ resolution=240x320x16
406manualname= 406manualname=
407brand=Toshiba 407brand=Toshiba
408usbid=0x09300009 408usbid=0x09300009
409voicename=gigabeatf 409configure_modelname=gigabeatf
410targetid=20 410targetid=20
411encoder=rbspeex 411encoder=rbspeex
412 412
413[sansae200] 413[sansae200]
414name="Sansa E200" 414name="Sansa E200"
415platform=sansae200 415buidserver_modelname=sansae200
416bootloadermethod=sansa 416bootloadermethod=sansa
417bootloadername=/sandisk-sansa/e200/PP5022.mi4 417bootloadername=/sandisk-sansa/e200/PP5022.mi4
418resolution=176x220x16 418resolution=176x220x16
@@ -421,26 +421,26 @@ brand=Sandisk
421usbid=0x07817421 421usbid=0x07817421
422usberror=0x07810720 422usberror=0x07810720
423usbincompat=0x07817422, 0x07817423 423usbincompat=0x07817422, 0x07817423
424voicename=sansae200 424configure_modelname=e200
425targetid=23 425targetid=23
426encoder=rbspeex 426encoder=rbspeex
427 427
428[sansac200] 428[sansac200]
429name="Sansa C200" 429name="Sansa C200"
430platform=sansac200 430buidserver_modelname=sansac200
431bootloadermethod=sansa 431bootloadermethod=sansa
432bootloadername=/sandisk-sansa/c200/firmware.mi4 432bootloadername=/sandisk-sansa/c200/firmware.mi4
433resolution=132x80x16 433resolution=132x80x16
434manualname= 434manualname=
435brand=Sandisk 435brand=Sandisk
436usbid=0x07817450, 0x07817451 436usbid=0x07817450, 0x07817451
437voicename=sansac200 437configure_modelname=c200
438targetid=30 438targetid=30
439encoder=rbspeex 439encoder=rbspeex
440 440
441[mrobe100] 441[mrobe100]
442name="m:robe100" 442name="m:robe100"
443platform=mrobe100 443buidserver_modelname=mrobe100
444bootloadermethod=mi4 444bootloadermethod=mi4
445bootloadername=/olympus/mrobe100/pp5020.mi4 445bootloadername=/olympus/mrobe100/pp5020.mi4
446bootloaderfile=/System/pp5020.mi4 446bootloaderfile=/System/pp5020.mi4
@@ -448,7 +448,7 @@ resolution=160x128x1
448manualname= 448manualname=
449brand=Olympus 449brand=Olympus
450usbid=0x07b40280 450usbid=0x07b40280
451voicename=mrobe100 451configure_modelname=mrobe100
452targetid=33 452targetid=33
453encoder=rbspeex 453encoder=rbspeex
454 454
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 0082fd2b6b..d069c422f6 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -511,7 +511,7 @@ bool RbUtilQt::installAuto()
511{ 511{
512 QString file = QString("%1/%2/rockbox-%3-%4.zip") 512 QString file = QString("%1/%2/rockbox-%3-%4.zip")
513 .arg(settings->releaseUrl(), versmap.value("rel_rev"), 513 .arg(settings->releaseUrl(), versmap.value("rel_rev"),
514 settings->curPlatform(), versmap.value("rel_rev")); 514 settings->curBuildserver_Modelname(), versmap.value("rel_rev"));
515 buildInfo.open(); 515 buildInfo.open();
516 QSettings info(buildInfo.fileName(), QSettings::IniFormat, this); 516 QSettings info(buildInfo.fileName(), QSettings::IniFormat, this);
517 buildInfo.close(); 517 buildInfo.close();
@@ -649,8 +649,8 @@ void RbUtilQt::installBootloader()
649 // special case for H10 pure: this player can have a different 649 // special case for H10 pure: this player can have a different
650 // bootloader file filename. This is handled here to keep the install 650 // bootloader file filename. This is handled here to keep the install
651 // class clean, though having it here is also not the nicest solution. 651 // class clean, though having it here is also not the nicest solution.
652 if(settings->curPlatformName() == "h10_ums" 652 if(platform == "h10_ums"
653 || settings->curPlatformName() == "h10_mtp") { 653 || platform == "h10_mtp") {
654 if(resolvePathCase(blfile).isEmpty()) 654 if(resolvePathCase(blfile).isEmpty())
655 blfile = settings->mountpoint() 655 blfile = settings->mountpoint()
656 + settings->curBootloaderName().replace("H10", 656 + settings->curBootloaderName().replace("H10",
@@ -681,7 +681,7 @@ void RbUtilQt::installBootloader()
681 else if(bl->installed() == BootloaderInstallBase::BootloaderOther 681 else if(bl->installed() == BootloaderInstallBase::BootloaderOther
682 && bl->capabilities() & BootloaderInstallBase::Backup) 682 && bl->capabilities() & BootloaderInstallBase::Backup)
683 { 683 {
684 QString targetFolder = settings->curPlatformName() + " Firmware Backup"; 684 QString targetFolder = settings->curPlatform() + " Firmware Backup";
685 // remove invalid character(s) 685 // remove invalid character(s)
686 targetFolder.remove(QRegExp("[:/]")); 686 targetFolder.remove(QRegExp("[:/]"));
687 if(QMessageBox::question(this, tr("Create Bootloader backup"), 687 if(QMessageBox::question(this, tr("Create Bootloader backup"),
@@ -842,7 +842,7 @@ void RbUtilQt::installVoice()
842 842
843 QString voiceurl = settings->voiceUrl(); 843 QString voiceurl = settings->voiceUrl();
844 844
845 voiceurl += settings->curVoiceName() + "-" + 845 voiceurl += settings->curConfigure_Modelname() + "-" +
846 versmap.value("arch_date") + "-english.zip"; 846 versmap.value("arch_date") + "-english.zip";
847 qDebug() << voiceurl; 847 qDebug() << voiceurl;
848 848
@@ -981,8 +981,8 @@ void RbUtilQt::uninstallBootloader(void)
981 } 981 }
982 982
983 QString blfile = settings->mountpoint() + settings->curBootloaderFile(); 983 QString blfile = settings->mountpoint() + settings->curBootloaderFile();
984 if(settings->curPlatformName() == "h10_ums" 984 if(settings->curPlatform() == "h10_ums"
985 || settings->curPlatformName() == "h10_mtp") { 985 || settings->curPlatform() == "h10_mtp") {
986 if(resolvePathCase(blfile).isEmpty()) 986 if(resolvePathCase(blfile).isEmpty())
987 blfile = settings->mountpoint() 987 blfile = settings->mountpoint()
988 + settings->curBootloaderName().replace("H10", 988 + settings->curBootloaderName().replace("H10",