ISDBFileSystem::CorrectFilename: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
 
Line 8: Line 8:
===Method description===
===Method description===


Changes characters of filename as defined by character mapping in MM (e.g. removes incorrect character). Returns the fixed filename.
Changes characters of filename as defined by character mapping in MediaMonkey (e.g. removes incorrect character). Returns the fixed filename.
 
The mappings are defined in 'FilenameMappings' section of MediaMonkey.ini file, so they are configurable. By default they resolve character mappings like ':', '*' or '?'.


[[Category:Scripting|{{PAGENAME}}]]
[[Category:Scripting|{{PAGENAME}}]]

Latest revision as of 12:35, 28 January 2008

CoClass SDBFileSystem, Interface ISDBFileSystem

Function CorrectFilename(Filename As String) As String


Parameters

Name Type Description
Filename String Filename to be modified.


Method description

Changes characters of filename as defined by character mapping in MediaMonkey (e.g. removes incorrect character). Returns the fixed filename.

The mappings are defined in 'FilenameMappings' section of MediaMonkey.ini file, so they are configurable. By default they resolve character mappings like ':', '*' or '?'.