YI Open API provides mobile SDKs and reference designs for software developers and hardware makers to build cool apps and products with YI 4K Action Cameras
Other
346
stars
77
forks
source link
The regular expression in GetFileListCommand is incorrect #66
The Regular Expression seems to be incorrect and is cause for the getFileList not working and always return empty set.
final class GetFileListCommand extends ActionCameraCommand { private static Pattern fileSizeAndTimePattern = Pattern.compile("^(\d+) bytes\|(\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d)$");
Should be ""^(\d+) bytes|(\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d)$"