-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOptionsWindow.cs
612 lines (524 loc) · 23.5 KB
/
OptionsWindow.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Text.RegularExpressions;
using System.Threading;
namespace CSL
{
partial class OptionsWindow : Form
{
public OptionsWindow()
{
InitializeComponent();
ErrorProvider.DataSource = CustomFolderTextbox;
RestoreSelections();
}
private void RestoreSelections()
{
ReleaseAlbumTextBox.Text = SettingsHandler.GetReleaseFormat("Album");
ReleaseBootlegTextbox.Text = SettingsHandler.GetReleaseFormat("Bootleg");
ReleaseCompilationTextBox.Text = SettingsHandler.GetReleaseFormat("Compilation");
ReleaseEPTextBox.Text = SettingsHandler.GetReleaseFormat("EP");
ReleaseInterviewTextBox.Text = SettingsHandler.GetReleaseFormat("Interview");
ReleaseLiveTextBox.Text = SettingsHandler.GetReleaseFormat("Live");
ReleaseMixtapeTextBox.Text = SettingsHandler.GetReleaseFormat("Mixtape");
ReleaseRemixTextBox.Text = SettingsHandler.GetReleaseFormat("Remix");
ReleaseSingleTextBox.Text = SettingsHandler.GetReleaseFormat("Single");
ReleaseSoundboardTextBox.Text = SettingsHandler.GetReleaseFormat("Soundboard");
ReleaseUnknownTextBox.Text = SettingsHandler.GetReleaseFormat("Unknown");
Bitrate24bitTextBox.Text = SettingsHandler.GetBitrate("24bitLossless");
BitrateAPSTextBox.Text = SettingsHandler.GetBitrate("APS");
BitrateAPXTextBox.Text = SettingsHandler.GetBitrate("APX");
BitrateCBRTextBox.Text = SettingsHandler.GetBitrate("CBR");
BitrateLosslessTextBox.Text = SettingsHandler.GetBitrate("Lossless");
BitrateQ8xTextBox.Text = SettingsHandler.GetBitrate("q8x");
BitrateVBRTextBox.Text = SettingsHandler.GetBitrate("VBR");
MusicFolderTextbox.Text = SettingsHandler.GetDownloadFolder();
CustomFolderTextbox.Text = SettingsHandler.GetCustomDirectory();
TorrentFolderTextbox.Text = SettingsHandler.GetTorrentSaveFolder();
TorrentProgramDirectoryTextbox.Text = SettingsHandler.GetTorrentClientFolder();
AutoCheckTime.Value = SettingsHandler.GetRawHandleTime();
MovieDownloadFolderTextBox.Text = SettingsHandler.GetMovieDownloadDirectory();
MovieSwitchesTextBox.Text = SettingsHandler.GetMovieCustomDirectory();
OtherDownloadTextBox.Text = SettingsHandler.GetOtherDownloadDirectory();
if (SettingsHandler.GetVariousArtistsDownloadDirectory().Equals("") || SettingsHandler.GetVariousArtistsDownloadDirectory().Equals(null))
VariousArtistsDirectoryTextBox.Text = MusicFolderTextbox.Text;
else
VariousArtistsDirectoryTextBox.Text = SettingsHandler.GetVariousArtistsDownloadDirectory();
if (SettingsHandler.GetVariousArtistsDownloadSwitches().Equals(null) || SettingsHandler.GetVariousArtistsDownloadSwitches().Equals(""))
VariousArtistsSwitchesTextBox.Text = CustomFolderTextbox.Text;
else
VariousArtistsSwitchesTextBox.Text = SettingsHandler.GetVariousArtistsDownloadSwitches();
if (SettingsHandler.GetArtistFlip())
TheArtistOptions.Text = "Flip (Artist, The)";
else
TheArtistOptions.Text = "Ignore";
if (SettingsHandler.GetHandleLoneTAsAlbum())
LoneTorrentAsAlbumCheck.Checked = true;
else
LoneTorrentAsAlbumCheck.Checked = false;
if(SettingsHandler.GetDeleteThe())
TheArtistOptions.Text = "Remove (Artist)";
else
TheArtistOptions.Text = "Ignore";
if (SettingsHandler.GetUppercaseAllFolderNames())
TextCaseOptions.Text = "Uppercase (CASE)";
else if (SettingsHandler.GetLowercaseAllFolderNames())
TextCaseOptions.Text = "Lowercase (case)";
else
TextCaseOptions.Text = "Ignore";
if (SettingsHandler.GetMinimizeToTray())
MinimizeToTrayCheckbox.Checked = true;
else
MinimizeToTrayCheckbox.Checked = false;
if (SettingsHandler.GetDoubleSpaceRemoval())
DoubleSpaceRemoverCheckBox.Checked = true;
else
DoubleSpaceRemoverCheckBox.Checked = false;
if (SettingsHandler.GetAutoHandleBool())
AutoProcessCheckbox.Checked = true;
else
{
AutoProcessCheckbox.Checked = false;
AutoCheckTime.Enabled = false;
}
if (SettingsHandler.GetDownloadFormatExists("Album"))
DownloadAlbumCheck.Checked = true;
else
DownloadAlbumCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Bootleg"))
DownloadBootlegCheck.Checked = true;
else
DownloadBootlegCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Compilation"))
DownloadCompilationCheck.Checked = true;
else
DownloadCompilationCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("EP"))
DownloadEPCheck.Checked = true;
else
DownloadEPCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Interview"))
DownloadInterviewCheck.Checked = true;
else
DownloadInterviewCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Live"))
DownloadLiveCheck.Checked = true;
else
DownloadLiveCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Mixtape"))
DownloadMixtapeCheck.Checked = true;
else
DownloadMixtapeCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Remix"))
DownloadRemixCheck.Checked = true;
else
DownloadRemixCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Single"))
DownloadSingleCheck.Checked = true;
else
DownloadSingleCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Single"))
DownloadSoundtrackCheck.Checked = true;
else
DownloadSoundtrackCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Soundtrack"))
DownloadSoundtrackCheck.Checked = true;
else
DownloadSoundtrackCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Unknown"))
DownloadUnknownCheck.Checked = true;
else
DownloadUnknownCheck.Checked = false;
if (SettingsHandler.GetTrackTorrents())
TrackTorrentsCheck.Checked = true;
else
TrackTorrentsCheck.Checked = false;
if (SettingsHandler.GetTrackZips())
TrackZipsCheck.Checked = true;
else
TrackZipsCheck.Checked = false;
}
private void DoubleSpaceRemoverCheckBox_CheckedChanged(object sender, EventArgs e)
{
if (DoubleSpaceRemoverCheckBox.Checked)
SettingsHandler.SetRemoveDoubleSpaces(true);
else
SettingsHandler.SetRemoveDoubleSpaces(false);
}
private void TorrentProgramDirectoryTextbox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetTorrentClientFolder(TorrentProgramDirectoryTextbox.Text);
}
private void TorrentProgramDirectoryTextbox_MouseDown(object sender, MouseEventArgs e)
{
FolderBrowser.ShowDialog();
SettingsHandler.SetTorrentClientFolder(FolderBrowser.SelectedPath);
TorrentProgramDirectoryTextbox.Text = FolderBrowser.SelectedPath;
}
private void MusicFolderTextbox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetDownloadFolder(MusicFolderTextbox.Text);
}
private void MusicFolderTextbox_MouseDown(object sender, MouseEventArgs e)
{
FolderBrowser.ShowDialog();
SettingsHandler.SetDownloadFolder(FolderBrowser.SelectedPath);
MusicFolderTextbox.Text = FolderBrowser.SelectedPath;
}
private void TorrentFolderTextbox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetTorrentSaveFolder(TorrentFolderTextbox.Text);
}
private void TorrentFolderTextbox_MouseDown(object sender, MouseEventArgs e)
{
FolderBrowser.ShowDialog();
SettingsHandler.SetTorrentSaveFolder(FolderBrowser.SelectedPath);
TorrentFolderTextbox.Text = FolderBrowser.SelectedPath;
}
private void CustomFolderTextbox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetCustomDirectory(CustomFolderTextbox.Text);
}
private void CustomFolderTextbox_Validating(object sender, CancelEventArgs e)
{
bool error = false;
Match m;
char[] chararray = CustomFolderTextbox.Text.ToCharArray();
string letter;
for (int a = 0; a < chararray.Length; a++)
{
if (chararray[a] == '%')
{
try
{
letter = chararray[++a].ToString();
m = Regex.Match(letter, "a|l|s|c|e|r|v|n|x|u|y|t|i|b|p|d|z");
if (!m.Success)
{
ErrorProvider.SetError(this.CustomFolderTextbox, "Invalid letter after switch");
error = true;
}
}
catch { }
}
}
if (!error)
ErrorProvider.Clear();
}
private void AutoProcessCheckbox_CheckedChanged(object sender, EventArgs e)
{
if (AutoProcessCheckbox.Checked)
{
AutoCheckTime.Enabled = true;
SettingsHandler.SetAutoHandleBool(true);
}
else
{
AutoCheckTime.Enabled = false;
SettingsHandler.SetAutoHandleBool(false);
}
MainWindow.UpdateTimer(SettingsHandler.GetAutoHandleBool(), SettingsHandler.GetAutoHandleTime());
}
private void DownloadAlbumCheck_CheckedChanged(object sender, EventArgs e)
{
if (DownloadAlbumCheck.Checked)
SettingsHandler.AddDownloadFormat("Album");
else
SettingsHandler.RemoveDownloadFormat("Album");
}
private void DownloadEPCheck_CheckedChanged(object sender, EventArgs e)
{
if (DownloadEPCheck.Checked)
SettingsHandler.AddDownloadFormat("EP");
else
SettingsHandler.RemoveDownloadFormat("EP");
}
private void DownloadSingleCheck_CheckedChanged(object sender, EventArgs e)
{
if (DownloadSingleCheck.Checked)
SettingsHandler.AddDownloadFormat("Single");
else
SettingsHandler.RemoveDownloadFormat("Single");
}
private void DownloadLiveCheck_CheckedChanged(object sender, EventArgs e)
{
if (DownloadLiveCheck.Checked)
SettingsHandler.AddDownloadFormat("Live");
else
SettingsHandler.RemoveDownloadFormat("Live");
}
private void DownloadRemixCheck_CheckedChanged(object sender, EventArgs e)
{
if (DownloadRemixCheck.Checked)
SettingsHandler.AddDownloadFormat("Remix");
else
SettingsHandler.RemoveDownloadFormat("Remix");
}
private void DownloadCompilationCheck_CheckedChanged(object sender, EventArgs e)
{
if (DownloadCompilationCheck.Checked)
SettingsHandler.AddDownloadFormat("Compilation");
else
SettingsHandler.RemoveDownloadFormat("Compilation");
}
private void DownloadSoundtrackCheck_CheckedChanged(object sender, EventArgs e)
{
if (DownloadSoundtrackCheck.Checked)
SettingsHandler.AddDownloadFormat("Soundtrack");
else
SettingsHandler.RemoveDownloadFormat("Soundtrack");
}
private void DownloadBootlegCheck_CheckedChanged(object sender, EventArgs e)
{
if (DownloadBootlegCheck.Checked)
SettingsHandler.AddDownloadFormat("Bootleg");
else
SettingsHandler.RemoveDownloadFormat("Bootleg");
}
private void DownloadInterviewCheck_CheckedChanged(object sender, EventArgs e)
{
if (DownloadInterviewCheck.Checked)
SettingsHandler.AddDownloadFormat("Interview");
else
SettingsHandler.RemoveDownloadFormat("Interview");
}
private void DownloadMixtapeCheck_CheckedChanged(object sender, EventArgs e)
{
if (DownloadMixtapeCheck.Checked)
SettingsHandler.AddDownloadFormat("Mixtape");
else
SettingsHandler.RemoveDownloadFormat("Mixtape");
}
private void DownloadUnknownCheck_CheckedChanged(object sender, EventArgs e)
{
if (DownloadUnknownCheck.Checked)
SettingsHandler.AddDownloadFormat("Unknown");
else
SettingsHandler.RemoveDownloadFormat("Unknown");
}
private void TrackTorrentsCheck_CheckedChanged(object sender, EventArgs e)
{
if (TrackTorrentsCheck.Checked)
SettingsHandler.SetTrackTorrents(true);
else
SettingsHandler.SetTrackTorrents(false);
}
private void TrackZipsCheck_CheckedChanged(object sender, EventArgs e)
{
if (TrackZipsCheck.Checked)
SettingsHandler.SetTrackZips(true);
else
SettingsHandler.SetTrackZips(false);
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
SwitchesWindow sw = new SwitchesWindow();
sw.Show();
}
private void textBox5_TextChanged(object sender, EventArgs e)
{
}
private void OptionsWindow_Load(object sender, EventArgs e)
{
}
private void AutoCheckTime_ValueChanged(object sender, EventArgs e)
{
SettingsHandler.SetRawHandleTime(AutoCheckTime.Value);
switch (TimeFormatComboBox.Text)
{
case "Seconds":
SettingsHandler.SetAutoHandleTime(AutoCheckTime.Value * 1000);
break;
case "Minutes":
SettingsHandler.SetAutoHandleTime(AutoCheckTime.Value * 1000 * 60);
break;
case "Hours":
SettingsHandler.SetAutoHandleTime(AutoCheckTime.Value * 1000 * 60 * 60);
break;
default:
SettingsHandler.SetAutoHandleTime(AutoCheckTime.Value * 1000);
break;
}
MainWindow.UpdateTimer(SettingsHandler.GetAutoHandleBool(), SettingsHandler.GetAutoHandleTime());
}
private void ReleaseAlbumTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetReleaseFormatName("Album", ReleaseAlbumTextBox.Text);
}
private void ReleaseEPTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetReleaseFormatName("EP", ReleaseEPTextBox.Text);
}
private void ReleaseLiveTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetReleaseFormatName("Live", ReleaseLiveTextBox.Text);
}
private void ReleaseSingleTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetReleaseFormatName("Single", ReleaseSingleTextBox.Text);
}
private void ReleaseMixtapeTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetReleaseFormatName("Mixtape", ReleaseMixtapeTextBox.Text);
}
private void ReleaseRemixTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetReleaseFormatName("Remix", ReleaseRemixTextBox.Text);
}
private void ReleaseSoundboardTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetReleaseFormatName("Soundboard", ReleaseSoundboardTextBox.Text);
}
private void ReleaseCompilationTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetReleaseFormatName("Compilation", ReleaseCompilationTextBox.Text);
}
private void ReleaseBootlegTextbox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetReleaseFormatName("Bootleg", ReleaseBootlegTextbox.Text);
}
private void ReleaseInterviewTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetReleaseFormatName("Interview", ReleaseInterviewTextBox.Text);
}
private void ReleaseUnknownTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetReleaseFormatName("Unknown", ReleaseUnknownTextBox.Text);
}
private void BitrateVBRTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetBitrateName("VBR", BitrateVBRTextBox.Text);
}
private void BitrateCBRTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetBitrateName("CBR", BitrateCBRTextBox.Text);
}
private void BitrateAPXTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetBitrateName("APX", BitrateAPXTextBox.Text);
}
private void BitrateAPSTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetBitrateName("APS", BitrateAPSTextBox.Text);
}
private void BitrateQ8xTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetBitrateName("q8.x", BitrateQ8xTextBox.Text);
}
private void BitrateLosslessTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetBitrateName("Lossless", BitrateLosslessTextBox.Text);
}
private void Bitrate24bitTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetBitrateName("24bitLossless", Bitrate24bitTextBox.Text);
}
private void MinimizeToTrayCheckbox_CheckedChanged(object sender, EventArgs e)
{
if (MinimizeToTrayCheckbox.Checked)
SettingsHandler.SetMinimizeToTray(true);
else
SettingsHandler.SetMinimizeToTray(false);
}
private void LoneTorrentAsAlbumCheck_CheckedChanged(object sender, EventArgs e)
{
if (LoneTorrentAsAlbumCheck.Checked)
SettingsHandler.SetHandleLoneTsAsAlbums(true);
else
SettingsHandler.SetHandleLoneTsAsAlbums(false);
}
private void TimeFormatComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
switch (TimeFormatComboBox.Text)
{
case "Seconds":
if (AutoCheckTime.Value > 10)
SettingsHandler.SetAutoHandleTime(AutoCheckTime.Value * 1000);
else
SettingsHandler.SetAutoHandleTime(AutoCheckTime.Value * 1000);
break;
case "Minutes":
SettingsHandler.SetAutoHandleTime(AutoCheckTime.Value * 1000 * 60);
break;
case "Hours":
SettingsHandler.SetAutoHandleTime(AutoCheckTime.Value * 1000 * 60 * 60);
break;
default:
SettingsHandler.SetAutoHandleTime(AutoCheckTime.Value * 1000);
break;
}
MainWindow.UpdateTimer(SettingsHandler.GetAutoHandleBool(), SettingsHandler.GetAutoHandleTime());
}
private void TheArtistOptions_SelectedIndexChanged(object sender, EventArgs e)
{
switch (TheArtistOptions.Text)
{
case "Flip (Artist, The)":
SettingsHandler.SetArtistFlip(true);
SettingsHandler.SetDeleteTheFolderNames(false);
break;
case "Remove (Artist)":
SettingsHandler.SetArtistFlip(false);
SettingsHandler.SetDeleteTheFolderNames(true);
break;
default:
SettingsHandler.SetArtistFlip(false);
SettingsHandler.SetDeleteTheFolderNames(false);
break;
}
}
private void TextCaseOptions_SelectedIndexChanged(object sender, EventArgs e)
{
switch (TextCaseOptions.Text)
{
case "Uppercase (CASE)":
SettingsHandler.SetLowercaseAllFolderNames(false);
SettingsHandler.SetUppercaseAllFolderNames(true);
break;
case "Lowercase (case)":
SettingsHandler.SetLowercaseAllFolderNames(true);
SettingsHandler.SetUppercaseAllFolderNames(false);
break;
default:
SettingsHandler.SetLowercaseAllFolderNames(false);
SettingsHandler.SetUppercaseAllFolderNames(false);
break;
}
}
private void MovieSwitchesLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
MovieSwitchesWindow mw = new MovieSwitchesWindow();
mw.Show();
}
private void MovieDownloadFolderTextBox_TextChanged(object sender, EventArgs e)
{
if (!MovieSwitchesTextBox.Text.EndsWith("\\"))
MovieSwitchesTextBox.Text = MovieSwitchesTextBox.Text + "\\";
SettingsHandler.SetMovieDownloadDirectory(MovieDownloadFolderTextBox.Text);
}
private void MovieSwitchesTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetMovieCustomDirectory(MovieSwitchesTextBox.Text);
}
private void OtherDownloadTextBox_TextChanged(object sender, EventArgs e)
{
if (!OtherDownloadTextBox.Text.EndsWith("\\"))
OtherDownloadTextBox.Text = OtherDownloadTextBox.Text + "\\";
SettingsHandler.SetOtherDownloadDirectory(OtherDownloadTextBox.Text);
}
private void VariousArtistsDirectoryTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetVariousArtistsDownloadDirectory(VariousArtistsDirectoryTextBox.Text);
}
private void VariousArtistsSwitchesTextBox_TextChanged(object sender, EventArgs e)
{
SettingsHandler.SetVariousArtistsDownloadSwitches(VariousArtistsSwitchesTextBox.Text);
}
}
}