This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hi, i'm currently testing the videolooper script on a raspberry pi 4, i made it work without too much issues, but i want to modify the main script to simply add a a blinking led while its working. I'm using v2.6 image provided here, and by default, all the script files are located at this directory:
/home/pi/pi_video_looper/Adafruit_Video_Looper
Inside this directory there are multiple python files, the one i'm working on is called video_looper.py.
For some reason that i don't understand, whatever change i make to any of these files doesn't seem to affect the program that runs at startup, it seems like its running from somewhere else and not this directory.
There's also a configuration file named video_looper.conf to make it run at startup located at:
/etc/supervisor/conf.d
This conf file contains this:
[program:video_looper]
command=python3 -u -m Adafruit_Video_Looper.video_looper
autostart=true
autorestart=unexpected
startsecs=5
From this file i don't understand what this line means:
command=python3 -u -m Adafruit_Video_Looper.video_looper
if i modify it to point to the directory where my modified files are, like this:
command=python3 -u -m /home/pi/pi_video_looper/Adafruit_Video_Looper.video_looper
this doesn't seem to work, does anyone know what i'm doing wrong here?
Edit: htop also doesn't explicitly tells me which python file is running
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/raspberry_p...