These python scripts are used to make the Desktop Simpsons TV work.
You can find a complete build guide here
encode.py will search for files in subfolders. you have to change the directory where to save the encoded files.
encode.py: destinationDirectory = "E:\Downloads\encoded" <-- change this to your directory