Debug name of function key player

the same name was used twice with different number of parameters
Merge remote-tracking branch 'upstream/master'
Using is_file instead of  realpath.
Using is_file instead of  realpath.