get the source
find "_FileListToArray" in sorce, and on the next line replace " 1" with "< 1"
_FileListToArray($sPath [, $sFilter = "*" [, $iFlag = 0]])
$sPath Path to generate filelist for.
$sFilter [optional] the filter to use, default is *.
$iFlag [optional] specifies whether to return files folders or both
$iFlag=0(Default) Return both files and folders
$iFlag=1 Return files only
$iFlag=2 Return Folders only
Return Value
Success: an Array, see remarks
Failure: 0
@[member='error']: 1 = Path not found or invalid
2 = Invalid $sFilter
3 = Invalid $iFlag
4 = No File(s) Found
Remarks
The array returned is one-dimensional and is made up as follows:
$array[0] = Number of Files\Folders returned
$array[1] = 1st File\Folder
$array[2] = 2nd File\Folder
$array[3] = 3rd File\Folder
$array[n] = nth File\Folder
I want to use this to see exactly how well it works but with any version I try I get this error:
if @[member='error']=1 then $FileListRead is not an array.if @[member='error']>=1 then $FileListRead is not an array.
I see that if a cover is missing from your language, it will download it from another language if available...
Any way of having an option to download only covers from the region that you select?
$RegionCount = GUICtrlRead($RegionCountInput)
For $NewL = 0 To $RegionCount
Case $RegionCountInputPlus
$CNowRegion = GUICtrlRead($RegionCountInput)
For $i = 0 To 10
If $i = $CNowRegion And $CNowRegion < 10 Then GUICtrlSetData($RegionCountInput, $i + 1)
Next
IniWrite($ConfigINI, "Conf", "Preferred Region Count", GUICtrlRead($RegionCountInput))
Case $RegionCountInputMinus
$CNowRegion = GUICtrlRead($RegionCountInput)
For $i = 0 To 10
If $i = $CNowRegion And $CNowRegion > 0 Then GUICtrlSetData($RegionCountInput, $i - 1)
Next
IniWrite($ConfigINI, "Conf", "Preferred Region Count", GUICtrlRead($RegionCountInput))
GUICtrlCreateLabel("Region Count", 10, 225, 125, 20, $SS_CENTERIMAGE + $SS_CENTER)
$RegionCountInputMinus = GUICtrlCreateButton("", 115, 245, 20, 25)
$LangOption = GUICtrlCreateListView('', 10, 20, 125, 200)