Read the statement by Michael Teeuw here.
Custom video module need help debugging
-
I wrote a module to display a random video based on the successful evaluation of the FacialRecognition module… It executes without any obvious errors but only the following output appears on the mirror.
// helloworld
//module_0_helloworldI modified the hellowworld module as follows
Module.register("helloworld",{ #!/usr/bin/env python import os, random def rndvid (): randomfile = random.choice(os.listdir("/home/pi/Videos")) file = ' /home/pi/Videos/'+ randomfile os.system ('omxplayer' + file) rndvid () }});
I would love som help
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login