File System Commands Group allows to connect/disconnect removable devices. For example, “FORMATDISK” can be executed to set format the internal USB device as FAT32, or “GETDISKFORMATSTATE” can be executed to get format state of internal USB device. These commands can be seen below with their definitions, parameters and returns.
Commands | Definition | Parameters | Return |
MP3PLAY | Play MP3 audio file. | string-integer n Example: MP3PLAY /mnt/hd0a/audio.mp3 | #*Playing audio : n |
MP3STOP | Stop MP3 audio file. | no parameter | #*select DISPLAY source #*MP3 File Stop |
MP3GETPLAYING | Returns playing audio file. | no parameter | #*Playing /mnt/hd0a/audio.mp3 |
VIDEOPLAY | Play Video file. | string-integer n Example: VIDEOPLAY /mnt/hd0a/video.mkv | #*Playing video : n |
VIDEOSTOP | Stop Video file. | no parameter | #*select DISPLAY source #*Video File Stop |
VIDEOGETPLAYING | Returns playing video file. | no parameter | #*Playing /mnt/hd0a/video.mkv |
IMGSHOW | Show image file. | string-integer n Example: IMGSHOW /mnt/hd0a/picture.jpg | #*Playing video : n |
IMGHIDE | Hide image file. | no parameter | #*select DISPLAY source #*Video File Stop |
IMAGEGETSHOWN | Returns shown image file. | no parameter | #*Showing /mnt/hd0a/picture.jpg |
GETDISKFORMATSTATE | Get format state of internal USB disk | no parameter | #*the disk is formatted. or #*the disk is not formatted. or #*No Internal USB is found. |
FORMATDISK | Format the internal USB disk as FAT32 | no parameter | #*formatting is succesful. or #*error while formatting. or #*No Internal USB is found. |
COPYCACHEFROMUSB | Copy app cache folder named “Application Cache” from root of the last mounted USB. | no parameter | #*Error while copying Application Cache #*Removable device not found! |
Table 1: File system commands