Using the playercorefactory.xml we can define a new player that runs a python 3 script i wrote called pilfer to record videos and audio from within Kodi or on the command line Kodi is a media center that use's a file called the playercorefactory.xml to define external video and audio players