User Manual

MTX3/MTX5-D/XMV Series/EXi8/EXo8 Remote Control Protocol Specications V1.0.3
29
3. Command Specications
3-27) Current folder information (for list) query
Command Option 1 Option 2 Description
event MTX:AudioPlayerGetCurrentDir "" Queries the current folder information.
Response
Response string Description
OK event MTX:AudioPlayerGetCurrentDir "dirpath=xxxx|dirname=yyyy|
subdirnum=zzzz|lenum=wwww"
Current folder information
OKm event MTX:AudioPlayerGetCurrentDir "sdcard is not inserted" There is no SD memory card inserted.
* OKm is returned if there is no SD memory card inserted.
Details: xxxx = Directory path (index expression)
yyyy = Directory name (name of the folder)
zzzz = The number of sub folders in the current directory
wwww = The number of les in the current directory
Example: Command: event MTX:AudioPlayerGetCurrentDir ""
Notication: OK event MTX:AudioPlayerGetCurrentDir "dirpath=0|dirname=|subdirnum=4|lenum=2"
Meaning: Query the current folder information.
The current folder contains four directories and two les.
3-28) Current folder move (for list) query
Command Option 1 Option 2 Description
event MTX:AudioPlayerSetCurrentDir "dirpath=xxxx" Moves the current folder
Details: xxxx = Directory path (index expression)
Response
Response string Description
OK event MTX:AudioPlayerSetCurrentDir "dirpath=xxxx|dirname=yyyy|
subdirnum=zzzz|lenum=wwww"
Current folder information
OKm event MTX:AudioPlayerSetCurrentDir "sdcard is not inserted" There is no SD memory card inserted.
* OKm is returned if there is no SD memory card inserted.
Details: xxxx = Directory path (index expression)
yyyy = Directory name (name of the folder)
zzzz = The number of sub folders in the current directory
wwww = The number of les in the current directory
Example: Command: event MTX:AudioPlayerSetCurrentDir "dirpath=0/1"
Notication: OK event MTX:AudioPlayerSetCurrentDir "dirpath=0/1|dirname=songs|subdirnum=0|lenum=3"
Meaning: Make the 0/1 (index expression) directory the current directory.
The 0/1 (index expression) directory was made the current directory. This folder contains no sub
directories and three les.
* "0/1" expresses the root folder number/sub folder number (the root folder number is always xed at 0).
3-29) Folder name query
Command Option 1 Option 2 Description
event MTX:AudioPlayerGetDirName "dirindex=xxxx" Folder name query
Details: xxxx = Index number
Response
Response string Description
OK event MTX:AudioPlayerGetDirName "dirname=xxxx" Folder name
OKm event MTX:AudioPlayerGetDirName "sdcard is not inserted" There is no SD memory card inserted.
* OKm is returned if there is no SD memory card inserted.
Details: xxxx = Folder name
Example: Command: event MTX:AudioPlayerGetDirName "dirindex=1"
Notication: OK event MTX:AudioPlayerGetDirName "dirname=songs"
Meaning: Query the directory name of 1 (index expression).
The directory name is "songs".