View Issue Details

IDProjectCategoryView StatusLast Update
0019103MediaMonkey 5Extensions frameworkpublic2022-05-27 15:50
Reporterzvezdan Assigned To 
PrioritynoneSeverityminorReproducibilityN/A
Status resolvedResolutionno change required 
Summary0019103: renameFiles method should support moving any file or a list of any files, not only media files
DescriptionThe renameFiles method should support moving of any file(s), not only media files in a tracklist.

When trying to copy a file by specifying its path as the first argument, the program freezes with:
"Invalid class typecast."
TagsNo tags attached.
Fixed in build

Activities

Ludek

2022-05-27 15:19

developer   ~0068295

Feel free to use renameFileAsync : https://www.mediamonkey.com/docs/api/classes/Filesystem.html#method_renameFileAsync

zvezdan

2022-05-27 15:50

updater   ~0068296

Sure, I am already using it, but renameFiles allows bulk moving of files and it has the additional parameters as canRemoveEmptyFolders. I know you will say that I could use deleteFolderAsync with its third argument if I want to delete only folders that are empty, but it is not the same.

How is that you don't have Async variant of that command?