View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0019094 | MMW 5 | Extensions framework | public | 2022-05-21 07:17 | 2022-08-31 00:10 |
| Reporter | zvezdan | Assigned To | |||
| Priority | high | Severity | minor | Reproducibility | N/A |
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 5.0.4 | ||||
| Summary | 0019094: drivetype property of filesystem should return the same numeric values as they are in the Medias table | ||||
| Description | I have several add-ons that relies on that value, but now it shows "drive" and "optical_drive" instead of these numerical values found in Medias table. You know, the same value that was returned by MediaType property of FileSystemObject. | ||||
| Tags | No tags attached. | ||||
| Fixed in build | 2650 | ||||
|
|
I suppose you are referring the return value of this : https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getdrivetypea e.g. DRIVE_FIXED == 3 ? Added it as new mediaType integer property of the drive and documented. => added in 5.0.4.2650 |
|
|
Yes, exactly. That was the last thing preventing me to finish the new add-on. It manipulates with Medias table and I need to know the exact type of files. I just need to ask. Your drive object obtained by getDriveList() already has the driveType property which returns only two values: 'drive' and 'optical_drive'. I hope that the new integer property supports values for all drives, including removable (2) and mapped network drives (4). |
|
|
Verified 2661 Drive type is integer |